Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted Projects with Libraries #380

Closed
DerekMelchin opened this issue Nov 15, 2023 · 0 comments · Fixed by #383
Closed

Encrypted Projects with Libraries #380

DerekMelchin opened this issue Nov 15, 2023 · 0 comments · Fixed by #383
Labels
bug Something isn't working

Comments

@DerekMelchin
Copy link
Contributor

In the Cloud Platform docs, we say

Encrypted projects can use libraries encrypted with the same project key or unencrypted libraries. However, you cannot use a library encrypted with a different project encryption key.

yet this rule isn't enforced with the CLI

D:\qc\workspaces\quantconnect>lean project-create "Library/MyEncryptLibrary"
Successfully created Python project 'Library/MyEncryptLibrary'

D:\qc\workspaces\quantconnect>lean encrypt "Library/MyEncryptLibrary" --key "C:\Users\derek\Desktop\encryption-file2.txt"
Local files encrypted successfully with key C:\Users\derek\Desktop\encryption-file2.txt

D:\qc\workspaces\quantconnect>lean project-create "EncryptTest3"
Successfully created Python project 'EncryptTest3'

D:\qc\workspaces\quantconnect>lean encrypt "EncryptTest3" --key "C:\Users\derek\Desktop\encryption-file.txt"
Local files encrypted successfully with key C:\Users\derek\Desktop\encryption-file.txt

D:\qc\workspaces\quantconnect>lean library add "EncryptTest3" "Library/MyEncryptLibrary"
Adding Lean CLI library D:\qc\workspaces\quantconnect\Library\MyEncryptLibrary to project D:\qc\workspaces\quantconnect\EncryptTest3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants