-
Notifications
You must be signed in to change notification settings - Fork 117
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
Cannot specify subkey when signing #287
Comments
To reproduce, feel free to use this example test key:
This can be done via the CLI with:
|
Hi 👋 GopenPGP currently does not support the specific selection of signing sub-keys and relies on the automatic selection process of the underlying forked go-crypto library. Nevertheless, go-crypto does support this feature via the config. If you need this feature, I would suggest to either use the lower-level library or create a pull request for GopenPGP. |
🤦🏻 Skipped right over that. I must have looked at packet.Config at least half a dozen times and it never mentally parsed. Thanks! |
I have a private key with both an ED25519 (256-bit EdDSA, that is) subkey and a 4096-bit RSA subkey.
I see no possible way to specify signing with the ED25519 key, the library just
takes the first subkey capable of signinguses the RSA subkey (it seems even if the ED25519 subkey is the first subkey, it still occurs).How can I specify an explicit subkey to use with a PGPHandle/PGPSign?
The text was updated successfully, but these errors were encountered: