openlawlibrary / taf

The Archive Framework
GNU Affero General Public License v3.0
10 stars 9 forks source link

Implement and standardize a `@yubikey` decorator for CLI commands #521

Open n-dusan opened 6 days ago

n-dusan commented 6 days ago

Proposal:

Create a @yubikey decorator:

Add YubiKey verification:

Consistency for all commands:

Tasks

n-dusan commented 6 days ago

What do you think @renatav? Could this be a good first issue for someone?

renatav commented 6 days ago

There are some complexities related to how pins are stored and used. I wouldn't say that this is a good first issue. Might even require a bit of refactoring

renatav commented 3 days ago

I just remembered that the pin option was removed intentionally a while back due to security concerns. I am not sure if we want to do this