diff options
| author | tv <tv@krebsco.de> | 2026-11-07 22:35:21 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-07 22:35:21 +0100 |
| commit | 42698f42eec18d24a7378fcbe1ede73add902b71 (patch) | |
| tree | 5fff4e139d56ae9e30daace4dad8c731fbffa5f1 /src/access/sshsig.rs | |
| parent | 64b7b2a0a94bfe92be84219c195e6335609a23e3 (diff) | |
access: values sealed for their readers
cs1.<age file>: a value encrypted with age to its readers' SSH keys,
which no node decrypts. _continuum/access/sealed declares paths whose
values must be sealed, for named readers or anyone; nodes check the
recipients by age's key tags, at the API and on receipt.
Auth plan M8, reworked: sealed values instead of containers, readers
as users only (nodes hold no keys).
Diffstat (limited to 'src/access/sshsig.rs')
| -rw-r--r-- | src/access/sshsig.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/access/sshsig.rs b/src/access/sshsig.rs index b40da0d..6091528 100644 --- a/src/access/sshsig.rs +++ b/src/access/sshsig.rs @@ -53,7 +53,7 @@ impl PublicKey { Ok(PublicKey(key)) } - fn blob(&self) -> Vec<u8> { + pub(crate) fn blob(&self) -> Vec<u8> { let mut blob = Vec::new(); string(&mut blob, KEY_TYPE.as_bytes()); string(&mut blob, &self.0); |
