replydev / cotp

Trustworthy, encrypted, command-line TOTP/HOTP authenticator app with import functionality.
GNU General Public License v3.0
240 stars 21 forks source link

[Feature request] Deleting entries from the database #460

Closed qweri0p closed 1 month ago

qweri0p commented 1 month ago

Is your feature request related to a problem? Please describe. I've deleted my account for a service which uses TOTP authentication. I added it to cotp, and now I wish to remove it.

Describe the solution you'd like A command like cotp delete. With selection options just like cotp edit. Example: cotp delete -s Github

Additional context A confirmation should be included.

replydev commented 1 month ago

Hello @qweri0p, this is a good idea and I will implement it in the next days.

In the mean time, you can delete an OTP code in the interactive dashboard, by selecting your desired one and pressing d.

Once you quit the dashboard you will be asked to confirm.