Repository navigation
verify: Document GPG environment variable in help synopsis - #78
Mahajan-Sachin wants to merge 1 commit into
Conversation
|
One could argue that keys should be trusted by everyone once committed to the main branch, but I'm not sure we want to add automatic importing. Feels safer to keep it a conscious action performed by the user. Keeping it that way might also catch invalid keys that the user expected to work. Curious to hear what other people think. Thanks for adding |
|
Thanks for the review and the thoughtful point, @hodlinator! That makes total sense from a security and key-management perspective — avoiding implicit modifications to the user's local GPG keyring is a very valid concern. If we prefer not to auto-import by default, here are two alternative approaches we could take:
Happy to update the PR based on what you and others think is the cleanest approach! |
Isn't this what we do on the main branch already? |
|
Ah, you're completely right! I double-checked Since keeping key imports explicit is preferred and the hint is already handling the UX, I'm happy to simplify this PR to just document the Let me know if you'd like me to update the branch accordingly! |
Sounds good to me. 👍 |
32349f1 to
b12896e
Compare
|
@hodlinator Updated! The PR has been simplified to solely document the |
There was a problem hiding this comment.
Please update the PR description to match the current state.
|
@hodlinator Done! Updated the PR description. Thanks for the review and ACK! |
Document the
GPGenvironment variable in the usage synopsis and environment variables list ofasmap-verifyso users know the GPG binary path can be overridden.