obsigil-cli-0.1.0 is not a library.
obsigil-cli
Command-line tool for the obsigil mandate-token format — a
shared-secret JWT alternative. Installs an obsigil binary.
Install
Commands
High-level:
mint— mint a token from clauses (and an optional manifest)verify— verify a token's mandate; prints the clauses as JSON, or exits 1open-manifest— open a token's keyless, advisory manifestforward— print the forwardable.0mandateform of a token
Byte-level conformance ops (spec §10):
seal/open— seal raw octets into a half ciphertext and backparse— parse a token structurally to JSON
Keys are 128 hex characters, or the keywords manifest / mandate
for the published test keys. Any token argument may be - to read
from stdin.
Example
# Mint under the published `mandate` test key, then verify:
TOKEN=
# -> {"exp":...,"tid":"...","app":{"role":"admin"}, ...}
Exit codes
0— success1— operation rejected (verify/open/parse failure — uniform, per spec §9.5)2— usage error
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.