paolostivanin / OTPClient

Highly secure and easy to use OTP client written in C/GTK3 that supports both TOTP and HOTP
GNU General Public License v3.0
458 stars 47 forks source link

otpclient-cli 3.4.1 on Ubuntu 20.4 not displaying token #356

Closed jcbradfield closed 3 months ago

jcbradfield commented 3 months ago

Can't find a mention of this here or on the web - apologies if I've missed it.

Ubuntu 20.4.6 LTS moved otpclient-cli to 3.4.1-0ubuntu1~focal1 from 3.2.1 recently, and now it no longer displays any token:

high: /usr/bin/otpclient-cli show -a "University of Edinburgh:jcb@ed.ac.uk" -n 
Type the DB decryption password: 
high: 
paolostivanin commented 3 months ago

OTPClient 3.4.0 brought a new CLI implementation (please check the release notes). You can see the new commands with otpclient-cli -h

jcbradfield commented 3 months ago

Shouldn't it give an error message if the previous syntax is no longer valid syntax?

paolostivanin commented 3 months ago

seems that I forgot to print a message in such a case! Will fix it with the next release, thanks!