diff options
| author | Alexander Yastrebov <yastrebov.alex@gmail.com> | 2025-03-21 20:47:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-21 15:47:22 -0400 |
| commit | ad432897caf468e3c2c76ffbc5b8942db1b78a21 (patch) | |
| tree | 1b14cb95258adf13e3f425b94607293e34200971 /internal | |
| parent | 194e55088bfd90130f3044c4e3fb5b0f0b8ec2ed (diff) | |
| download | anubis-ad432897caf468e3c2c76ffbc5b8942db1b78a21.tar.xz anubis-ad432897caf468e3c2c76ffbc5b8942db1b78a21.zip | |
cmd/anubis: use golang-jwt to check expiry date (#56)
* cmd/anubis: use golang-jwt to check expiry date
Also:
* check parse error
* require strict base64 decoding
* ignore always nil sha256sum error to simplify codeflow
Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
* cmd/anubis: handle unlikely case when token claims aren't the right go type
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Xe Iaso <me@xeiaso.net>
---------
Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Co-authored-by: Xe Iaso <me@xeiaso.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions
