as / signer

base64-encoded token system utilizing xchacha20poly1305 (see also: branca)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

signer: cleanup config and simplify implementation

as opened this issue · comments

commented

All the stuff named *Len in the config is to make modifying parameters easy for experimentation, but that quickly becomes decoupled from the actual behavior. The branca stuff should implement the sign and verify methods as an interface contract and delete the *Len stuff.