pub enum ClientAction {
Devices,
Info,
Reset {
confirm: u8,
},
List {
rp_id: Option<String>,
},
Show {
credential_id: String,
},
Delete {
credential_id: String,
},
Rename {
credential_id: String,
user_name: Option<String>,
display_name: Option<String>,
},
SetCredProtect {
credential_id: Option<String>,
rp_id: Option<String>,
level: u8,
yes: bool,
},
Backup {
credential_id: String,
recipient: String,
output_file: PathBuf,
confirm: bool,
},
Restore {
input_file: PathBuf,
replace: bool,
confirm: bool,
},
Pin {
action: PinAction,
},
}Expand description
Client actions for FIDO2 authenticator management
Variants§
Devices
List all available FIDO2 authenticators/devices
Info
Get authenticator information (capabilities, AAGUID, versions, etc.)
Reset
Reset the authenticator (WARNING: deletes ALL credentials)
List
List all credentials on the authenticator
Show
Show detailed information about a specific credential
Delete
Delete a specific credential by ID
Rename
Rename a credential (update user name and/or display name)
Fields
SetCredProtect
Change the stored credProtect level of credentials (requires user verification)
Levels: 1 = user verification optional (presence only), 2 = optional with a credential ID list, 3 = user verification required. The credentials are shown first; lowering asks for confirmation unless –yes is given, and the authenticator asks for the PIN or, with no PIN set, shows its own prompt naming what is lowered.
WARNING: lowering weakens the credentials. With
security.user_verification_authentication = false, level 1 means silent signing by any
process that can reach the authenticator’s hidraw device. Lowering has no effect while
security.always_uv = true, because the authenticator then forces user verification
whatever the level. After an error, check the result with passless client list.
Fields
Backup
Export one software-backed credential as an opaque encrypted bundle.
Fields
Restore
Restore an encrypted Passless credential bundle.
Fields
Pin
PIN management commands
Trait Implementations§
Source§impl Clone for ClientAction
impl Clone for ClientAction
Source§impl Debug for ClientAction
impl Debug for ClientAction
Source§impl FromArgMatches for ClientAction
impl FromArgMatches for ClientAction
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for ClientAction
impl Subcommand for ClientAction
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand