otp-authenticator-0.1.0.1: OTP Authenticator (a la google) command line client

Copyright(c) Justin Le 2017
LicenseMIT
Maintainerjustin@jle.im
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Authenticator.Actions

Description

Basic actions to manipulate Vaults. The otp-auth executable is a thin wrapper over these actions.

See Cmd.

Synopsis

Documentation

viewVault Source #

Arguments

:: Bool

List key names only; do not generate any codes.

-> Either Int (Maybe Text, Maybe Text)

Filter by ID or possibly by account name and issuer

-> Vault 
-> IO () 

View secrets, generating codes for time-based keys.

addSecret Source #

Arguments

:: Bool

Echo back password entry

-> Bool

If True, add via otpauth protocol URI

-> Vault 
-> IO Vault 

Add a secret, interactively.

genSecret Source #

Arguments

:: Int

ID # of secret to generate

-> Vault 
-> IO (Maybe (String, Vault)) 

Generate a secret code, forcing a new HOTP code if it is counter-based.

editSecret Source #

Arguments

:: Int

ID # of secret to edit

-> Vault 
-> IO Vault 

Edit a secret's metadata (account name, issuer)

deleteSecret Source #

Arguments

:: Int

ID # of secret to delete

-> Vault 
-> IO Vault 

Delete a secret.