solokeys / solo1-cli

Solo 1 library and CLI in Python
https://pypi.org/project/solo-python
Apache License 2.0
182 stars 69 forks source link

solo key credential rm/ls => 2 related issues #173

Open solsticedhiver opened 3 months ago

solsticedhiver commented 3 months ago

when running solo key credentials ls, the output does NOT include space around long Relying Party and/or Username.

So this makes it extremly difficult to know the Credential ID if a a weird Username has been used.

For example:

$ solo key credential ls
PIN: 
Relying Party       Username            Credential ID
-----------------------------------------------------
myweirdwebsite.com  gfgdfgdfgdfgdfgdfgdfgDFgdfgdfgdfgdfgdfgDFGDFFgfdgdf546456456GDFGAAA==

The credentail ID is faked and is not a real base64 thing. It's for the sake of the example.

Then, what do I use to remove the given credential as credential ID ?

Guess using the string that are decoded correctly as base64, until I found the one?