Repository navigation
feat(deps): update filosottile/age to v1.4.0 - #3087
Merged
Merged
Conversation
| datasource | package | from | to | | --------------- | --------------- | ------ | ------ | | github-releases | FiloSottile/age | v1.3.2 | v1.4.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.3.2→v1.4.0Release Notes
FiloSottile/age
v1.4.0: age v1.4.0: post-quantum by defaultCompare Source
age's job is to keep your files confidential for a long time in the future. Due to recent updates to quantum cryptanalysis timelines, we don't believe age's original X25519-based keys are up to that job anymore, and you need to take action.
Your files encrypted with legacy keys could become retroactively decryptable in the future, sooner than most of us anticipated. You need to generate new post-quantum keys, and you need to re-encrypt files that were encrypted with legacy non-PQ keys.
age-keygennow defaults to post-quantum keys.agenow warns on any use of legacy non-PQ keys.See age and post-quantum cryptography for more details.
New stanzas for hardware plugin recipients
Encrypting to
age1tag1...andage1tagpq1...recipients now produces the newp256tagv2andmlkem768p256tagv2stanzas. The tag in the previous stanzas made it possible to link files encrypted to the same recipient by brute-forcing 2³² values, without knowledge of the recipient.Hardware plugins need to be updated to decrypt files encrypted with this version.
The new Recipient.TagV2 method computes the new tag for plugin implementations, and C2SP has the specification.
Go API deprecations
Functions that generate legacy keys, or that parse legacy recipients, are now deprecated: GenerateX25519Identity, ParseX25519Recipient, ParseRecipients, agessh.ParseRecipient, agessh.NewEd25519Recipient, agessh.NewRSARecipient, tag.ParseRecipient, tag.NewClassicRecipient, and plugin.EncodeX25519Recipient.
The new ParsePostQuantumRecipients and tag.ParseHybridRecipient only support post-quantum recipients.
Note that Go deprecations are surfaced by IDEs and linters but don't stop you from using deprecated functions.
ScryptRecipient now returns the
postquantumlabel, and the agessh recipients have String methods.age-inspect
age-inspect(1) now recognizes the recipient types of more plugins, and ignores the random stanzas that rage adds to every file, which made them all report "unknown".
Fixes and hardening
The armor reader no longer buffers a line of unbounded length before rejecting it (#756).
Encrypt now refuses to write headers with more than 1024 recipients, which could never be decrypted (#767).
age(1) now refuses to write to the same file it is reading from standard input (#766).
Control characters in plugin messages and errors are now replaced before being printed to the terminal (#769).
Decryption now makes no allocations per chunk (#753).
Configuration
📅 Schedule: (in timezone Australia/Melbourne)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.