Support user certificate based authentication on SFTP (#19650)

This commit is contained in:
Olli Janatuinen
2024-05-07 08:41:25 +02:00
committed by GitHub
parent 6a15580817
commit b413ff9fdb
3 changed files with 73 additions and 0 deletions

View File

@@ -119,3 +119,9 @@ var errInvalidMaxParts = errors.New("Part number is greater than the maximum all
// error returned for session policies > 2048
var errSessionPolicyTooLarge = errors.New("Session policy should not exceed 2048 characters")
// error returned in SFTP when user used public key without certificate
var errSftpPublicKeyWithoutCert = errors.New("public key authentication without certificate is not accepted")
// error returned in SFTP when user used certificate which does not contain principal(s)
var errSftpCertWithoutPrincipals = errors.New("certificates without principal(s) are not accepted")