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

Florian Schlichting fsfs at debian.org
Sun Nov 28 06:56:51 GMT 2021


Hi Tobias,

On Fri, Nov 19, 2021 at 11:51:46AM +0000, 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



More information about the Pkg-auth-maintainers mailing list