Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support One-time code type #125

Open
anton-stamenov-SWO opened this issue Feb 24, 2023 · 2 comments
Open

Support One-time code type #125

anton-stamenov-SWO opened this issue Feb 24, 2023 · 2 comments

Comments

@anton-stamenov-SWO
Copy link

anton-stamenov-SWO commented Feb 24, 2023

When type is set to -type="One-time Code", nothing is returned.

This should have 2 use cases though:

  1. return the secret behind the OTP
  2. return the OTP code and probably skip the auth for this

example:

$ enp -type="One-time Code" show <filter>
INFO[0003] > title: <filter-match>  login: XXX  cat.: XXX  OTP: otpauth://totp/XXX?secret=XXX&issuer=XXX
INFO[0003] > title: <filter-match>  login: XXX  cat.: XXX  OTP: XXX
$ enp otp <filter>
INFO[0003] > title: <filter-match> OTP: 123456
INFO[0003] > title: <filter-match> OTP: 234567
$ enp otp -title <title> # Exact single match otherwise error
123456
@hazcod
Copy link
Owner

hazcod commented Nov 7, 2024

@anton-stamenov-SWO Can you perhaps give me an example of what is returned in that column in the enpass database?
What's the column name?

@anton-stamenov-SWO
Copy link
Author

I don't know how to check the database. I'm assuming the DB column name is the same as the field name in the UI, which currently shows 'One-Time Password'. I would like to be able to see the value of this field and also when in edit mode, I would like to see this value as well.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants