package
0.0.0-20240806004618-b11d620a474e
Repository: https://github.com/nikogura/jwt-ssh-agent-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
ParseAndCheckSig Parses the token string in to a token struct and verifies it's signature.
Creates Test Keys, and loads them into your test SSH Agent.
SignedJwtToken takes a subject, and a public key string (as provided by ssh-agent or ssh-keygen) and creates a signed JWT Token by asking the ssh-agent politely to sign the token claims.
Spins up an SSH Agent for testing.
No description provided by the author

# Constants

MAX_TOKEN_DURATION is the maximum duration allowed on a signed token.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
SigningMethodRSAAgent is a JWT Signing method that produces RS256 signatures from a running ssh-agent.
No description provided by the author
No description provided by the author
TestServer an HTTP server demostrating JWT RSA Auth.

# Interfaces

Logger Really simple logger interface that all real loggers should be able to satisfy.