Relock: record the >= pin form
a912b801
A Sigil library for creating and verifying JSON Web Tokens (JWT) with HMAC-SHA256 signatures.
iat injected at creation, exp checked at decodeAdd sigil-jwt as a dependency in your package.sgl:
(from-git url: "codeberg:sigil/sigil-jwt" package: "sigil-jwt")Then create and verify tokens:
(import (sigil jwt))
;; Create a signed token
(define token (jwt-encode '((sub . "user123")
(exp . 1735689600))
"my-secret"))
;; Verify and decode
(define claims (jwt-decode token "my-secret"))
;; => ((sub . "user123") (exp . 1735689600) (iat . ...))
;; Decode without verification
(define claims (jwt-decode-unsafe token))sigil deps install
sigil build
sigil testBSD-3-Clause
$ git clone https://codeberg.org/sigil/sigil-jwt
v0.9.2 — latest by version, released 12 Aug 2026
All releases — 3 tags in this repository.
One page per file, and every line has a permalink.
Relock: record the >= pin form
a912b801
fcd54c77
125ee744
Align all Sigil packages on 0.19
4ab505ea
f957f3c0
Pin dependencies to version tags
eb3273d8
8507cb55
a1f00776
91c6e376
2b74c5e7
75dc28ca
The last 20 commits keep a page here. Everything older lives in the clone.