Skip to content

v0.3.0

Latest

Choose a tag to compare

@remko remko released this 01 Dec 19:10
· 7 commits to main since this release
  • Add support for p256tagv2 and mlkem768p256tagv2 stanzas, as produced
    by age >= v1.4.0 and rage >= 0.13.0 for tag recipients. The plugin now
    only produces v2 stanzas for tag recipients; files with legacy p256tag
    and mlkem768p256tag stanzas can still be decrypted.
  • Fix encrypting to an identity (age -e -i key.txt): this now uses
    mlkem768p256tagv2 for post-quantum identities, and p256tagv2 for other
    identities, instead of always using piv-p256.
  • Fix --pq being ignored by the recipients command.
  • Reject non-canonical base64 in stanza tags and shares.
  • Fix building with older Swift versions.

Security note for users of post-quantum keys (keygen --pq): in v0.2.0 and
v0.2.1, encrypting to an identity (age -e -i) used the non-post-quantum
piv-p256 stanza, and recipients --pq returned a non-post-quantum
recipient. Files encrypted this way are not protected against quantum
computers, and upgrading does not change existing files. Re-encrypt them, and
replace any recipients obtained with recipients --pq. Recipients starting
with age1tagpq1 were not affected.

Files encrypted to an identity or a tag recipient with this version need
v0.3.0 or later to decrypt.

Full Changelog: v0.2.1...v0.3.0