Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sshPublicKey (0.04 sec)

  1. cmd/sts-handlers_test.go

    		}
    
    		// Validate claims. Check if the sshPublicKey claim is present.
    		dnClaim := claims.MapClaims[ldapActualUser].(string)
    		if dnClaim != testCase.dn {
    			c.Fatalf("Test %d: unexpected dn claim: %s", i+1, dnClaim)
    		}
    		sshPublicKeyClaim := claims.MapClaims[ldapAttribPrefix+"sshPublicKey"].([]any)[0].(string)
    		if sshPublicKeyClaim == "" {
    			c.Fatalf("Test %d: expected sshPublicKey claim to be present", i+1)
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
Back to top