Skip to content

bshishov/nats-py-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NATS-py-JWT

WIP implementation of NATS.io utilities needed to handle auth in python: nkeys, xkeys (curve), JWT.

NOT FOR PRODUCTION USE YET! (but works)

Considerations

  • memory-leakage of secret data in nkeys is not tested properly
  • no credential utils to load/save jwts as .creds
  • some methods are missing in jwt compared to go's jwt impl
  • auth_callout example does not properly handle errors, just happy path
  • not very pythonic code (was following other implementations closely)
  • lack of docs
  • tested across Cpython 3.9 to 3.13

other thatn that it works, mypy complaint and critical functionality is test-covered

About

Python impl of NATS jwt, nkeys and auth_callout

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages