biscuit-auth / biscuit-web-components

web components for Biscuit based Datalog editors and policy execution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display more info in bc-token-printer

divarvel opened this issue · comments

For now, bc-token-printer only display datalog blocks. The parts used to verify the token are not verified.

  • signatures should be displayed because they're used as revocation ids
  • public keys could be displayed (for completeness sake)
    • for sealed tokens, the final signature could be displayed (for completeness sake)
    • for open tokens, the final secret key could be displayed (for completeness sake), but hidden by default (with a toggle button)

Displaying at least revocation ids would bring bc-token-printer on par with the CLI's biscuit inspect