trussed-dev / trussed-auth

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

Add Auth extension and backend with PIN handling #3

Closed robin-nitrokey closed 1 year ago

robin-nitrokey commented 1 year ago

This patch implements a basic Auth extension and backend that provides PIN handling. Policies still have to be enforced by the client.

Fixes https://github.com/trussed-dev/trussed-auth/issues/1

Open tasks:

sosthene-nitrokey commented 1 year ago

I've implemented a second PIN type that wraps a key using the PIN in https://github.com/sosthene-nitrokey/trussed-auth/tree/ext-encryption, based on top of this PR.

robin-nitrokey commented 1 year ago

I’ve changed it to use <client>/backend/auth/pin/<id>. Let’s merge it like this. We can still change the paths before we release.