I'm having trouble decrypting a file originally encrypted using an SSH identity #428
voltagex
started this conversation in
UX reports
Replies: 2 comments 7 replies
-
It's not user error, but a surprising issue in golang.org/x/crypto/ssh that we don't work around yet. age is failing to use Ed25519 SSH keys that are encoded as PKCS#8. See golang/go#51974. I'll get a fix out ASAP, in the meantime you can convert it to the default OpenSSH format, which should work. Sorry about this!
|
Beta Was this translation helpful? Give feedback.
5 replies
-
I see that a fix was pushed in #429 to support decrypting files using Ed25519 SSH private key that starts in "BEGIN PRIVATE KEY" but that fails well. Here's what I am seeing:
Could you advise, @FiloSottile? Thank you! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is likely to be user error - I haven't used age in... ages.
A file was created with
age -R ~/.ssh/id_age.pub < file
(with v1.0.0) on LinuxI'm trying to decrypt the file on Windows - don't I need to hand it the private key?
Beta Was this translation helpful? Give feedback.
All reactions