Support TOTP #35

Closed
opened 2024-05-10 03:10:13 +02:00 by awiteb · 0 comments
Owner

Feature description

I think something like having totp-secret field in the vault, then when we listing or getting a vault we generate a value of field called totp-code.

Also I think is better to add ({secs}s remaining) to the totp-code if lprs running in a terminal

Example

$ lprs add "Some TOTP vault" -t "KN2XAZLSKRHVIUCTMVRXEZLU"
$ lprs get "Some TOTP vault"
> Master Password: ****************
Name: Some TOTP vault
TOTP Secret: KN2XAZLSKRHVIUCTMVRXEZLU
TOTP Code: 498915 (15s remaining)
## Feature description I think something like having `totp-secret` field in the vault, then when we listing or getting a vault we generate a value of field called `totp-code`. Also I think is better to add `({secs}s remaining)` to the `totp-code` if `lprs` running in a terminal ## Example <!-- A clear and concise example of how the feature will be used. (If needed) --> ```bash $ lprs add "Some TOTP vault" -t "KN2XAZLSKRHVIUCTMVRXEZLU" $ lprs get "Some TOTP vault" > Master Password: **************** Name: Some TOTP vault TOTP Secret: KN2XAZLSKRHVIUCTMVRXEZLU TOTP Code: 498915 (15s remaining) ```
awiteb added this to the v2.0.0 milestone 2024-05-10 03:10:13 +02:00
awiteb added the
Kind/Feature
Reviewed
Accepted
labels 2024-05-10 03:10:13 +02:00
awiteb self-assigned this 2024-05-10 03:10:13 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: awiteb/lprs#35
No description provided.