Repository navigation
Update cargo dependencies - #1154
Merged
Merged
Conversation
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:
0.1.0-rc.12→0.1.0-rc.130.2.2→0.2.30.2.2→0.2.3Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Slurp9187/odf-crypto (odf-crypto)
v0.1.0-rc.13Compare Source
Changed
A decrypt refusal carries no text from the file (#105). Breaking:
DecryptError::BadParameters(String)is nowDecryptError::BadParameters(BadParameter).BadParameternames the setting(
ManifestField), the value the file declares and the range allowed, and whoserule that range is:
OutOfRange(this crate's limits, or a floor the formatsets),
CipherRejects(argon2's or a cipher's own requirement, naming thePrimitive),KeySizeForCipher,Member(MemberFault)andNoMember { row }.Every payload is an enum or an integer, and every
Displayrenders only those,so a caller can match on it and write its own sentence from the numbers.
Requested by encrypted-file-vault, which quoted the old string through its own
sanitizer.
manifest:full-pathreached the error unbounded. A rownaming no zip member was reported as
row path "…" has no zip member, withthe path up to the 8 MiB manifest cap, and the CLI printed it to stderr. The
row is now named by its index among
Classification::encrypted_entries.m >= 8pand a saltof at least 8 bytes are now checked before
argon2::Params::new, so the KDFnever starts on a tuple it cannot run, and the refusal is
CipherRejects.The salt length was not screened before at all. Any other
argon2::Errorismatched by name into
Internal, never formatted.is
OutOfRangeagainstDecryptLimits::argon2_max_p, orCipherRejectsagainst argon2's
MAX_P_COST, whichever is tighter. A negative manifest valuekeeps its sign in
got.#[non_exhaustive]:BadParametersforInternal, so the CLI exits 5,not 6. These are: the derived-key length guard in
derive_key; an AES-GCM,AES-CBC or Blowfish key or IV that
screen_shapealready passed; an AES-GCMmember reaching the checksum path; a wholesome classification without its
encrypted-packagerow (classifyalways pushes it); and the manifestmember
classifyread going missing.usizeisHostCannotAllocate { site: PackagePlaintext }, a limit of the host, so theCLI exits 7, not 6.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.