pub struct PubkeyEntry {
pub fingerprint: String,
pub pubkey: VerifyingKey,
pub label: Option<String>,
pub created_at: i64,
pub last_used_at: Option<i64>,
pub algorithm: KeyAlgorithm,
pub pq_pubkey: Option<Vec<u8>>,
}Expand description
A pubkey entry associated with a user (like GitHub SSH keys).
Fields§
§fingerprint: StringBase64url SHA-256 fingerprint of the pubkey bytes.
pubkey: VerifyingKeyThe actual Ed25519 public key.
label: Option<String>User-provided label (e.g., “laptop”, “work”).
created_at: i64Unix timestamp when the key was added.
last_used_at: Option<i64>Unix timestamp when the key was last used for auth, or None if never.
algorithm: KeyAlgorithmAlgorithm tag (#439). Defaults to KeyAlgorithm::Ed25519 for records
written before the tag existed.
pq_pubkey: Option<Vec<u8>>Bound ML-DSA-65 verifying key bytes (~1952B) for a
KeyAlgorithm::HybridEd25519MlDsa65 record; None for classical
Ed25519. Kid-anchored to fingerprint (the Ed25519 anchor); resolved
by the challenge verifier, never carried in a login request. The
algorithm.is_hybrid() ⇔ pq_pubkey.is_some() invariant is enforced at
store read/write.
Trait Implementations§
Source§impl Clone for PubkeyEntry
impl Clone for PubkeyEntry
Source§fn clone(&self) -> PubkeyEntry
fn clone(&self) -> PubkeyEntry
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 PubkeyEntry
impl Debug for PubkeyEntry
Source§impl From<&PubkeyEntry> for PubkeyInfo
impl From<&PubkeyEntry> for PubkeyInfo
Source§fn from(entry: &PubkeyEntry) -> Self
fn from(entry: &PubkeyEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PubkeyEntry
impl RefUnwindSafe for PubkeyEntry
impl Send for PubkeyEntry
impl Sync for PubkeyEntry
impl Unpin for PubkeyEntry
impl UnsafeUnpin for PubkeyEntry
impl UnwindSafe for PubkeyEntry
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<T> JaggedSlice<T> for T
impl<T> JaggedSlice<T> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more