Skip to content

GPG Key path #3272

Answered by dbnicholson
bhaijiyunus asked this question in Q&A
Jul 1, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Sorry, I meant to reply to this initially. You can definitely put the keyring directly on disk. The import options are just helpers to serialize keys to the appropriate locations. At Endless we've been putting our main keyring in trusted.gpg.d for years.

Unlike when importing, I'm pretty sure the on disk keyring needs to be unarmored. I.e., a raw stream of PGP packets. If you want to scope the keys to a particular remote, the path convention is $repo_path/$remote_name.trusted.gpg.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dbnicholson
Comment options

Answer selected by dbnicholson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants