pub struct RevokedEntry {
pub host_pattern: String,
pub fingerprint: String,
}Expand description
One @revoked line: a specific key fingerprint blocklisted for the
matching host pattern.
The Anvil shorthand uses the SHA256:... fingerprint form rather
than the full OpenSSH pubkey blob — this matches the rest of the
known_hosts file’s existing convention. OpenSSH’s full
pubkey-blob form (@revoked host algorithm AAAA...) is documented
as a follow-up if users ask.
Fields§
§host_pattern: StringRaw glob pattern. * to revoke unconditionally.
fingerprint: StringFingerprint string, e.g. SHA256:uNiVztksCs.... Compared
case-sensitively against the presented key’s fingerprint.
Trait Implementations§
Source§impl Clone for RevokedEntry
impl Clone for RevokedEntry
Source§fn clone(&self) -> RevokedEntry
fn clone(&self) -> RevokedEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevokedEntry
impl Debug for RevokedEntry
Source§impl PartialEq for RevokedEntry
impl PartialEq for RevokedEntry
Source§fn eq(&self, other: &RevokedEntry) -> bool
fn eq(&self, other: &RevokedEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RevokedEntry
impl StructuralPartialEq for RevokedEntry
Auto Trait Implementations§
impl Freeze for RevokedEntry
impl RefUnwindSafe for RevokedEntry
impl Send for RevokedEntry
impl Sync for RevokedEntry
impl Unpin for RevokedEntry
impl UnsafeUnpin for RevokedEntry
impl UnwindSafe for RevokedEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more