pub enum Signer {
Ssh {
program: String,
key: PathBuf,
_literal: Option<NamedTempFile>,
},
OpenPgp {
program: String,
key: String,
},
Sigstore,
}Expand description
How statements get signed here.
Variants§
Ssh
ssh-keygen -Y sign with this key file (a private key, or a public
key whose private half is in the agent).
Fields
§
_literal: Option<NamedTempFile>Holds a key:: literal’s temporary file alive.
OpenPgp
gpg --detach-sign --armor, with this key (the default key when empty).
Sigstore
cosign sign-blob, keyless.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signer
impl RefUnwindSafe for Signer
impl Send for Signer
impl Sync for Signer
impl Unpin for Signer
impl UnsafeUnpin for Signer
impl UnwindSafe for Signer
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