trussed-dev / trussed-auth

Authentication extension and backend for Trussed
1 stars 3 forks source link

Implementation of PIN policies #2

Open sosthene-nitrokey opened 1 year ago

sosthene-nitrokey commented 1 year ago

Policies would be handled by adding an AuthContext to the ClientContext containing the current PinId

API

For the software backend, policies are enforced by runtime checks. Keys with a policy are not specifically encrypted. The SE050 backend will provide that type of security.

Todo

What do Policies look like, for both keys and PINs