Decrypt not working with my setup #218
Replies: 7 comments
-
Yeah unfortunately SSH keys are only supported when available as a file. It's technically impossible to support them through the standard ssh-agent protocol. It might technically be possible to bypass the ssh-agent and use gpg-agent to do a decryption with the authentication key, if the OpenPGP applet allows that. However, we'd rather make the YubiKey plugin work very well and recommend using that rather than SSH keys for YubiKey compatibility. |
Beta Was this translation helpful? Give feedback.
-
Is the yubikey plugin working and ready to use? Or is that still in development? |
Beta Was this translation helpful? Give feedback.
-
Still in development but the spec should be close to done.
|
Beta Was this translation helpful? Give feedback.
-
@FiloSottile does this imply the YubiKey plugin will require a hardware key? This is the only usability feature that's stopping me from completely moving away from gpg. |
Beta Was this translation helpful? Give feedback.
-
Not as part of the YubiKey plugin, but we are thinking about encrypted keys and agents plugins. The plugin protocol is designed specifically with that in mind. |
Beta Was this translation helpful? Give feedback.
-
Is there an issue we could follow? I periodically check the README of age for this line:
Until that is fixed, I have to naturally use GPG, because I'm not storing my private keys as a file to decrypt stuff. Btw, it would be handy to mention that this is being worked on, and it's not impossible in practice. |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Environment
What were you trying to do
I tried to decrypt a previously encrypted txt file.
What happened
An error was displayed: Error: no identity matched any of the recipients
More Details
I might explain my setup which may be the issue itself:
For encryption I derived the ssh public key from my pgp key (RSA4096) which is located on my YubiKey 5, hence I do not have a private key file on the file system as the doc suggests.
I read that ssh-agent is not supported, however I am running gpg-agent, which also may not be supported. I just thought I would have a use case here.
Could be related to #137
Beta Was this translation helpful? Give feedback.
All reactions