package
0.0.0-20200108200620-50a51684897c
Repository: https://github.com/orion-labs/jwt-ssh-agent-go.git
Documentation: pkg.go.dev

# Functions

ParsePubkeySignedToken takes a token string that has been signed by the ssh-agent (RS256) The Subject of the token (user authenticating) is part of the claims on the token.
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.

# Constants

MAX_TOKEN_DURATION is the maximum duration allowed on a signed token.

# Structs

SigningMethodRSAAgent is a JWT Signing method that produces RS256 signatures from a running ssh-agent.
TestServer an HTTP server demostrating JWT RSA Auth.