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

Properly handle pgp keychains generated by Scala CLI #1987

Conversation

MaciejG604
Copy link
Contributor

@MaciejG604 MaciejG604 commented Mar 31, 2023

It is illogical to encrypt the private key (it's actually a keychain) with a password just to keep them together in the same config file. We should require explicitly setting a password or explicitly opting for none or random (although random is the least useful if you think about it, maybe for CI).

The only possible problem with my solution is that this introduces some new option values (random and none), that the user would need to know how to use.

@MaciejG604 MaciejG604 force-pushed the properly-handle-pgp-keychains-continuation branch 2 times, most recently from 65c89c9 to 68a05fd Compare April 3, 2023 07:01
@MaciejG604 MaciejG604 changed the title Properly handle pgp keychains continuation Properly handle pgp keychains generated by Scala CLI Apr 3, 2023
@MaciejG604 MaciejG604 marked this pull request as ready for review April 3, 2023 07:02
@MaciejG604 MaciejG604 force-pushed the properly-handle-pgp-keychains-continuation branch 2 times, most recently from f436ae0 to ce80ff9 Compare April 3, 2023 11:31
@MaciejG604 MaciejG604 force-pushed the properly-handle-pgp-keychains-continuation branch 3 times, most recently from c4106d8 to fbc4a95 Compare April 4, 2023 07:25
@MaciejG604 MaciejG604 force-pushed the properly-handle-pgp-keychains-continuation branch from fbc4a95 to a0570a0 Compare April 4, 2023 10:00
@MaciejG604 MaciejG604 requested a review from Gedochao April 5, 2023 08:11
@MaciejG604 MaciejG604 merged commit bcc68de into VirtusLab:main Apr 5, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants