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

Specify signing subkey #129

Open
jasonaowen opened this issue Nov 15, 2024 · 0 comments
Open

Specify signing subkey #129

jasonaowen opened this issue Nov 15, 2024 · 0 comments

Comments

@jasonaowen
Copy link

On keys with multiple signing subkeys, is there a way to tell vim-gnupg which to sign with?

gpg allows for selecting this with --local-user <subkeyfingerprint>!:

   --local-user name
   -u     Use name as the key to sign with. Note that this option overrides --default-key.

When using gpg an exclamation mark (!) may be appended to force using the specified primary or secondary key and not to try and calculate which primary or secondary key to use.

The exclamation mark syntax works for encryption in vim-gnupg when encrypting to a recipient with multiple encryption subkeys, but I can't tell how to select which subkey to sign with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant