Bug#1000187: [Pkg-auth-maintainers] Bug#1000187: yubikey-manager: Exception when trying to add an oath account

2021-11-27 Thread Florian Schlichting
Hi Tobias,

On Fri, Nov 19, 2021 at 11:51:46AM +, Tobias Bengfort wrote:
> Package: yubikey-manager
> Version: 4.0.0~a1-4
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
>$ ykman oath accounts add foo bar
> 
> always results in
> 
>AttributeError: 'OATH_TYPE' object has no attribute 'upper'

Can you try again with yubikey-manager 4.0.7-1 (currently in unstable
and testing)? I'm unable to reproduce your issue there, and seem to be
able to successfully add an account, once I figured out a valid format
for the secret:

$ echo '123456' | base64
MTIzNDU2Cg==
$ ykman oath accounts add foo 'MTIzNDU2Cg=='
$ echo $?
0
$ ykman oath accounts list
foo

Florian



Bug#1000187: [Pkg-auth-maintainers] Bug#1000187: yubikey-manager: Exception when trying to add an oath account

2021-11-28 Thread Tobias Bengfort

On 28/11/2021 07.56, Florian Schlichting wrote:

Can you try again with yubikey-manager 4.0.7-1 (currently in unstable
and testing)?


I can verify that this issue does not existing in testing. Is it 
possible to packport a fix to stable?


thanks
tobias