Compare commits

...

2 Commits

Author SHA1 Message Date
james 8c86cab372 fix 2026-06-29 02:00:08 +02:00
james 200f9be97b Patch to fix ed25519 in PIV slot. 2026-06-29 00:45:21 +02:00
+6 -3
View File
@@ -565,9 +565,12 @@ impl Key {
}; };
if !buf.is_empty() { if !buf.is_empty() {
let cert = Certificate::from_bytes(buf)?; match Certificate::from_bytes(buf) {
keys.push(Key { slot, cert }); Ok(cert) => keys.push(Key { slot, cert }),
} Err(Error::InvalidObject) => {} // skip slots we can't parse (e.g. Ed25519)
Err(other) => return Err(other),
}
}
} }
Ok(keys) Ok(keys)