Test Name | fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15 |
---|---|
Variant | client_auth_type=private_key_jwt, fapi_auth_request_method=pushed, fapi_client_type=oidc, fapi_profile=openbanking_brazil, fapi_response_mode=plain_response |
Test ID | eBbudIZBy6MQIEr https://www.certification.openid.net/log-detail.html?public=true&log=eBbudIZBy6MQIEr |
Created | 2022-09-26T16:40:06.543778Z |
Description | Banco do Brasil - FAPI1 Advanced Final - Relying Party (Client) - Accounts - Private Key |
Test Version | 5.0.4 |
Test Owner | 10230557 https://gitlab.com |
Plan ID | 1RL7xEnN63MFF https://www.certification.openid.net/plan-detail.html?public=true&plan=1RL7xEnN63MFF |
Exported From | https://www.certification.openid.net |
Exported By | 10230557 https://gitlab.com |
Suite Version | 5.0.4 |
Exported | 2022-09-26 19:27:06 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 93 FAILURE 0 WARNING 0 REVIEW 0 INFO 6 |
2022-09-26 16:40:06 |
INFO
|
TEST-RUNNER
Test instance eBbudIZBy6MQIEr created
|
||||||||||||||
|
2022-09-26 16:40:06 |
SUCCESS
|
GenerateServerConfigurationMTLS
Created server configuration
|
||||||
|
2022-09-26 16:40:06 |
SUCCESS
|
LoadServerJWKs
Parsed public and private JWK sets
|
||||||
|
2022-09-26 16:40:06 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-09-26 16:40:06 |
|
SetServerSigningAlgToPS256
Successfully set signing algorithm to PS256
|
|
2022-09-26 16:40:06 |
|
FAPIBrazilSetGrantTypesSupportedInServerConfiguration
Successfully set grant_types_supported
|
||
|
2022-09-26 16:40:06 |
|
AddClaimsParameterSupportedTrueToServerConfiguration
Successfully added claims_parameter_supported to server configuration
|
||
|
2022-09-26 16:40:06 |
|
FAPIBrazilAddBrazilSpecificSettingsToServerConfiguration
Added open banking Brazil specific server settings
|
||
|
2022-09-26 16:40:06 |
SUCCESS
|
AddIdTokenSigningAlgsToServerConfiguration
Added 'id_token_signing_alg_values_supported' to server metadata as 'alg' from server jwks
|
||
|
2022-09-26 16:40:06 | SUCCESS |
AddTlsCertificateBoundAccessTokensTrueSupportedToServerConfiguration
Added 'tls_client_certificate_bound_access_tokens' as 'true' to server metadata
|
|
2022-09-26 16:40:06 |
|
SetTokenEndpointAuthMethodsSupportedToPrivateKeyJWTOnly
Changed token_endpoint_auth_methods_supported to private_key_jwt only in server configuration
|
||
|
2022-09-26 16:40:06 |
|
AddPushedAuthorizationRequestEndpointToServerConfig
Added pushed_authorization_request_endpoint to server configuration
|
||
|
2022-09-26 16:40:06 |
|
AddRequirePushedAuthorizationRequestsToServerConfig
Added require_pushed_authorization_requests to server configuration
|
||
|
2022-09-26 16:40:06 | SUCCESS |
AddResponseTypeCodeIdTokenToServerConfiguration
Added code id_token as response type supported
|
||
|
2022-09-26 16:40:06 |
SUCCESS
|
FAPIBrazilAddTokenEndpointAuthSigningAlgValuesSupportedToServer
Set token_endpoint_auth_signing_alg_values_supported
|
||
|
2022-09-26 16:40:06 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-09-26 16:40:06 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2022-09-26 16:40:06 |
SUCCESS
|
LoadUserInfo
Added user information
|
||
|
Verify configuration of first client |
2022-09-26 16:40:06 |
SUCCESS
|
GetStaticClientConfiguration
Found a static client object
|
||||||||
|
2022-09-26 16:40:06 | SUCCESS |
ValidateClientJWKsPublicPart
Valid client JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-09-26 16:40:06 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-09-26 16:40:06 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-09-26 16:40:06 |
SUCCESS
|
EnsureClientJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-09-26 16:40:06 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
Verify configuration of second client |
2022-09-26 16:40:06 |
SUCCESS
|
GetStaticClient2Configuration
Found a static second client object
|
||||||||||||
|
2022-09-26 16:40:06 | SUCCESS |
ValidateClientJWKsPublicPart
Valid client JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-09-26 16:40:06 |
SUCCESS
|
ExtractJWKsFromStaticClientConfiguration
Extracted client JWK
|
||||
|
2022-09-26 16:40:06 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
2022-09-26 16:40:06 |
SUCCESS
|
EnsureClientJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-09-26 16:40:06 | SUCCESS |
FAPIEnsureMinimumClientKeyLength
Validated minimum key lengths for client_jwks
|
||
|
2022-09-26 16:40:06 | SUCCESS |
FAPIEnsureClientJwksContainsAnEncryptionKey
Found an encryption key in client jwks
|
||||
|
2022-09-26 16:40:06 |
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Setup Done
|
|
2022-09-26 16:40:09 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Incoming HTTP request to /test/a/bancodobrasil-fapi1adv-obb-rp-accounts-private-key/.well-known/openid-configuration
|
||||||||||||||||||||||
|
2022-09-26 16:40:09 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
2022-09-26 16:40:09 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Response to HTTP request to test instance eBbudIZBy6MQIEr
|
||||||||
|
2022-09-26 16:40:10 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Incoming HTTP request to /test/a/bancodobrasil-fapi1adv-obb-rp-accounts-private-key/jwks
|
||||||||||||||||||||||
|
2022-09-26 16:40:10 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
2022-09-26 16:40:10 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Response to HTTP request to test instance eBbudIZBy6MQIEr
|
||||||||
|
2022-09-26 16:40:11 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Incoming HTTP request to /test-mtls/a/bancodobrasil-fapi1adv-obb-rp-accounts-private-key/token
|
||||||||||||||||||||||
|
2022-09-26 16:40:11 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
Token endpoint |
2022-09-26 16:40:11 |
|
CheckClientIdMatchesOnTokenRequestIfPresent
client_id not present, nothing to check
|
|
2022-09-26 16:40:11 |
SUCCESS
|
ExtractClientCertificateFromRequestHeaders
Extracted client certificate
|
||
|
2022-09-26 16:40:11 | SUCCESS |
CheckForClientCertificate
Found client certificate
|
|
2022-09-26 16:40:11 |
SUCCESS
|
EnsureClientCertificateMatches
Presented certificate matches registered certificate
|
||
|
2022-09-26 16:40:11 | SUCCESS |
ExtractClientAssertion
Parsed client assertion
|
||
|
2022-09-26 16:40:11 |
|
EnsureClientAssertionSignatureAlgorithmMatchesRegistered
token_endpoint_auth_signing_alg is not set for the client, any supported algorithm can be used
|
|
2022-09-26 16:40:11 | SUCCESS |
ValidateClientAssertionSignature
client_assertion signature validated
|
||
|
2022-09-26 16:40:11 | SUCCESS |
EnsureClientAssertionTypeIsJwt
Found JWT assertion type
|
||
|
2022-09-26 16:40:11 | SUCCESS |
ValidateClientAssertionClaims
Client Assertion passed all validation checks
|
|
2022-09-26 16:40:11 |
SUCCESS
|
FAPIBrazilExtractRequestedScopeFromClientCredentialsGrant
Found 'consents' scope in request
|
||||
|
2022-09-26 16:40:11 |
SUCCESS
|
GenerateBearerAccessToken
Generated access token
|
||
|
2022-09-26 16:40:11 |
|
GenerateAccessTokenExpiration
Set access_token_expiration to 900
|
|
2022-09-26 16:40:11 |
SUCCESS
|
CreateTokenEndpointResponse
Created token endpoint response
|
||||||
|
2022-09-26 16:40:11 |
|
CopyAccessTokenToClientCredentialsField
Condition ran but did not log anything
|
|
2022-09-26 16:40:11 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Response to HTTP request to test instance eBbudIZBy6MQIEr
|
||||||||
|
2022-09-26 16:40:12 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Incoming HTTP request to /test-mtls/a/bancodobrasil-fapi1adv-obb-rp-accounts-private-key/consents/v1/consents
|
||||||||||||||||||||||
|
2022-09-26 16:40:12 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
New consent endpoint |
2022-09-26 16:40:12 |
SUCCESS
|
ExtractClientCertificateFromRequestHeaders
Extracted client certificate
|
||
|
2022-09-26 16:40:12 | SUCCESS |
CheckForClientCertificate
Found client certificate
|
|
2022-09-26 16:40:12 |
SUCCESS
|
EnsureClientCertificateMatches
Presented certificate matches registered certificate
|
||
|
2022-09-26 16:40:12 |
SUCCESS
|
EnsureIncomingRequestMethodIsPost
Client correctly used http POST method
|
|
2022-09-26 16:40:12 | SUCCESS |
EnsureBearerAccessTokenNotInParams
Client correctly did not send access token in query parameters or form body
|
|
2022-09-26 16:40:12 | SUCCESS |
ExtractBearerAccessTokenFromHeader
Found access token on incoming request
|
||
|
2022-09-26 16:40:12 |
SUCCESS
|
RequireBearerClientCredentialsAccessToken
Found access token in request
|
||
|
2022-09-26 16:40:12 | SUCCESS |
ExtractFapiDateHeader
Found a FAPI auth date header
|
||
|
2022-09-26 16:40:12 | SUCCESS |
ExtractFapiIpAddressHeader
Found a FAPI ip address header
|
||||
|
2022-09-26 16:40:12 | SUCCESS |
ExtractFapiInteractionIdHeader
Found a FAPI interaction ID header
|
||
|
2022-09-26 16:40:12 |
SUCCESS
|
FAPIBrazilEnsureClientCredentialsScopeContainedConsents
The token request which was used to obtain the access token contained 'consents' scope
|
||
|
2022-09-26 16:40:12 | SUCCESS |
FAPIBrazilExtractConsentRequest
Consent successfully extracted from the request.
|
||
|
2022-09-26 16:40:12 |
INFO
|
CreateFapiInteractionIdIfNeeded
Found existing FAPI interaction ID
|
||
|
2022-09-26 16:40:12 | SUCCESS |
FAPIBrazilGenerateNewConsentResponse
Created consent response
|
||||||
|
2022-09-26 16:40:12 |
|
ClearAccessTokenFromRequest
Removed incoming access token from environment
|
|
2022-09-26 16:40:12 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Response to HTTP request to test instance eBbudIZBy6MQIEr
|
||||||||
|
2022-09-26 16:40:13 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Incoming HTTP request to /test-mtls/a/bancodobrasil-fapi1adv-obb-rp-accounts-private-key/par
|
||||||||||||||||||||||
|
2022-09-26 16:40:13 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
PAR endpoint |
2022-09-26 16:40:13 |
SUCCESS
|
ExtractClientCertificateFromRequestHeaders
Extracted client certificate
|
||
|
2022-09-26 16:40:13 | SUCCESS |
CheckForClientCertificate
Found client certificate
|
|
2022-09-26 16:40:13 |
SUCCESS
|
EnsureClientCertificateMatches
Presented certificate matches registered certificate
|
||
|
2022-09-26 16:40:13 | SUCCESS |
ExtractClientAssertion
Parsed client assertion
|
||
|
2022-09-26 16:40:13 |
|
EnsureClientAssertionSignatureAlgorithmMatchesRegistered
token_endpoint_auth_signing_alg is not set for the client, any supported algorithm can be used
|
|
2022-09-26 16:40:13 | SUCCESS |
ValidateClientAssertionSignature
client_assertion signature validated
|
||
|
2022-09-26 16:40:13 | SUCCESS |
EnsureClientAssertionTypeIsJwt
Found JWT assertion type
|
||
|
2022-09-26 16:40:13 | SUCCESS |
ValidateClientAssertionClaimsForPAREndpoint
Client Assertion passed all validation checks
|
|
2022-09-26 16:40:13 | SUCCESS |
ExtractRequestObjectFromPAREndpointRequest
Parsed request object
|
||
|
2022-09-26 16:40:13 | SUCCESS |
EnsurePAREndpointRequestDoesNotContainRequestUriParameter
PAR endpoint request does not contain a request_uri parameter
|
|
2022-09-26 16:40:13 | INFO |
ValidateEncryptedRequestObjectHasKid
Skipped evaluation due to missing required element: authorization_request_object jwe_header
|
||||||
|
2022-09-26 16:40:13 | SUCCESS |
FAPIValidateRequestObjectSigningAlg
Request object was signed with a permitted algorithm
|
||
|
2022-09-26 16:40:13 |
|
FAPIBrazilValidateRequestObjectIdTokenACRClaims
acr claim is not requested
|
|
2022-09-26 16:40:13 | SUCCESS |
FAPIValidateRequestObjectExp
Request object contains a valid exp claim, expiry time
|
||
|
2022-09-26 16:40:13 | SUCCESS |
FAPI1AdvancedValidateRequestObjectNBFClaim
nbf claim is valid
|
||||
|
2022-09-26 16:40:13 |
|
ValidateRequestObjectClaims
Request object does not contain a max_age claim
|
|
2022-09-26 16:40:13 |
SUCCESS
|
ValidateRequestObjectClaims
Request object claims passed all validation checks
|
|
2022-09-26 16:40:13 | SUCCESS |
EnsureNumericRequestObjectClaimsAreNotNull
None of the claims expected to have numeric values, have null values
|
||
|
2022-09-26 16:40:13 | SUCCESS |
EnsureRequestObjectDoesNotContainRequestOrRequestUri
Request object does not contain request or request_uri
|
|
2022-09-26 16:40:13 | SUCCESS |
EnsureRequestObjectDoesNotContainSubWithClientId
Request object does not contain Client Id in sub
|
|
2022-09-26 16:40:13 | SUCCESS |
ValidateRequestObjectSignature
Request object signature validated using a key in the client's JWKS and using the client's registered request_object_signing_alg
|
||||||
|
2022-09-26 16:40:13 |
SUCCESS
|
EnsureMatchingRedirectUriInRequestObject
Redirect URI matched
|
||
|
2022-09-26 16:40:13 | SUCCESS |
EnsureRequestObjectContainsCodeChallengeWhenUsingPAR
Found required PKCE parameters in request
|
||||
|
2022-09-26 16:40:13 | SUCCESS |
CreatePAREndpointResponse
Created PAR endpoint response
|
||||
|
2022-09-26 16:40:13 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Response to HTTP request to test instance eBbudIZBy6MQIEr
|
||||||||
|
2022-09-26 16:40:14 |
INCOMING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Incoming HTTP request to /test/a/bancodobrasil-fapi1adv-obb-rp-accounts-private-key/authorize
|
||||||||||||||||||||||
|
2022-09-26 16:40:14 | SUCCESS |
EnsureIncomingTls12WithSecureCipherOrTls13
TLS 1.2 in use and cipher is one recommended by BCP195
|
||||
|
Authorization endpoint |
2022-09-26 16:40:14 |
SUCCESS
|
EnsureAuthorizationRequestDoesNotContainRequestWhenUsingPAR
Request does not contain a request parameter
|
|
2022-09-26 16:40:14 | INFO |
ValidateEncryptedRequestObjectHasKid
Skipped evaluation due to missing required element: authorization_request_object jwe_header
|
||||||
|
2022-09-26 16:40:14 |
SUCCESS
|
CreateEffectiveAuthorizationRequestParameters
Merged http request parameters with request object claims
|
||
|
2022-09-26 16:40:14 | SUCCESS |
EnsureClientIdInAuthorizationRequestParametersMatchRequestObject
client_id http request parameter value matches client_id in request object
|
|
2022-09-26 16:40:14 |
SUCCESS
|
ExtractRequestedScopes
Requested scopes
|
||
|
2022-09-26 16:40:14 |
SUCCESS
|
FAPIBrazilValidateConsentScope
Found consent scope in request
|
||||
|
2022-09-26 16:40:14 |
SUCCESS
|
EnsureScopeContainsAccounts
Found accounts scope in request
|
||
|
2022-09-26 16:40:14 | SUCCESS |
EnsureResponseTypeIsCodeIdToken
Response type is expected value
|
||
|
2022-09-26 16:40:14 | SUCCESS |
EnsureOpenIDInScopeRequest
Found 'openid' scope in request
|
||||
|
2022-09-26 16:40:14 | SUCCESS |
EnsureMatchingClientId
Client ID matched
|
||
|
2022-09-26 16:40:14 |
SUCCESS
|
CreateAuthorizationCode
Created authorization code
|
||
|
2022-09-26 16:40:14 | SUCCESS |
ExtractNonceFromAuthorizationRequest
Extracted nonce
|
||
|
2022-09-26 16:40:14 | SUCCESS |
CalculateCHash
Successful c_hash encoding
|
||
|
2022-09-26 16:40:14 | SUCCESS |
CalculateSHash
Successful s_hash encoding
|
||
|
2022-09-26 16:40:14 |
SUCCESS
|
GenerateIdTokenClaims
Created ID Token Claims
|
||||||||||||
|
2022-09-26 16:40:14 |
|
FAPIBrazilAddCPFAndCPNJToIdTokenClaims
Request object does not contain a claims element.id_token
|
|
2022-09-26 16:40:14 | SUCCESS |
AddCHashToIdTokenClaims
Added c_hash to ID token claims
|
||||
|
2022-09-26 16:40:14 | SUCCESS |
AddSHashToIdTokenClaims
Added s_hash to ID token claims
|
||||
|
2022-09-26 16:40:14 | INFO |
AddAtHashToIdTokenClaims
Skipped evaluation due to missing required string: at_hash
|
||
|
2022-09-26 16:40:14 | INFO |
FAPIBrazilAddACRClaimToIdTokenClaims
Skipped evaluation due to missing required string: requested_id_token_acr_values
|
||
|
2022-09-26 16:40:14 |
SUCCESS
|
SignIdToken
Signed the ID token
|
||
|
2022-09-26 16:40:14 |
|
ChangeIdTokenEncryptedResponseAlgToRSA15
Changed id_token_encrypted_response_alg to RSA1_5
|
|
2022-09-26 16:40:14 |
|
EncryptIdToken
Encrypted the id token
|
||||||
|
2022-09-26 16:40:14 |
SUCCESS
|
FAPIBrazilChangeConsentStatusToAuthorized
Changed consent status to AUTHORISED
|
||
|
2022-09-26 16:40:14 |
SUCCESS
|
CreateAuthorizationEndpointResponseParams
Added authorization_endpoint_response_params to environment
|
||
|
2022-09-26 16:40:14 | SUCCESS |
AddCodeToAuthorizationEndpointResponseParams
Added code to authorization endpoint response params
|
||
|
2022-09-26 16:40:14 | SUCCESS |
AddIdTokenToAuthorizationEndpointResponseParams
Added id_token to authorization endpoint response params
|
||
|
2022-09-26 16:40:14 |
|
SendAuthorizationResponseWithResponseModeFragment
Redirecting back to client
|
||
|
2022-09-26 16:40:14 |
OUTGOING
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Response to HTTP request to test instance eBbudIZBy6MQIEr
|
||||
|
2022-09-26 16:40:19 |
FINISHED
|
fapi1-advanced-final-client-test-encrypted-idtoken-usingrsa15
Test has run to completion
|
||
|
2022-09-26 16:40:21 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|