-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
407 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
services/liquid-auth-api-js/src/__fixtures__/user-agent.android.fixtures.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
[ | ||
"com.fido.my1/10222.0000 (Android 1234; 8; Pixel)", | ||
"com.fido.my2/10223.0000 (Android 1234; 8; Pixel)", | ||
"com.fido.my3/10224.0000 (Android 1234; 8; Pixel)", | ||
"com.fido.my4/10225.0000 (Android 1234; 8; Pixel)", | ||
"com.fido.my5/10226.0000 (Android 1234; 8; Pixel)", | ||
"com.fido.my6/10227.0000 (Android 1234; 8; Pixel)" | ||
"foundation.algorand.demo/1.0 (Android 14; Pixel 8 Pro; google)" | ||
] |
6 changes: 0 additions & 6 deletions
6
services/liquid-auth-api-js/src/__mocks__/attestation.service.mock.ts
This file was deleted.
Oops, something went wrong.
13 changes: 8 additions & 5 deletions
13
...es/liquid-auth-api-js/src/attestation/__fixtures__/attestation.request.body.fixtures.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
[ | ||
{ | ||
"username": "B7WYCZ6HRBGCH452D24TYAK7BXKNCHEXY2X7S7FWZXMHDVTDOARAOURJEU", | ||
"displayName": "Test Wallet", | ||
"authenticatorSelection": "AuthenticatorSelectionCriteria", | ||
"attestationType": "AttestationConveyancePreference", | ||
"extensions": "AttestationExtension" | ||
"username": "UY5OHBV7O7RJXY7MKLDCVE4MCJ7OFSGFMCENS6BHJHCO3ERQU2CBJTVD2E", | ||
"displayName": "Liquid Auth User", | ||
"authenticatorSelection": { | ||
"userVerification": "required" | ||
}, | ||
"extensions": { | ||
"liquid": true | ||
} | ||
} | ||
] |
33 changes: 33 additions & 0 deletions
33
...iquid-auth-api-js/src/attestation/__fixtures__/attestation.request.response.fixtures.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[ | ||
{ | ||
"challenge": "Rr5tMsVFB3MLvWoNsMx8FlrPu9zSFwyOlOSu5vdXsr0", | ||
"rp": { | ||
"name": "Algorand Foundation FIDO2 Server", | ||
"id": "catfish-pro-wolf.ngrok-free.app" | ||
}, | ||
"user": { | ||
"id": "UY5OHBV7O7RJXY7MKLDCVE4MCJ7OFSGFMCENS6BHJHCO3ERQU2CBJTVD2E", | ||
"name": "UY5OHBV7O7RJXY7MKLDCVE4MCJ7OFSGFMCENS6BHJHCO3ERQU2CBJTVD2E", | ||
"displayName": "UY5OHBV7O7RJXY7MKLDCVE4MCJ7OFSGFMCENS6BHJHCO3ERQU2CBJTVD2E" | ||
}, | ||
"pubKeyCredParams": [ | ||
{ | ||
"type": "public-key", | ||
"alg": -7 | ||
}, | ||
{ | ||
"type": "public-key", | ||
"alg": -257 | ||
} | ||
], | ||
"timeout": 1800000, | ||
"attestation": "none", | ||
"excludeCredentials": [], | ||
"authenticatorSelection": { | ||
"userVerification": "required" | ||
}, | ||
"extensions": { | ||
"liquid": true | ||
} | ||
} | ||
] |
20 changes: 20 additions & 0 deletions
20
...s/liquid-auth-api-js/src/attestation/__fixtures__/attestation.response.body.fixtures.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"id": "AWa-UZM4mTlcmw-FwD3rJVqRjAztEHFMzT8TLlV4BcOTHrejej8om5f3EDcp5Nf8fOP07fzCC-YyaHJsIVMrWEc", | ||
"type": "public-key", | ||
"rawId": "AWa-UZM4mTlcmw-FwD3rJVqRjAztEHFMzT8TLlV4BcOTHrejej8om5f3EDcp5Nf8fOP07fzCC-YyaHJsIVMrWEc", | ||
"clientExtensionResults": { | ||
"liquid": { | ||
"type": "algorand", | ||
"requestId": "0.07285776111201803", | ||
"address": "UY5OHBV7O7RJXY7MKLDCVE4MCJ7OFSGFMCENS6BHJHCO3ERQU2CBJTVD2E", | ||
"signature": "yM0bKHTntG3VtAp_1nAgsxK2F__bv5FukQAB6W-SMEkcvGPPkXbAmahudJB9M0HTBCcwymH7rjvnO2qR73F7AA", | ||
"device": "Pixel 8 Pro" | ||
} | ||
}, | ||
"response": { | ||
"clientDataJSON": "eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiUnI1dE1zVkZCM01MdldvTnNNeDhGbHJQdTl6U0Z3eU9sT1N1NXZkWHNyMCIsIm9yaWdpbiI6ImFuZHJvaWQ6YXBrLWtleS1oYXNoOlI4eE83cmxRV2FXTDRCbEZ5Z3B0V1JiNXFjS1dkZmp6WklhU1JpdDlYVnciLCJhbmRyb2lkUGFja2FnZU5hbWUiOiJmb3VuZGF0aW9uLmFsZ29yYW5kLmRlbW8ifQ", | ||
"attestationObject": "o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YVjFlpPmT7RcYTDeFJdKhDtiKwzb05n-ojlcqqYw5SomXZBFAAAAAAAAAAAAAAAAAAAAAAAAAAAAQQFmvlGTOJk5XJsPhcA96yVakYwM7RBxTM0_Ey5VeAXDkx63o3o_KJuX9xA3KeTX_Hzj9O38wgvmMmhybCFTK1hHpQECAyYgASFYICaqhlIBYRrCy2ahphjY3x4fKmE_shT7-VFwRghppb8EIlggOduQ2APK_5rnS2JjWi_xvV3KkNRam3RLQIIU9V2M3d0" | ||
} | ||
} | ||
] |
14 changes: 14 additions & 0 deletions
14
...quid-auth-api-js/src/attestation/__fixtures__/attestation.response.response.fixtures.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"id": "QsJVONlF673mOkwOtfEICuoxj7CFW-s2DTOMlvt5saE", | ||
"wallet": "UY5OHBV7O7RJXY7MKLDCVE4MCJ7OFSGFMCENS6BHJHCO3ERQU2CBJTVD2E", | ||
"credentials": [ | ||
{ | ||
"device": "Pixel 8 Pro", | ||
"publicKey": "pQECAyYgASFYICaqhlIBYRrCy2ahphjY3x4fKmE_shT7-VFwRghppb8EIlggOduQ2APK_5rnS2JjWi_xvV3KkNRam3RLQIIU9V2M3d0", | ||
"credId": "AWa-UZM4mTlcmw-FwD3rJVqRjAztEHFMzT8TLlV4BcOTHrejej8om5f3EDcp5Nf8fOP07fzCC-YyaHJsIVMrWEc", | ||
"prevCounter": 0 | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.