Comments about the age format document #301
Replies: 2 comments
-
Following up on this, the age specification has now been written (the document this discussion refers to was really a design document, not a specification). The previous URL now points to the specification, which can also be reached at https://c2sp.org/age. |
Beta Was this translation helpful? Give feedback.
-
Hi! Happy to see implementations of age in other languages, and thank you for the spec feedback. As @str4d mentioned, most of the issues are addressed by the new spec at https://c2sp.org/age. It covers only the format, while the CLI documentation lives in the man page now. Have a look and let us know what you think. The SSH methods are not specified in that document, I'll put together a separate document for them. Generally, I don't want Note that |
Beta Was this translation helpful? Give feedback.
-
I'm currently writing an age implementation in Zig, and have encountered a couple issues with the format document at https://age-encryption.org/v1. Keep in mind I'm not a cryptographer, and I'm only doing this because I have a burning hatred for gpg.
encrypt
operation acts as an AEAD, and thus the result iscyphertext || tag
. I'm not sure of any other implementation that doesn't append the tag, other than Zig). I had to go look at the Go implementation to check this myself. I think it would be better to explicitly note this with wording likechachaSeal[key, nonce](plaintext)
.ssh-ed25519
documentation is confusing and incorrect. Reading it as is, the steps for wrapping a file key are:Overall I have some ideas for improvements:
age-encryption.org/version/cmd
or something.github:
andalias:
on the command line). Since the reference implementation explicitly errors out when you do this, I think it's safe to remove. Better to add that information to the manpage IMO.Beta Was this translation helpful? Give feedback.
All reactions