Documentation
¶
Index ¶
- Constants
- Variables
- func GetConfig(envJson []byte, pw string) (secrets secretsRec)
- func GetSignerFromSshAgent() (pubkey string, signer ssh.Signer)
- func InitPKCS11(pin string)
- func PP(i ...any)
- func Sshca()
- type CAParams
- type CaConfig
- type Claims
- type ClientConfig
- type Conf
- type Flow
- type Opconfig
- type Provisioner
Constants ¶
View Source
const ( SSHFLOW = iota WEBFLOW )
View Source
const (
CKM_EDDSA = 0x80000c03 // Thales kryptoki - not in pkcs11 yet
)
Variables ¶
Functions ¶
func GetSignerFromSshAgent ¶
func InitPKCS11 ¶
func InitPKCS11(pin string)
Types ¶
type CAParams ¶
type CAParams struct {
Ttl int64
Permissions ssh.Permissions
}
type CaConfig ¶
type CaConfig struct {
OK, Fake, Hide bool
SSOHost, Id, Name string
SSHTemplate, HTMLTemplate string
DefaultPrincipals, AuthnContextClassRef []string
AllowedFlows []Flow
HashedPrincipal bool
MyAccessID, ResourcesMandatory bool
CAParams CAParams
Scope, EntitlementsNamespace string
IntroSpectClientID, IntroSpectClientSecret string
IntroSpectConfigEndpoint, IntroSpectEndpoint string
UserInfoEndpoint, UserInfoConfigEndpoint string
PublicKey string
OAuth2Config *oauth2.Config
Op, Iop Opconfig `json:"-"`
Signer ssh.Signer `json:"-"`
MandatoryClaims, Claims map[string]string
}
type ClientConfig ¶
type ClientConfig struct {
PublicKey string
}
type Conf ¶
type Conf struct {
ServiceName, RelayingParty string
HostCertificatePrincipals []string
WWW embed.FS
Template, HTMLTemplate string
Verification_uri_template string
SSOTTL, RendevouzTTL string
SshPort string
SshListenOn string
WebListenOn string
UseRevProxy bool
CaConfigs map[string]CaConfig
Cryptokilib string
Slot string
NoOfSessions int
}
type Provisioner ¶
type Provisioner struct {
ConfigurationEndpoint string `json:"configurationEndpoint"`
}
Click to show internal directories.
Click to hide internal directories.