You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5b9f4bd
Browse filesBrowse the repository at this point in the historyBrowse files
fix(encrypt)!: address review of the owned scalar API
- Rename the structural entry points encrypt_node / decrypt_node to
encrypt_tree / decrypt_tree.
- Rename the sealed Scalar trait to OpaqueEncode / OpaqueDecode, the
names the API plan accepted. Both stay sealed.
- Rename Ciphertext::tag to key_tag, so it cannot be read as the AEAD tag.
- Give Ciphertext Serde: padded Base64 in human-readable formats, raw
bytes in binary ones.
- Report a non-single tree as Error::OpenedType, not Error::Aead
(ADR-0010).
- Restore NonEmpty on the shared encrypt/open core. The scalar path
reaches the core through its own entry that allows empty context, and
ADR-0003 records the exception.
- Open bytes written by the pre-scalar build through Ciphertext.
- Kill the three mutants CI missed. The NoCallerContext conversion is
equivalent and is excluded.
- Add the CHANGELOG Breaking entries and drop roadmap prose from rustdoc.
Copy file name to clipboardExpand all lines: .cargo/mutants.toml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,9 @@ exclude_re = [
81
81
'stack-encrypt/src/sem/mod\.rs:\d+:\d+: replace <impl MatchConfig for DefaultMatch>::options -> MatchOptions with Default::default\(\)$',
82
82
# Both unit-context conversions explicitly return Self::default().
83
83
'stack-encrypt/src/target/context\.rs:\d+:\d+: replace <impl From<\(\)> for (DeclaredContext|ExpectedContext<T>)>::from -> Self with Default::default\(\)$',
84
+
# A caller-free declaration adds nothing to the declared context: the
85
+
# conversion returns Self::default().
86
+
'stack-encrypt/src/target/input\.rs:\d+:\d+: replace <impl From<NoCallerContext> for super::DeclaredContext>::from -> Self with Default::default\(\)$',
84
87
# The resolver of a build without EQL types holds none: its `targets` IS
85
88
# the empty list (`dynamic::target::NoTargets`), which a test asserts on
86
89
# and `resolve` turns into `TargetError::NoTargets`; `vec![]` is the body.
0 commit comments