Skip to main content

KeychainAttestor

Struct KeychainAttestor 

Source
pub struct KeychainAttestor { /* private fields */ }
Expand description

Linux Secret Service backend skeleton. Unimplemented in v0.

Implementations§

Source§

impl KeychainAttestor

Source

pub fn open(_key_id: impl Into<String>) -> Self

Look up the cortex-identity key via D-Bus Secret Service. Unimplemented in v0. TODO(T-3.D.5/6).

Source

pub fn key_id(&self) -> &str

key_id getter.

Trait Implementations§

Source§

impl Attestor for KeychainAttestor

Available on Linux only.
Source§

fn sign(&self, _signing_input: &[u8]) -> Signature

Sign the canonical signing input bytes. Read more
Source§

fn key_id(&self) -> &str

Stable fingerprint of the public verifying key. Embedded into every attestation preimage and matched on verify (see VerifyError::KeyIdMismatch).
Source§

fn verifying_key(&self) -> VerifyingKey

The verifying key for this attestor — exposed so test harnesses and cortex audit verify can reconstruct the public side without going through OS-specific lookup. OS-keychain backends MUST publish the public key alongside the private key (see ADR 0010 §3).
Source§

impl Debug for KeychainAttestor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V