Skip to content

Authada/eEWA-Backend-Wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wallet Backend

Generates cnonce for app attestations and device key PoP.

Returns wallet attestation based on https://datatracker.ietf.org/doc/html/draft-ietf-oauth-attestation-based-client-auth-02

  • Checks iOS and Android app attestations.
  • Checks Secure Element authentication key PoP if available.
  • Checks device key proof.
  • Device key proof contains app attestation and SE attestation in the payload.

Signature and Key Algorithms

Please use EC 256 bit keys and ES256 as signature algorithm for proofs.

App Attestation

Add attribute app_attestation in the proof. Content is a JSON object with fields type and attestation.

For type, these are supported:

  • iOS
  • Android

Type iOS expects a Base64 encoded iOS app attestation in the attestation attribute. Type Android expects a comma-separated Base64 encoded list of the android key attestation certificate chain.

Secure Element Attestation

Additionally, it is possible to send the attribute se_attestion in the proof. This must contain a Base64 encoded signature of the device public key used for the proof, signed with the authentication private key of the applet.

Endpoints

cnonce

Request:

curl https://id.staging.authada.de/eudi/wallet/cnonce -H "Accept: application/json" | jq .

Response:

{"c_nonce":"ec795743-801b-463c-a47b-2d9857ce5b05","c_nonce_expires_in":300}

attestation

Request:

curl https://id.staging.authada.de/eudi/wallet/attestation -H "Accept: application/json" -H "Content-Type: application/json" -d '{
    "proof": {
        "proof_type": "jwt",
        "jwt": "eyJ0eXAiOiJ3YWxsZXQtcHJvb2Yrand0IiwiYWxnIjoiRVMyNTYiLCJqd2siOnsia3R5IjoiRUMiLCJ1c2UiOiJzaWciLCJjcnYiOiJQLTI1NiIsImtpZCI6ImtMTDh1VnczNHZmemNpbWZkaUQ1WXpTblkvRFR5M0hqdnJ1cklsdURvdnM9IiwieCI6IlM5VVN4ZDlMR29NVHJEbWphczVyYlNPSUtoR0E1V0JhLWpEUUZSNFNoUkUiLCJ5IjoiTFBKM0NSLVVmcWRDUVZGSjdKbmxuTUh4bnY2ZXA3WjN3M3JieFBLNDBDQSIsImlh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gxd0NjQ3J6cGYxRzU0SUp1YXhEVTFBQUFBQUFHRndjR0YwZEdWemRHUmxkbVZzYjNBQUlKQ3kvTGxjTitMMzgzSXBuM1lnK1dNMHAyUHcwOHR4NDc2N3F5SmJnNkw3cFFFQ0F5WWdBU0ZZSUdoUEIxR3IzM01paDZ1ekYyY3JCUi95OEZRMUNITlFoL25Dbi90b0EzKzRJbGdnLys4bjRjTXN3OTRQTzNqOUZTdG5TVmxqNUlqVzNiOXllcWdlRm92aG9tVT0ifSwibm9uY2UiOiJUZXN0IiwiaWF0IjoxNzE4MzU1NjAzfQ.24O92RjeQ_fgrk1obHJCOSAj8bus-8TSgQZaAB2A-zzvZGXj7o9zUqsP84QhvAea7K4ITLMZPyHWU8yl-_FUXA"
    }
}' | jq .

Decoded JWT header:

{"typ":"wallet-proof+jwt","alg":"ES256","jwk":{"kty":"EC","use":"sig","crv":"P-256","kid":"3f14c9b8-2ab5-4d5d-b29a-b097a0816dce","x":"GkWEcXagtsxuUpvgTXFKphc16fTkPZ1XHfQHRNz29cI","y":"7_KIGqUek0xIhffw_L_DSw5v4WVx0IpZOH8rB1ZFnLE","iat":1718197462}

Decoded JWT payload:

{"iss":"http://localhost:8080","aud":"http://localhost:8080","app_attestation":{"type":"iOS","attestation":"o2NmbXRvYXBwbGUtYXBwYXR0ZXN0Z2F0dFN0bXSiY3g1Y4JZAywwggMoMIICrqADAgECAgYBkBHe6KMwCgYIKoZIzj0EAwIwTzEjMCEGA1UEAwwaQXBwbGUgQXBwIEF0dGVzdGF0aW9uIENBIDExEzARBgNVBAoMCkFwcGxlIEluYy4xEzARBgNVBAgMCkNhbGlmb3JuaWEwHhcNMjQwNjEyMTM1MjE5WhcNMjUwNjEyMDEwMzE5WjCBkTFJMEcGA1UEAwxAOTBiMmZjYjk1YzM3ZTJmN2YzNzIyOTlmNzYyMGY5NjMzNGE3NjNmMGQzY2I3MWUzYmViYmFiMjI1YjgzYTJmYjEaMBgGA1UECwwRQUFBIENlcnRpZmlj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ggqhkjOPQMBBwNCAAR3y7tOOo6VXuEL2A2/7Z9Nnb0BnERPx6Azo5DC3untp4BZZMrqHWfbZfEQxQDHocGC2cpHIbRhAdZBCu2QAxmzMAoGCCqGSM49BAMCA0gAMEUCIAEswEPrbKCn5MLV93XQTjuwGdg8zB34hQhI/0aFAs1HAiEA4RrTkqpNUIrbFrsaHNxxftdUunSHQ9OaU6hWo4o+LZk="],"x":"d8u7TjqOlV7hC9gNv-2fTZ29AZxET8egM6OQwt7p7ac","y":"gFlkyuodZ9tl8RDFAMehwYLZykchtGEB1kEK7ZADGbM"}}

Decoded attestation body:

{"iss":"http://localhost:8080","sub":"http://localhost:8080","cnf":{"jwk":{"kty":"EC","use":"sig","crv":"P-256","kid":"2a1d9b08-14c7-4da0-bb89-4ad67a6ad04d","x":"bDC3c1BNHIXbL7JxftnDQ5X8MsK3G7StGfsBfcLYY9g","y":"5JQ5F3sJBwVrh3NJMT2FtjAc2D35viGoeebGn9Ep8bA","iat":1718197539},"key_type":"secure_element","user_authentication":"secure_element_pin"},"exp":1718197895,"iat":1718197595,"aal":"https://trust-list.eu/aal/high"}

iss corresponds to wallet provider backend, sub to wallet client id

Corresponding attestation PoP example

eyJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0OjgwODAiLCJleHAiOjE3MTgxOTc3NDIsImlhdCI6MTcxODE5NzY4Miwibm9uY2UiOiJub25jZSIsImp0aSI6ImE0YzYxMTFhLTk5ZTgtNDUxOS1hMjZlLWEzODk1NWMxMzY4NSJ9.FwmYhFl7zPXG1f2tbvzlAm2KEMQio2FI9zLotugDnC7Q4MXUWJ9QGg-v8R7zwgTQo5mtSieJdg1yS1GDbPgfqw

Decoded header:

{"alg":"ES256"}

Decoded body:

{"iss":"http://localhost:8080","aud":"http://localhost:8080","exp":1718197742,"iat":1718197682,"nonce":"nonce","jti":"a4c6111a-99e8-4519-a26e-a38955c13685"}

aud corresponds to authentication server, iss to wallet client id

Request nonce for PoP

Issue a GET request at the PAR endpoint specified in the issuer OAuth authorization server metadata. The information relevant for deciding upon attestation usage is the field token_endpoint_auth_methods_supported containing the value attest_jwt_client_auth:

  "token_endpoint_auth_methods_supported":["attest_jwt_client_auth"]

If attest_jwt_client_auth is present, a wallet attestation and PoP needs to be sent with the pushed authorization request.

The response is the same as in the wallet backend.

Usage of wallet attestation and PoP in pushed authorization request

The body of the pushed authorization request is form urlencoded and therefore two form parameters need to be added:

Parameter client_assertion_type with value 'urn:ietf:params:oauth:client-assertion-type:jwt-client-attestation'

Parameter client_assertion with value "<wallet-attestation>~<wallet-attestation-pop>". The placeholders need to be replaced with the corresponding values in compact serialization format.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages