diff --git a/.changeset/blue-ads-smell.md b/.changeset/blue-ads-smell.md new file mode 100644 index 000000000000..3d0c9fa7ef6f --- /dev/null +++ b/.changeset/blue-ads-smell.md @@ -0,0 +1,6 @@ +--- +"@ledgerhq/errors": minor +"@ledgerhq/trustchain": minor +--- + +Fix Trustchain error when switching device while logged in diff --git a/libs/ledgerjs/packages/errors/src/index.ts b/libs/ledgerjs/packages/errors/src/index.ts index e5ccb3a6c2a8..362ac7f596d2 100644 --- a/libs/ledgerjs/packages/errors/src/index.ts +++ b/libs/ledgerjs/packages/errors/src/index.ts @@ -299,6 +299,9 @@ export const StatusCodes = { INVALID_RESTORE_STATE: 0x6643, INVALID_CHUNK_LENGTH: 0x6734, INVALID_BACKUP_HEADER: 0x684a, + + // Not documented: + TRUSTCHAIN_WRONG_SEED: 0xb007, }; export function getAltStatusMessage(code: number): string | undefined | null { diff --git a/libs/trustchain/mocks/scenarios/removeMemberWithTheWrongSeed.json b/libs/trustchain/mocks/scenarios/removeMemberWithTheWrongSeed.json index e72b0f729c40..af23bf36c92d 100644 --- a/libs/trustchain/mocks/scenarios/removeMemberWithTheWrongSeed.json +++ b/libs/trustchain/mocks/scenarios/removeMemberWithTheWrongSeed.json @@ -1,19 +1,20 @@ { - "apdus": "=> e0050000c30101070201001210a4d40f0e7e6748bb168d286f1528672314010115473045022075a84a55af32626841936b5294ea696ab0f581158eb65af5314ccf49e57083a3022100e052b269654edaaffe6e38504f702cdb9976d494671ffbe71bd75ff19ebbf288160466a901ed202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\n<= 00210121020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab547304502210087b7157a65935a3258c95e340800a6e083b75a0c69a7e3314800df0c3de15f4e02201675fd35fb1bd7176b29054f07a5d938a255171982fd875242d57c3f3c7d19150000210121029a8bef4947807f60aa2130f194f83b45e3989746a40d7b5a027ba13a38c2115f473045022100d44c2142f440e5b64034f0f43dd6b0e5ee6cd3802c57dd719e20ed8e4d4b539c0220476f2af47e54e258254f153a337237c7b2a641809b527cbd06d3efe35147a2749000\n=> e00600002102ceb73cd7c9d0afa4305bcc168481e10bec0ac9737787b4ac116d4f0849910b97\n<= 9000\n=> e00700004b010101022020d33deb7935ad76adc98836ea2c9ba8f4d9b4395c6b6fbe280df4adaa97bf560621030000000000000000000000000000000000000000000000000000000000000000010101\n<= 0010fd4de821dc8e9ba960f613b65559e9fd8131383582ecd9b928282037e5785e6630087b3768f14675f7c3998e773194acf2ec07de0eaa7fa776e4210f9990db8064df959000\n=> e0070100a210a005000102000006210000000000000000000000000000000000000000000000000000000000000000000510000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000621000000000000000000000000000000000000000000000000000000000000000000\n<= 00105b0e4b190880c31b96e73db910ae580e8260748fd9b967d030b12b09328a49a689c14bcb43a3765c7096c159f9b5de112f5c57e761c63a84e6487b2588db07116c9b989dbf37d7bacee573ab1a2843f361134413280a4ba0ba56882586e473c04c3a6ad070c67baf3e4695bda6727a8189a40321033e9ea198624fe28d3b08209ca4189d1984c78bb59aec3b09240def9967a830740410962fbccfa95227929e120ce6b7c48cf20521029cc3dc1a399d19c643da8edf5aa81756c4f6df0c32f3ab637d7ff9005b76b45f9000\n=> e007020000\n<= 46304402207c4d66b095e0a3657ea94600e11f0645bf47c8a8af884a95a0f73fdf6089f5e60220766b601f05a6b28936837527d782aa267ddd1774dbb0683e4c62d8fa98c48bd70003cd83bfd5fc2b1d38e6f860d686e6ea591e255efdc0953b3733f2f4566533f9569000\n=> e006000021022f4ecc1fab8b6ea73282725690281bc0e2d92e66ce4b18a97b40c54be594d1e6\n<= 9000\n=> e00800004b010101022020d33deb7935ad76adc98836ea2c9ba8f4d9b4395c6b6fbe280df4adaa97bf560621020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab5010101\n<= 9000\n=> e0080101b210b00500010200000621029cc3dc1a399d19c643da8edf5aa81756c4f6df0c32f3ab637d7ff9005b76b45f0510962fbccfa95227929e120ce6b7c48cf205508942e6aefde3e20957fba62c024eb49e4700ab487b702a679a34aafe08e0f2e401127708e89499bded0db1c2262c6dab7e6c63a2ac67ed39b4a6a0dcddd5d541267f8e7dd00a034d734b4ffe2d3873d90621033e9ea198624fe28d3b08209ca4189d1984c78bb59aec3b09240def9967a83074\n<= 9000\n=> e0080200480346304402207c4d66b095e0a3657ea94600e11f0645bf47c8a8af884a95a0f73fdf6089f5e60220766b601f05a6b28936837527d782aa267ddd1774dbb0683e4c62d8fa98c48bd7\n<= 9000\n=> e00700004b0101010220174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e0621030000000000000000000000000000000000000000000000000000000000000000010103\n<= 0010886b2a99fc7e091311809f5f489395348131c216d0ef591b2ab2d2e8bbc57691c6845e5a294e755b9a10b821984685a0ff3b9c8ce21d9587d6d647158e1809535f9abf9000\n=> e0070100181516050c8000000080000010800000000600050005000600\n<= 00109a7bc4bc4a92dd70f0935c60279d6caf82602db60b49871d335832721c21165775cd5d1212e4af87fc333ba7792c43a76983d86aa4782e2c4856bd35036a7bb38190befd274421a7f9a271168f26a0c137a2959ea56440817307498a5a5c9ec24573681ad64d2d2f328d94b048ecb0f66938032102a1370b80002b40f0cb53c426eaf7e3ffcc8946d50d4f543ee760dab000b08fe604100896490514521825d2b7851a4a1a4ee4052103143db7922624df673c6108820951e281135c359af2095ad17290b39b21c070a69000\n=> e007010035113304084d656d62657220310621025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa0104ffffffff\n<= 0010b0c6619fc2c434a5ee4f5b389c88af8186448cc35c41431809f8b0fa792c2c92fc3902ec0470097b3b530de910a5b99fc669a17b2328fcae7fbf48cab875d9569357641fb1cc420a405390a864ee8d503218da935cf39000\n=> e00701002b1229050005000621025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa0600\n<= 001019ffcdc57767eefd624f13131574b2d8826040c5b3c1e322d6944e25feb0e46abecf50f46fea668106fd4608a7e49785574a37a6ae7b3af6c13fda1ec96204b302d8bcb89584414d307dea44550ff844961a812e13113259afeaa6ac824a05b8ba47c29601194e4ef5f9e8c459ec4c9a390603210285c5e1859f47390e0ed8e9f01df5c1284eee18f9a783800fee78f798d38b980a041039e67d2735d860d1600f52aef7b3dc10862015f438d540f162d9e879eef2dc572b655526b4ac2d4c612a2d5aa13dd09826439000\n=> e007020000\n<= 46304402200176720a9d515d5d47ccc0ccb2420c4ecfe4794ce53330db24e34a1683b6128002206ea863e1405486f7ea85654558923c6f89e9675446edc537d7aa67ee23e3611800037d580579d02514098ecf22b4517d4b4645f1a2c3ccab185c8d5653b62cf2d5299000\n=> e0050000c30101070201001210ef075165551540d7c4232713e057239f1401011547304502204551ac376e87128e6cf5fe312d9dc2c8db7d4b20783ed44d9375c7b3745694cc02210095e3865bcae190e618b2bdefcfde3a477804041c4512a44c644a1ba3594baaae160466a901fb202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\n<= 0021012102500ea9ef21c6068625f478768853adfd2b7d19bdfa527ff1d2fd495c0cb1a9f0473045022100fd58e842092aee771c1a00ecbb45e6f5c2d13f63a700782607661f3eea4add9c02200d1c06fd801b85fb9f9d1549682e22a41514d96b294b7d94ff9ad53c482545080000210121029a8bef4947807f60aa2130f194f83b45e3989746a40d7b5a027ba13a38c2115f473045022100e2e206be6d2da93389eb61f061ca5ae11b367e5d184ac65c98f8d04bbb97452a0220684571449900241e8845c44a00dea58f761d58fb81ef8946764cd3871a37b7c29000\n", + "apdus": "=> e0050000c30101070201001210a72f50cf0dd28af34ae9cf3ebf09e294140101154730450220378289c7c80d2585eb8ee373ed053667a1f41d525549f29e3e79cc7008e7a75d022100af5166a23aafb10ad97ec0d3dc87ef5727ea8cb8d677584107e535b1afded2fb160466bc726d202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\n<= 0021012102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce8473045022100be76f14c76703dfd6f30f0f619eca57f2e254fb0594663c30e54197ace6211900220703781e82b66efb3a89d62b62b12625b1535d1f2aebf46f8870623515e2ac4900000210121029a8bef4947807f60aa2130f194f83b45e3989746a40d7b5a027ba13a38c2115f473045022100f6752a3a20744bb0b2c6abacfac9ed2ed73fe93a0303495228b9c46b26660ad402205991601aac3aeaae6ab7e4303d845870094026884d954b23d788bc5e127e779e9000\n=> e0060000210305cdab2562a1e47657e8774d07d0bebd86d55b0c38edee795ed63f49d03e019c\n<= 9000\n=> e00700004b01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e0621030000000000000000000000000000000000000000000000000000000000000000010101\n<= 0010db2523ed4cc5f0536bf08282f0561c218131c36e426c531da946d6a08d33562ec539587da18d7123b996ae91a58af706963f10796773b30ddbc01c0fbef0455b5699cd9000\n=> e0070100a210a005000102000006210000000000000000000000000000000000000000000000000000000000000000000510000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000621000000000000000000000000000000000000000000000000000000000000000000\n<= 00107fcc373d6f73baf9de3030bf486667238260df0575aba43ff52fef7dd9158a7a396042fc45fd510549f4146e1e8d72182c5d90e56339a216a811017fa3e02cc2710fb5db79067f6eef6a6665655a50ddc8016b6d0194d064aeea3926af199b33ea528ccd23c57a8499bd19ecd19d2eff9d320321025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f04100d8b1141abb996171bccd95aaa88226f052103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b499000\n=> e007020000\n<= 473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b2650102e46f869dabc57065f13f2b8ecb850294a4898bb8d72210bcc507e852bce6bcd99000\n=> e0060000210277a2ad5566260d966418bd3b29cb88c4407bf61d0930cd8ffdba6f9f72970518\n<= 9000\n=> e00800004b01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce8010101\n<= 9000\n=> e0080101b210b0050001020000062103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b4905100d8b1141abb996171bccd95aaa88226f0550e71a921965f023c2ec66767dec13778d06e9eaa12274a38cbbe034adf613e9e682bcb905249a766ef8c550382b9858b90af0b9625493f691fa6c3ea29950afdc29f6f51ec3a1a73b987b764515576e9c0621025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f\n<= 9000\n=> e00802004903473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b265\n<= 9000\n=> e00700004b0101010220da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d020621030000000000000000000000000000000000000000000000000000000000000000010103\n<= 0010b8aaf2a8f673eb862cee223c55d6f30f8131f9faef319706746f81ac13146a2003123e5d5212ce378211aec8d49ba71a8494d6e2423f024b734f5d822dfb54114aef079000\n=> e0070100181516050c8000000080000010800000000600050005000600\n<= 0010a5e843ea792c81c337fb6e6851904c0982607a4dd968a2dd64155df78a30c0461707f141248ed7ae656087840f90fe044728355bc20c68d4b1a499b88cd89a2d8e4756641d7c1988eb4b9c7697ecdfe34d270d1e67cad56c5a06409350c7bef72bbd5091fc497b627efd74ef98bc3b17514b032102a5672f1e3827a4e5d500b33f8823a64926d718e1e90cfe938ccbd52eb3e806ec04103b3eb231b19db7dd8bd919e0af0df0550521025897217856bc3daccef90aa9627ec8f4a132ad99dd6f9a1607ea7ea9a271ec2c9000\n=> e007010035113304084d656d6265722031062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef9200104ffffffff\n<= 0010c0290a1a7420e6fbbe211641e0d8ac2d8644caac754e3a8235bda5490d607f2bd7db77465440b3c6b1ebe568fdfd0eedce1761b9d0957e69348bfb281ac3ee250f62149a2e0cba0a8462e2356713e165312e036591089000\n=> e00701002b122905000500062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef9200600\n<= 0010f0a82622b43c282e61b2d321dbde3c4f82601cd16e41213d1d2f75b8c18b1f4c0c9613f26484e6fd84dae75e7b79c3fdbf31d05505759a1626aa563a522b46d784874b6c8c16cd88ad87e2fafdd28835eb023031168b4d1ae9f3b812052cd3ee57219c5afca1e0d145b364c6ee544b7c4267032103c0fda95bf1528430a995b6634cb0f92d51e7c40c0053574cc24c62b10e95a31f0410fe224bbc4361fd2339a95079b676d2a78620a9dc27dd7fe0daa7799f8f8fe7916ed4ec9c54d6c75d2388d8ab9fd4785f8f129000\n=> e007020000\n<= 46304402206f90ff7816d571be4dceb1da695d966dba17743caade3b69dc7f634bfccc362d02205735cc426b36eadbc39b85a0b1df57c45b81bdaebf1bca676fa3994850c0e0bc0003096d674414b527f47ddfa2fa652ab9397f15096df3fc83166b7b6dab5720a59a9000\n=> e006000021033f765139e74c9645d2ed4551825271694803cc61c9af7c61f74f0e3a7efc0765\n<= 9000\n=> e00800004b01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce8010101\n<= 9000\n=> e0080101b210b0050001020000062103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b4905100d8b1141abb996171bccd95aaa88226f0550e71a921965f023c2ec66767dec13778d06e9eaa12274a38cbbe034adf613e9e682bcb905249a766ef8c550382b9858b90af0b9625493f691fa6c3ea29950afdc29f6f51ec3a1a73b987b764515576e9c0621025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f\n<= 00103b0acc7508dea1c90ff507e53cda8dc78644a485d60e3a1e6655e74092782237152694bc6fca85578006f30de6d863c82d99c9e74d23389231963fd2c03a9020ac30091818128db4b5023fb90f333fb08b6d9ae0b3929000\n=> e00802004903473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b265\n<= 9000\n=> e00800004b0101010220da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce8010103\n<= 9000\n=> e0080101ba15b8050c8000000080000010800000000621025897217856bc3daccef90aa9627ec8f4a132ad99dd6f9a1607ea7ea9a271ec2c05103b3eb231b19db7dd8bd919e0af0df05505505428d03551d046e8109a0c6adc1e45603252b1fa821931700ff86be224dba4e6955050a6e5364d4ff89f75f7a251a6bd56f63d2731fa8ceec8daaa34c277618694db49ab8490c9fde1bcb403967d2146062102a5672f1e3827a4e5d500b33f8823a64926d718e1e90cfe938ccbd52eb3e806ec\n<= 9000\n=> e008010135113304084d656d6265722031062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef9200104ffffffff\n<= 00106840755313d1f3edee9db064890bace3864479e580e341523ab4a96505cc4493a731cd0c1628b2c1b40ad5273e475674a920f7568575287d7ab5ac0c5f2d4bf66e5741938b831a7fc18aa838a737e59702ecaaf624df9000\n=> e0080101ac12aa0510fe224bbc4361fd2339a95079b676d2a705504b2f02201dbc3aab358e1e7d4eabb0e588c8971a393eef521caaadaf2103b947ae937a9276f5472cf6b90bf5f1c23509f47491d2b3a6840caf2dcdf8bbf41e4e53d4b38bde08986260a0e21b2f45eff2062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920062103c0fda95bf1528430a995b6634cb0f92d51e7c40c0053574cc24c62b10e95a31f\n<= 00101159ae2cbe5ab5e23c7340a4b4b5f7c78644ad786f777fb851501e083ef14e15683d3ed3742bc4e21f55c4e40182abdc9a61f1a95d7cb5b8d83de204584218c97ef865712fc525966be9ebc8f52ddc7c7317cea1d4429000\n=> e0080200480346304402206f90ff7816d571be4dceb1da695d966dba17743caade3b69dc7f634bfccc362d02205735cc426b36eadbc39b85a0b1df57c45b81bdaebf1bca676fa3994850c0e0bc\n<= 9000\n=> e00800004b01010102202276e180e61c868c69df68620e22e2dc8fd6b3dfcd31a953e43ea84e16aa8451062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920010102\n<= 9000\n=> e008010135113304084d656d626572203206210209668673f9fbefcb794a93e81e46a5b7059a23897fdcfcf9a22b9471d87d8fe90104ffffffff\n<= 001079d52bdcb2c9b674fdd76a942c89fd0086444bb6bdd6a3516cf1ecc791b890ca831096ce3f2ba915ca77ce71070e266e9fa95c79f5345d6c7c5eecdd5723c506e2d99286fb0c73fc0aed5a27638fa6ed0eb890f643029000\n=> e0080101ac12aa0510920a81dff3553e923d66f1d823a7119405504ed537607163816eaa264c895973551c73ce8d2b026b340f7290736501e595fdfbd71812e26f2633b0584e5262c6eff1519ba5e9e1f80082d8f3d31baaf35541f8484f34d697f9be37d6287891cf2c1006210209668673f9fbefcb794a93e81e46a5b7059a23897fdcfcf9a22b9471d87d8fe9062102e3ad392f8b56a54f6175585ebb27a4e848d84170691144f9f1db4696495550f5\n<= 001005351481f212825993fb6a0cd095e88386448ecfae0d51fa83d745a2c589ab55f7eaa1bdafa99b4d46857b172ca0304823b39ce069378bc029cfe5a161679856da66d546ea9835416d6c94f36bcde013d51def3b3eeb9000\n=> e0080200480346304402203b93be7624597ee925ffaaa74aae41edd4222236aa3f7ded7b43b3340d00860c0220634ced8be7c134a7a3715fddaeac46f65697026e69ab2bab3a77669324845a93\n<= 9000\n=> e00700004b0101010220ae9812a44d811cbc7e6d87dfe02517efcb5fefff50399db3da13db05ee9f11b40621030000000000000000000000000000000000000000000000000000000000000000010101\n<= 0010fe345985cbc4f447f9937e321b5ea1a8813120db49293cb20bb09ecd4434bd9b6732ebbfb08fa0be21b59a4a2a5f60970e26eb5b2f819513fb94ce0f557fd5bd2a65999000\n=> e0070100021300\n<= 001002f012423c57c1ea31d5257326d868249000\n=> e007020000\n<= 4630440220780fd44db1abd79fdab6673f875a2b8992164daa89ae64eef9e1fa32f5d357520220785cf8d7b914dab02470e718370a9dfcca2b090a8b7cedfbe4257bf8d26bdf8401024459cb35b9153efdfa89d2db8f9d74868562db1e1ad4172e9511fd82d4a0afc69000\n=> e00600002102597aac8e09319a662d6c2e4b6b90f81048b0264dfad56e51b00c955a27cdb93d\n<= 9000\n=> e00800004b01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce8010101\n<= 9000\n=> e0080101b210b0050001020000062103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b4905100d8b1141abb996171bccd95aaa88226f0550e71a921965f023c2ec66767dec13778d06e9eaa12274a38cbbe034adf613e9e682bcb905249a766ef8c550382b9858b90af0b9625493f691fa6c3ea29950afdc29f6f51ec3a1a73b987b764515576e9c0621025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f\n<= 00105bfc27e5e8a525b935eaa794e90090478644f2349d1257a9af233d5574d1a93b1d0acd7048d62996e5de853bb69688ad544e4b21ba85a82adf81aea27ed115f154dd6e6fe7a7f6f392ce7d0214125de390c3712917de9000\n=> e00802004903473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b265\n<= 9000\n=> e00700004b0101010220da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d020621030000000000000000000000000000000000000000000000000000000000000000010103\n<= 0010294d6f54c184b0b1ef3bf5bd1dd6718d8131df6ee9c767a412a1dd1ab8dffbbccf79ac085a6fe70bcc956fadf9de2f121a0eae80ee28c36f7f253219952cd7c349d1449000\n=> e0070100181516050c8000000080000010800000010600050005000600\n<= b007\n", "crypto": { "randomBytesOutputs": [ - "b67295e79ec0aa2f07c4b7c18d451a2d229ead35592cbd2581b53f0f7b609ecc", - "20d33deb7935ad76adc98836ea2c9ba8f4d9b4395c6b6fbe280df4adaa97bf56", - "735ba412ad2d8bbcb5ed6cad24d02cc5" + "9ecba033b6952d256131727dffde18a5378e9b5e15c4cdf358eb3b3d9cf86332", + "3f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e", + "920a81dff3553e923d66f1d823a71194" ], "randomKeypairOutputs": [ - "c52e54a5988949b639d2240a508b3d0ad02d513df6d10cbc74c5d532d5625ccc", - "b6f32e802f9d67410bb164bd58f16676b04d32fd4915e1b34db18f605f94a2d1", - "ccce0e8ca1e118d264be684a15df6b8a44bb0e438cb38f6461c69bf9862c4ba2", - "03ef82123c3ef4755239784981db70c6afcfdaf5c66e495cb75bcfa70bafe99e", - "f02a5728c7cd73a366df93381b5c586035249dff3a8b6564039a146a8835179e", - "6fedb46f1de0bf7f394043baf94b54edd656b7f2d509728230cf184b582e1812", - "56892eea622422766ceeb6575422f83bca6bc2b8dec294f79f1dba426960dde0" + "7b1d9400f5c8d3e6ef13f5d2b77e64135050e15f0718b8e01b42947efabc37f0", + "d0a994c76d1d2f399ef214d937f37294fbd5fd68041aca682a58841774731f4a", + "dacad06bf7735475f4cd67b094cacb1debfb7bbf9682b4736eb4bec141587147", + "c30c8345eac6eef616fe35d01cad59a00a125e985323b9dc3bc9abba08a4cd6c", + "e2ee5aab68e0c1b9a460d780391b4dabb403568b7158e0b2cc896dfd31e63fcc", + "ac2a3fb9636690d75ef381e2a3766809f8028b068bd3d61c8b2616ff528c8398", + "36adf6739cf1fcda6b1e4652b76e2a68c15dc4abc0bab284d64e520ef9a774bb", + "c90bdcec7deaee5588ec0cfb5454e36cf85b79f39d31032e2342c8cb887a5691" ] }, "http": { @@ -35,12 +36,12 @@ "connection": "keep-alive", "content-length": "917", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:28 GMT", + "date": "Wed, 14 Aug 2024 08:31:32 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"a4d40f0e7e6748bb168d286f15286723\",\"expiry\":\"2024-07-30T15:08:29Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3045022075a84a55af32626841936b5294ea696ab0f581158eb65af5314ccf49e57083a3022100e052b269654edaaffe6e38504f702cdb9976d494671ffbe71bd75ff19ebbf288\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210a4d40f0e7e6748bb168d286f1528672314010115473045022075a84a55af32626841936b5294ea696ab0f581158eb65af5314ccf49e57083a3022100e052b269654edaaffe6e38504f702cdb9976d494671ffbe71bd75ff19ebbf288160466a901ed202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}" + "body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"a72f50cf0dd28af34ae9cf3ebf09e294\",\"expiry\":\"2024-08-14T09:01:33Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"30450220378289c7c80d2585eb8ee373ed053667a1f41d525549f29e3e79cc7008e7a75d022100af5166a23aafb10ad97ec0d3dc87ef5727ea8cb8d677584107e535b1afded2fb\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210a72f50cf0dd28af34ae9cf3ebf09e294140101154730450220378289c7c80d2585eb8ee373ed053667a1f41d525549f29e3e79cc7008e7a75d022100af5166a23aafb10ad97ec0d3dc87ef5727ea8cb8d677584107e535b1afded2fb160466bc726d202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}" } }, { @@ -54,7 +55,7 @@ "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" }, - "body": "{\"challenge\":{\"version\":0,\"challenge\":{\"data\":\"a4d40f0e7e6748bb168d286f15286723\",\"expiry\":\"2024-07-30T15:08:29Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3045022075a84a55af32626841936b5294ea696ab0f581158eb65af5314ccf49e57083a3022100e052b269654edaaffe6e38504f702cdb9976d494671ffbe71bd75ff19ebbf288\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"signature\":{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab5\"},\"signature\":\"304502210087b7157a65935a3258c95e340800a6e083b75a0c69a7e3314800df0c3de15f4e02201675fd35fb1bd7176b29054f07a5d938a255171982fd875242d57c3f3c7d1915\",\"attestation\":\"0000210121029a8bef4947807f60aa2130f194f83b45e3989746a40d7b5a027ba13a38c2115f473045022100d44c2142f440e5b64034f0f43dd6b0e5ee6cd3802c57dd719e20ed8e4d4b539c0220476f2af47e54e258254f153a337237c7b2a641809b527cbd06d3efe35147a274\"}}" + "body": "{\"challenge\":{\"version\":0,\"challenge\":{\"data\":\"a72f50cf0dd28af34ae9cf3ebf09e294\",\"expiry\":\"2024-08-14T09:01:33Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"30450220378289c7c80d2585eb8ee373ed053667a1f41d525549f29e3e79cc7008e7a75d022100af5166a23aafb10ad97ec0d3dc87ef5727ea8cb8d677584107e535b1afded2fb\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"signature\":{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"02d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce8\"},\"signature\":\"3045022100be76f14c76703dfd6f30f0f619eca57f2e254fb0594663c30e54197ace6211900220703781e82b66efb3a89d62b62b12625b1535d1f2aebf46f8870623515e2ac490\",\"attestation\":\"0000210121029a8bef4947807f60aa2130f194f83b45e3989746a40d7b5a027ba13a38c2115f473045022100f6752a3a20744bb0b2c6abacfac9ed2ed73fe93a0303495228b9c46b26660ad402205991601aac3aeaae6ab7e4303d845870094026884d954b23d788bc5e127e779e\"}}" }, "response": { "status": 200, @@ -63,12 +64,12 @@ "connection": "keep-alive", "content-length": "579", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:31 GMT", + "date": "Wed, 14 Aug 2024 08:31:35 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSub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E6MzZaIn0.BJzMZyJyU2VCYye71mxSyR4iH_FOtd3XyLgw8n3IT3P8U7dEyba9WrKsnVZrEw_luyBZolLaLRV7tzjC590q3A\",\"permissions\":{}}" } }, { @@ -77,7 +78,7 @@ "method": "GET", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIwZTBhODI0Y2VhYTAxMWZmNGU4MDk2MWE0NzIxNWUzZGQ0ZTVmNTE3YTgyNzQwNGI5MzljZjVhNDYxZDgyYWI1IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjEyLCJpYXQiOjE3MjIzNTAzMTEsImp0aSI6IjBmOTQ2NGYwLTdkYWUtNDRlYS1hOWFiLWZmZGY3ZTYyMmVmMyIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDctMzBUMTU6Mzg6MzJaIn0.zZFG9aYrkNzsJl0Wg2DldC8a7u0VvRMaLO8W6odyHzxJP_3Hfr4Wup1RBa1igTKSomWc11LhuCSU74iI_NAMDw", + "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDJkMDYyY2E5NGM2NTZiMDI4OTJkMDI3M2ViNmMxOGIwN2M3ZWRmMGZiMTNlNTc3NjU1MzkxZTM2ZDRlMWUzY2U4IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NTk2LCJpYXQiOjE3MjM2MjQyOTUsImp0aSI6IjJhMWUwZDZjLTI3OGYtNDgwNC1hODkxLTgyMjE1NTU0NDQ1MiIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDgtMTRUMDk6MzE6MzZaIn0.BJzMZyJyU2VCYye71mxSyR4iH_FOtd3XyLgw8n3IT3P8U7dEyba9WrKsnVZrEw_luyBZolLaLRV7tzjC590q3A", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" } @@ -89,7 +90,7 @@ "connection": "keep-alive", "content-length": "2", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:31 GMT", + "date": "Wed, 14 Aug 2024 08:31:35 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" @@ -103,20 +104,20 @@ "method": "POST", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIwZTBhODI0Y2VhYTAxMWZmNGU4MDk2MWE0NzIxNWUzZGQ0ZTVmNTE3YTgyNzQwNGI5MzljZjVhNDYxZDgyYWI1IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjEyLCJpYXQiOjE3MjIzNTAzMTEsImp0aSI6IjBmOTQ2NGYwLTdkYWUtNDRlYS1hOWFiLWZmZGY3ZTYyMmVmMyIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDctMzBUMTU6Mzg6MzJaIn0.zZFG9aYrkNzsJl0Wg2DldC8a7u0VvRMaLO8W6odyHzxJP_3Hfr4Wup1RBa1igTKSomWc11LhuCSU74iI_NAMDw", - "content-length": "652", + "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDJkMDYyY2E5NGM2NTZiMDI4OTJkMDI3M2ViNmMxOGIwN2M3ZWRmMGZiMTNlNTc3NjU1MzkxZTM2ZDRlMWUzY2U4IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NTk2LCJpYXQiOjE3MjM2MjQyOTUsImp0aSI6IjJhMWUwZDZjLTI3OGYtNDgwNC1hODkxLTgyMjE1NTU0NDQ1MiIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDgtMTRUMDk6MzE6MzZaIn0.BJzMZyJyU2VCYye71mxSyR4iH_FOtd3XyLgw8n3IT3P8U7dEyba9WrKsnVZrEw_luyBZolLaLRV7tzjC590q3A", + "content-length": "654", "content-type": "application/json", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" }, - "body": "\"010101022020d33deb7935ad76adc98836ea2c9ba8f4d9b4395c6b6fbe280df4adaa97bf560621020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab501010110b00500010200000621029cc3dc1a399d19c643da8edf5aa81756c4f6df0c32f3ab637d7ff9005b76b45f0510962fbccfa95227929e120ce6b7c48cf205508942e6aefde3e20957fba62c024eb49e4700ab487b702a679a34aafe08e0f2e401127708e89499bded0db1c2262c6dab7e6c63a2ac67ed39b4a6a0dcddd5d541267f8e7dd00a034d734b4ffe2d3873d90621033e9ea198624fe28d3b08209ca4189d1984c78bb59aec3b09240def9967a830740346304402207c4d66b095e0a3657ea94600e11f0645bf47c8a8af884a95a0f73fdf6089f5e60220766b601f05a6b28936837527d782aa267ddd1774dbb0683e4c62d8fa98c48bd7\"" + "body": "\"01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce801010110b0050001020000062103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b4905100d8b1141abb996171bccd95aaa88226f0550e71a921965f023c2ec66767dec13778d06e9eaa12274a38cbbe034adf613e9e682bcb905249a766ef8c550382b9858b90af0b9625493f691fa6c3ea29950afdc29f6f51ec3a1a73b987b764515576e9c0621025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f03473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b265\"" }, "response": { "status": 204, "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "date": "Tue, 30 Jul 2024 14:38:33 GMT", + "date": "Wed, 14 Aug 2024 08:31:37 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" @@ -129,7 +130,7 @@ "method": "GET", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIwZTBhODI0Y2VhYTAxMWZmNGU4MDk2MWE0NzIxNWUzZGQ0ZTVmNTE3YTgyNzQwNGI5MzljZjVhNDYxZDgyYWI1IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjEyLCJpYXQiOjE3MjIzNTAzMTEsImp0aSI6IjBmOTQ2NGYwLTdkYWUtNDRlYS1hOWFiLWZmZGY3ZTYyMmVmMyIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDctMzBUMTU6Mzg6MzJaIn0.zZFG9aYrkNzsJl0Wg2DldC8a7u0VvRMaLO8W6odyHzxJP_3Hfr4Wup1RBa1igTKSomWc11LhuCSU74iI_NAMDw", + "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDJkMDYyY2E5NGM2NTZiMDI4OTJkMDI3M2ViNmMxOGIwN2M3ZWRmMGZiMTNlNTc3NjU1MzkxZTM2ZDRlMWUzY2U4IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NTk2LCJpYXQiOjE3MjM2MjQyOTUsImp0aSI6IjJhMWUwZDZjLTI3OGYtNDgwNC1hODkxLTgyMjE1NTU0NDQ1MiIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDgtMTRUMDk6MzE6MzZaIn0.BJzMZyJyU2VCYye71mxSyR4iH_FOtd3XyLgw8n3IT3P8U7dEyba9WrKsnVZrEw_luyBZolLaLRV7tzjC590q3A", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" } @@ -141,12 +142,12 @@ "connection": "keep-alive", "content-length": "777", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:33 GMT", + "date": "Wed, 14 Aug 2024 08:31:37 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubG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U5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLyI6WyJvd25lciJdfX0sImRldmljZSI6dHJ1ZSwicmVmcmVzaEV4cGlyYXRpb24iOiIyMDI0LTA4LTE0VDA5OjMxOjM2WiJ9.W6eOi87gGq5-o9xbPryXyKfRvaVdrzJIxd-pLgZb5m37JoVsK7NGII7N4NTw6yuuitrW6I5yE3c3zpBXJA-WPg\",\"permissions\":{\"00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02\":{\"m/\":[\"owner\"]}}}" } }, { @@ -155,7 +156,7 @@ "method": "GET", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIwZTBhODI0Y2VhYTAxMWZmNGU4MDk2MWE0NzIxNWUzZGQ0ZTVmNTE3YTgyNzQwNGI5MzljZjVhNDYxZDgyYWI1IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjE0LCJpYXQiOjE3MjIzNTAzMTMsImp0aSI6ImVlYzIyZTIyLWQ1YzYtNDc5MC1iYzcyLWRlNTEyMzMxZjBjNiIsInBlcm1pc3Npb25zIjp7IjAwMTc0NTc1YmRhMDNkMTg3NDVmYmZlZjA5ZmY5ODVjOWYzNWM1MDc2NTAwY2Q0YWRlYjI1OGE5Y2UyODQxMWQ3ZSI6eyJtLyI6WyJvd25lciJdfX0sImRldmljZSI6dHJ1ZSwicmVmcmVzaEV4cGlyYXRpb24iOiIyMDI0LTA3LTMwVDE1OjM4OjMyWiJ9.uD317IOA7HyVe41NM_RDa_DtoF-GC3EpCIg6c8V-C1Ja6xQeQeLb0wLfqdjQnwnCBkh07BjBixZTI6UV8f5uow", + "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDJkMDYyY2E5NGM2NTZiMDI4OTJkMDI3M2ViNmMxOGIwN2M3ZWRmMGZiMTNlNTc3NjU1MzkxZTM2ZDRlMWUzY2U4IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NTk4LCJpYXQiOjE3MjM2MjQyOTcsImp0aSI6IjE4YWVjZTQ1LTFjMmItNDVjMS1hNzM1LTAwNTE2NTNiZmVjNSIsInBlcm1pc3Npb25zIjp7IjAwZGE1NjU5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLyI6WyJvd25lciJdfX0sImRldmljZSI6dHJ1ZSwicmVmcmVzaEV4cGlyYXRpb24iOiIyMDI0LTA4LTE0VDA5OjMxOjM2WiJ9.W6eOi87gGq5-o9xbPryXyKfRvaVdrzJIxd-pLgZb5m37JoVsK7NGII7N4NTw6yuuitrW6I5yE3c3zpBXJA-WPg", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" } @@ -167,21 +168,21 @@ "connection": "keep-alive", "content-length": "87", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:33 GMT", + "date": "Wed, 14 Aug 2024 08:31:37 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e\":{\"m/\":[\"owner\"]}}" + "body": "{\"00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02\":{\"m/\":[\"owner\"]}}" } }, { "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e", + "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02", "method": "GET", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIwZTBhODI0Y2VhYTAxMWZmNGU4MDk2MWE0NzIxNWUzZGQ0ZTVmNTE3YTgyNzQwNGI5MzljZjVhNDYxZDgyYWI1IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjE0LCJpYXQiOjE3MjIzNTAzMTMsImp0aSI6ImVlYzIyZTIyLWQ1YzYtNDc5MC1iYzcyLWRlNTEyMzMxZjBjNiIsInBlcm1pc3Npb25zIjp7IjAwMTc0NTc1YmRhMDNkMTg3NDVmYmZlZjA5ZmY5ODVjOWYzNWM1MDc2NTAwY2Q0YWRlYjI1OGE5Y2UyODQxMWQ3ZSI6eyJtLyI6WyJvd25lciJdfX0sImRldmljZSI6dHJ1ZSwicmVmcmVzaEV4cGlyYXRpb24iOiIyMDI0LTA3LTMwVDE1OjM4OjMyWiJ9.uD317IOA7HyVe41NM_RDa_DtoF-GC3EpCIg6c8V-C1Ja6xQeQeLb0wLfqdjQnwnCBkh07BjBixZTI6UV8f5uow", + "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDJkMDYyY2E5NGM2NTZiMDI4OTJkMDI3M2ViNmMxOGIwN2M3ZWRmMGZiMTNlNTc3NjU1MzkxZTM2ZDRlMWUzY2U4IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NTk4LCJpYXQiOjE3MjM2MjQyOTcsImp0aSI6IjE4YWVjZTQ1LTFjMmItNDVjMS1hNzM1LTAwNTE2NTNiZmVjNSIsInBlcm1pc3Npb25zIjp7IjAwZGE1NjU5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLyI6WyJvd25lciJdfX0sImRldmljZSI6dHJ1ZSwicmVmcmVzaEV4cGlyYXRpb24iOiIyMDI0LTA4LTE0VDA5OjMxOjM2WiJ9.W6eOi87gGq5-o9xbPryXyKfRvaVdrzJIxd-pLgZb5m37JoVsK7NGII7N4NTw6yuuitrW6I5yE3c3zpBXJA-WPg", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" } @@ -191,36 +192,36 @@ "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "content-length": "659", + "content-length": "661", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:33 GMT", + "date": "Wed, 14 Aug 2024 08:31:37 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"m/\":\"010101022020d33deb7935ad76adc98836ea2c9ba8f4d9b4395c6b6fbe280df4adaa97bf560621020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab501010110b00500010200000621029cc3dc1a399d19c643da8edf5aa81756c4f6df0c32f3ab637d7ff9005b76b45f0510962fbccfa95227929e120ce6b7c48cf205508942e6aefde3e20957fba62c024eb49e4700ab487b702a679a34aafe08e0f2e401127708e89499bded0db1c2262c6dab7e6c63a2ac67ed39b4a6a0dcddd5d541267f8e7dd00a034d734b4ffe2d3873d90621033e9ea198624fe28d3b08209ca4189d1984c78bb59aec3b09240def9967a830740346304402207c4d66b095e0a3657ea94600e11f0645bf47c8a8af884a95a0f73fdf6089f5e60220766b601f05a6b28936837527d782aa267ddd1774dbb0683e4c62d8fa98c48bd7\"}" + "body": "{\"m/\":\"01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce801010110b0050001020000062103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b4905100d8b1141abb996171bccd95aaa88226f0550e71a921965f023c2ec66767dec13778d06e9eaa12274a38cbbe034adf613e9e682bcb905249a766ef8c550382b9858b90af0b9625493f691fa6c3ea29950afdc29f6f51ec3a1a73b987b764515576e9c0621025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f03473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b265\"}" } }, { "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e/derivation", + "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02/derivation", "method": "POST", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIwZTBhODI0Y2VhYTAxMWZmNGU4MDk2MWE0NzIxNWUzZGQ0ZTVmNTE3YTgyNzQwNGI5MzljZjVhNDYxZDgyYWI1IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhw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W6I5yE3c3zpBXJA-WPg", "content-length": "1118", "content-type": "application/json", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" }, - "body": "\"0101010220174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e0621020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab501010315b8050c800000008000001080000000062103143db7922624df673c6108820951e281135c359af2095ad17290b39b21c070a605100896490514521825d2b7851a4a1a4ee40550e779bc835c7fab1fab1f44936a54137edfddf8357d17c9977f65958c09ca606f909c213ecce089c6dd67275a185b7e3bd979d3e87a120af0dcebb8bc83048ce4a2f44c3c372b1d8320798b87e76e61f8062102a1370b80002b40f0cb53c426eaf7e3ffcc8946d50d4f543ee760dab000b08fe6113304084d656d62657220310621025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa0104ffffffff12aa051039e67d2735d860d1600f52aef7b3dc1005506cd7f633960bd49cc65342eccf8e49ba78cb6d11bc09bd9dda0bcbf8e5f864b98cb0c8efffc6a879225fd63cef88a227f844c33940fc15f77acef472609a7fd9eec143ee4569a97c16a08bf9df3587e40621025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa06210285c5e1859f47390e0ed8e9f01df5c1284eee18f9a783800fee78f798d38b980a0346304402200176720a9d515d5d47ccc0ccb2420c4ecfe4794ce53330db24e34a1683b6128002206ea863e1405486f7ea85654558923c6f89e9675446edc537d7aa67ee23e36118\"" + "body": "\"0101010220da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce801010315b8050c8000000080000010800000000621025897217856bc3daccef90aa9627ec8f4a132ad99dd6f9a1607ea7ea9a271ec2c05103b3eb231b19db7dd8bd919e0af0df05505505428d03551d046e8109a0c6adc1e45603252b1fa821931700ff86be224dba4e6955050a6e5364d4ff89f75f7a251a6bd56f63d2731fa8ceec8daaa34c277618694db49ab8490c9fde1bcb403967d2146062102a5672f1e3827a4e5d500b33f8823a64926d718e1e90cfe938ccbd52eb3e806ec113304084d656d6265722031062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef9200104ffffffff12aa0510fe224bbc4361fd2339a95079b676d2a705504b2f02201dbc3aab358e1e7d4eabb0e588c8971a393eef521caaadaf2103b947ae937a9276f5472cf6b90bf5f1c23509f47491d2b3a6840caf2dcdf8bbf41e4e53d4b38bde08986260a0e21b2f45eff2062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920062103c0fda95bf1528430a995b6634cb0f92d51e7c40c0053574cc24c62b10e95a31f0346304402206f90ff7816d571be4dceb1da695d966dba17743caade3b69dc7f634bfccc362d02205735cc426b36eadbc39b85a0b1df57c45b81bdaebf1bca676fa3994850c0e0bc\"" }, "response": { "status": 204, "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "date": "Tue, 30 Jul 2024 14:38:37 GMT", + "date": "Wed, 14 Aug 2024 08:31:41 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" @@ -244,12 +245,12 @@ "connection": "keep-alive", "content-length": "917", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:37 GMT", + "date": "Wed, 14 Aug 2024 08:31:41 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"293b3f867ea0c310c5e3d6d6477b5e44\",\"expiry\":\"2024-07-30T15:08:38Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3045022057e396a3d1d9930c60e6cd252dcc67f6bcadcaf3ddcb77c970d22fcf1523934c022100b6d187181224f934bc3253de097ba44a5310cf6744b1da81a9fc514057649480\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210293b3f867ea0c310c5e3d6d6477b5e4414010115473045022057e396a3d1d9930c60e6cd252dcc67f6bcadcaf3ddcb77c970d22fcf1523934c022100b6d187181224f934bc3253de097ba44a5310cf6744b1da81a9fc514057649480160466a901f6202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}" + "body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"bf8dc2dbbd5c0c47eee08da7bb66f8e0\",\"expiry\":\"2024-08-14T09:01:42Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3045022019eca59193817956a3e2adf6176aa3e3586231dffb463507b464ea2545e29f7b0221009e0a15bc684ef6b1c905161844ffeeda721bc2e914eea6b7cf5ed2236de1c195\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210bf8dc2dbbd5c0c47eee08da7bb66f8e014010115473045022019eca59193817956a3e2adf6176aa3e3586231dffb463507b464ea2545e29f7b0221009e0a15bc684ef6b1c905161844ffeeda721bc2e914eea6b7cf5ed2236de1c195160466bc7276202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}" } }, { @@ -263,7 +264,7 @@ "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" }, - "body": "{\"challenge\":{\"version\":0,\"challenge\":{\"data\":\"293b3f867ea0c310c5e3d6d6477b5e44\",\"expiry\":\"2024-07-30T15:08:38Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3045022057e396a3d1d9930c60e6cd252dcc67f6bcadcaf3ddcb77c970d22fcf1523934c022100b6d187181224f934bc3253de097ba44a5310cf6744b1da81a9fc514057649480\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"signature\":{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa\"},\"signature\":\"3045022100d3f527c7d5d692eb67aa61fab2193476e9a03fea1ebd04363b042ccea04fdd9b022008a4707bbeeae6c2b39cd671b17dea918f28a827190372b2463180f17b734303\",\"attestation\":\"0242303031373435373562646130336431383734356662666566303966663938356339663335633530373635303063643461646562323538613963653238343131643765\"}}" + "body": "{\"challenge\":{\"version\":0,\"challenge\":{\"data\":\"bf8dc2dbbd5c0c47eee08da7bb66f8e0\",\"expiry\":\"2024-08-14T09:01:42Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3045022019eca59193817956a3e2adf6176aa3e3586231dffb463507b464ea2545e29f7b0221009e0a15bc684ef6b1c905161844ffeeda721bc2e914eea6b7cf5ed2236de1c195\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"signature\":{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"02104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920\"},\"signature\":\"3045022100c651bd39ecd605d8dccffe5d0ebdede8ffcd7c5ed9a019b0332464c432c3f95a02203e33eb2fd8f990c620dd23ceef21eec9a0930a5322e4f42ea5b6817c31d34781\",\"attestation\":\"0242303064613536353966376532643161316234313733303763373237333137363030386335386266383030386264333138363633636232346339343031396535643032\"}}" }, "response": { "status": 200, @@ -272,21 +273,21 @@ "connection": "keep-alive", "content-length": "800", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:37 GMT", + "date": "Wed, 14 Aug 2024 08:31:41 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDI1ZjM3NDI5ZTUxODY2ZWI1YzA3YmFjY2IzYjYxYTk5MTFlNDdiYTQ4ZGQ4NzI5NTc2ZGE2N2EzODM1MzMwMGFhIiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjE4LCJpYXQiOjE3MjIzNTAzMTcsImp0aSI6IjkzZjEwYmY5LWU2ODUtNDNlMS05ZWQyLTMwNTJmMTMzYjg3ZiIsInBlcm1pc3Npb25zIjp7IjAwMTc0NTc1YmRhMDNkMTg3NDVmYmZlZjA5ZmY5ODVjOWYzNWM1MDc2NTAwY2Q0YWRlYjI1OGE5Y2UyODQxMWQ3ZSI6eyJtLzAnLzE2Jy8wJyI6WyJvd25lciJdfX0sImRldmljZSI6ZmFsc2UsInJlZnJlc2hFeHBpcmF0aW9uIjoiMjAyNC0wNy0zMFQxNTozODozOFoifQ.zZTtDusc1mneI3f4JmgiL_CaF1XGP_I7oSeIBW-nionFz3hyVieDz7UwL8BM_V6juOQPV0HCQoIpIzrZpSAurg\",\"permissions\":{\"00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e\":{\"m/0'/16'/0'\":[\"owner\"]}}}" + "body": "{\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIxMDRkZWNkZWJmZjg3ZGI0OGVlYzJhNzdlN2YwYmU1NjAwNTIyNTEyYzZhYWZmNWEwZTc1OGIyNzdkMGVmOTIwIiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NjAyLCJpYXQiOjE3MjM2MjQzMDEsImp0aSI6IjJjZGNkNjE2LTE5MjEtNGQ2My05YmFiLTdjMmUwNmI4MWMwNSIsInBlcm1pc3Npb25zIjp7IjAwZGE1NjU5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLzAnLzE2Jy8wJyI6WyJvd25lciJdfX0sImRldmljZSI6ZmFsc2UsInJlZnJlc2hFeHBpcmF0aW9uIjoiMjAyNC0wOC0xNFQwOTozMTo0MloifQ.bXnYExttlKqckHE4XerbacYtUgIOxzfh4k6AjNJf_xd_FTOLAknumWCX4o4BgZWYtqt5vmG9Z36kY8gCtFA1Sg\",\"permissions\":{\"00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02\":{\"m/0'/16'/0'\":[\"owner\"]}}}" } }, { "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e", + "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02", "method": "GET", "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Q2My05YmFiLTdjMmUwNmI4MWMwNSIsInBlcm1pc3Npb25zIjp7IjAwZGE1NjU5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLzAnLzE2Jy8wJyI6WyJvd25lciJdfX0sImRldmljZSI6ZmFsc2UsInJlZnJlc2hFeHBpcmF0aW9uIjoiMjAyNC0wOC0xNFQwOTozMTo0MloifQ.bXnYExttlKqckHE4XerbacYtUgIOxzfh4k6AjNJf_xd_FTOLAknumWCX4o4BgZWYtqt5vmG9Z36kY8gCtFA1Sg", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" } @@ -296,36 +297,36 @@ "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "content-length": "1786", + "content-length": "1788", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:37 GMT", + "date": "Wed, 14 Aug 2024 08:31:41 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"m/\":\"010101022020d33deb7935ad76adc98836ea2c9ba8f4d9b4395c6b6fbe280df4adaa97bf560621020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab501010110b00500010200000621029cc3dc1a399d19c643da8edf5aa81756c4f6df0c32f3ab637d7ff9005b76b45f0510962fbccfa95227929e120ce6b7c48cf205508942e6aefde3e20957fba62c024eb49e4700ab487b702a679a34aafe08e0f2e401127708e89499bded0db1c2262c6dab7e6c63a2ac67ed39b4a6a0dcddd5d541267f8e7dd00a034d734b4ffe2d3873d90621033e9ea198624fe28d3b08209ca4189d1984c78bb59aec3b09240def9967a830740346304402207c4d66b095e0a3657ea94600e11f0645bf47c8a8af884a95a0f73fdf6089f5e60220766b601f05a6b28936837527d782aa267ddd1774dbb0683e4c62d8fa98c48bd7\",\"m/16'\":\"0101010220174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e0621020e0a824ceaa011ff4e80961a47215e3dd4e5f517a827404b939cf5a461d82ab501010315b8050c800000008000001080000000062103143db7922624df673c6108820951e281135c359af2095ad17290b39b21c070a605100896490514521825d2b7851a4a1a4ee40550e779bc835c7fab1fab1f44936a54137edfddf8357d17c9977f65958c09ca606f909c213ecce089c6dd67275a185b7e3bd979d3e87a120af0dcebb8bc83048ce4a2f44c3c372b1d8320798b87e76e61f8062102a1370b80002b40f0cb53c426eaf7e3ffcc8946d50d4f543ee760dab000b08fe6113304084d656d62657220310621025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa0104ffffffff12aa051039e67d2735d860d1600f52aef7b3dc1005506cd7f633960bd49cc65342eccf8e49ba78cb6d11bc09bd9dda0bcbf8e5f864b98cb0c8efffc6a879225fd63cef88a227f844c33940fc15f77acef472609a7fd9eec143ee4569a97c16a08bf9df3587e40621025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa06210285c5e1859f47390e0ed8e9f01df5c1284eee18f9a783800fee78f798d38b980a0346304402200176720a9d515d5d47ccc0ccb2420c4ecfe4794ce53330db24e34a1683b6128002206ea863e1405486f7ea85654558923c6f89e9675446edc537d7aa67ee23e36118\"}" + "body": "{\"m/\":\"01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce801010110b0050001020000062103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b4905100d8b1141abb996171bccd95aaa88226f0550e71a921965f023c2ec66767dec13778d06e9eaa12274a38cbbe034adf613e9e682bcb905249a766ef8c550382b9858b90af0b9625493f691fa6c3ea29950afdc29f6f51ec3a1a73b987b764515576e9c0621025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f03473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b265\",\"m/16'\":\"0101010220da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce801010315b8050c8000000080000010800000000621025897217856bc3daccef90aa9627ec8f4a132ad99dd6f9a1607ea7ea9a271ec2c05103b3eb231b19db7dd8bd919e0af0df05505505428d03551d046e8109a0c6adc1e45603252b1fa821931700ff86be224dba4e6955050a6e5364d4ff89f75f7a251a6bd56f63d2731fa8ceec8daaa34c277618694db49ab8490c9fde1bcb403967d2146062102a5672f1e3827a4e5d500b33f8823a64926d718e1e90cfe938ccbd52eb3e806ec113304084d656d6265722031062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef9200104ffffffff12aa0510fe224bbc4361fd2339a95079b676d2a705504b2f02201dbc3aab358e1e7d4eabb0e588c8971a393eef521caaadaf2103b947ae937a9276f5472cf6b90bf5f1c23509f47491d2b3a6840caf2dcdf8bbf41e4e53d4b38bde08986260a0e21b2f45eff2062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920062103c0fda95bf1528430a995b6634cb0f92d51e7c40c0053574cc24c62b10e95a31f0346304402206f90ff7816d571be4dceb1da695d966dba17743caade3b69dc7f634bfccc362d02205735cc426b36eadbc39b85a0b1df57c45b81bdaebf1bca676fa3994850c0e0bc\"}" } }, { "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e/commands", + "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02/commands", "method": "PUT", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0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E3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLzAnLzE2Jy8wJyI6WyJvd25lciJdfX0sImRldmljZSI6ZmFsc2UsInJlZnJlc2hFeHBpcmF0aW9uIjoiMjAyNC0wOC0xNFQwOTozMTo0MloifQ.bXnYExttlKqckHE4XerbacYtUgIOxzfh4k6AjNJf_xd_FTOLAknumWCX4o4BgZWYtqt5vmG9Z36kY8gCtFA1Sg", + "content-length": "780", "content-type": "application/json", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" }, - "body": "{\"path\":\"m/0'/16'/0'\",\"blocks\":[\"0101010220744e2adabe185f37eb63958fd263a089e6006ea386bfde8ba05ce62e1303fdd80621025f37429e51866eb5c07baccb3b61a9911e47ba48dd8729576da67a38353300aa010102113304084d656d626572203206210332d14983b138ac40b2553c7c0d3901a9f99322bd1232a0aa888264e424c1e1450104ffffffff12aa0510735ba412ad2d8bbcb5ed6cad24d02cc50550c7f1a312c28a437121c787138469832483ca14c4c49821aba92a93fc86da7bb67c8281b557aa9048fa2576cb9c2fb331006adcc84353208761fae1efdc6b8af5778edbe8c2f972d65a3429e96eaddc2806210332d14983b138ac40b2553c7c0d3901a9f99322bd1232a0aa888264e424c1e1450621030abc451d80da307f2515c4e119f2ea2e03165e7a72bbbfc147b0dd5452f1d05d03473045022100b1efb0c693c8fbf81b6c7cf9736c314cd9cbec7732efe0b933c47aa141c9880a02205931c5f93744952fb7daafb826fc91f904f4fa8d986aa9e207cef18ffad2c66e\"]}" + "body": "{\"path\":\"m/0'/16'/0'\",\"blocks\":[\"01010102202276e180e61c868c69df68620e22e2dc8fd6b3dfcd31a953e43ea84e16aa8451062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920010102113304084d656d626572203206210209668673f9fbefcb794a93e81e46a5b7059a23897fdcfcf9a22b9471d87d8fe90104ffffffff12aa0510920a81dff3553e923d66f1d823a7119405504ed537607163816eaa264c895973551c73ce8d2b026b340f7290736501e595fdfbd71812e26f2633b0584e5262c6eff1519ba5e9e1f80082d8f3d31baaf35541f8484f34d697f9be37d6287891cf2c1006210209668673f9fbefcb794a93e81e46a5b7059a23897fdcfcf9a22b9471d87d8fe9062102e3ad392f8b56a54f6175585ebb27a4e848d84170691144f9f1db4696495550f50346304402203b93be7624597ee925ffaaa74aae41edd4222236aa3f7ded7b43b3340d00860c0220634ced8be7c134a7a3715fddaeac46f65697026e69ab2bab3a77669324845a93\"]}" }, "response": { "status": 204, "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "date": "Tue, 30 Jul 2024 14:38:37 GMT", + "date": "Wed, 14 Aug 2024 08:31:41 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" @@ -334,10 +335,11 @@ }, { "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/challenge", + "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02", "method": "GET", "headers": { "accept": "application/json, text/plain, */*", + "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDJkMDYyY2E5NGM2NTZiMDI4OTJkMDI3M2ViNmMxOGIwN2M3ZWRmMGZiMTNlNTc3NjU1MzkxZTM2ZDRlMWUzY2U4IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NTk4LCJpYXQiOjE3MjM2MjQyOTcsImp0aSI6IjE4YWVjZTQ1LTFjMmItNDVjMS1hNzM1LTAwNTE2NTNiZmVjNSIsInBlcm1pc3Npb25zIjp7IjAwZGE1NjU5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLyI6WyJvd25lciJdfX0sImRldmljZSI6dHJ1ZSwicmVmcmVzaEV4cGlyYXRpb24iOiIyMDI0LTA4LTE0VDA5OjMxOjM2WiJ9.W6eOi87gGq5-o9xbPryXyKfRvaVdrzJIxd-pLgZb5m37JoVsK7NGII7N4NTw6yuuitrW6I5yE3c3zpBXJA-WPg", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" } @@ -347,68 +349,14 @@ "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "content-length": "917", - "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:42 GMT", - "expires": "Thu, 01 Jan 1970 00:00:00 GMT", - "pragma": "no-cache", - "strict-transport-security": "max-age=31536000; includeSubDomains" - }, - "body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"ef075165551540d7c4232713e057239f\",\"expiry\":\"2024-07-30T15:08:43Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"304502204551ac376e87128e6cf5fe312d9dc2c8db7d4b20783ed44d9375c7b3745694cc02210095e3865bcae190e618b2bdefcfde3a477804041c4512a44c644a1ba3594baaae\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210ef075165551540d7c4232713e057239f1401011547304502204551ac376e87128e6cf5fe312d9dc2c8db7d4b20783ed44d9375c7b3745694cc02210095e3865bcae190e618b2bdefcfde3a477804041c4512a44c644a1ba3594baaae160466a901fb202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}" - } - }, - { - "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/authenticate", - "method": "POST", - "headers": { - "accept": "application/json, text/plain, */*", - "content-length": "1070", - "content-type": "application/json", - "host": "trustchain-backend.api.aws.stg.ldg-tech.com", - "user-agent": "axios/0.26.1" - }, - "body": "{\"challenge\":{\"version\":0,\"challenge\":{\"data\":\"ef075165551540d7c4232713e057239f\",\"expiry\":\"2024-07-30T15:08:43Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"304502204551ac376e87128e6cf5fe312d9dc2c8db7d4b20783ed44d9375c7b3745694cc02210095e3865bcae190e618b2bdefcfde3a477804041c4512a44c644a1ba3594baaae\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"signature\":{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"02500ea9ef21c6068625f478768853adfd2b7d19bdfa527ff1d2fd495c0cb1a9f0\"},\"signature\":\"3045022100fd58e842092aee771c1a00ecbb45e6f5c2d13f63a700782607661f3eea4add9c02200d1c06fd801b85fb9f9d1549682e22a41514d96b294b7d94ff9ad53c48254508\",\"attestation\":\"0000210121029a8bef4947807f60aa2130f194f83b45e3989746a40d7b5a027ba13a38c2115f473045022100e2e206be6d2da93389eb61f061ca5ae11b367e5d184ac65c98f8d04bbb97452a0220684571449900241e8845c44a00dea58f761d58fb81ef8946764cd3871a37b7c2\"}}" - }, - "response": { - "status": 200, - "headers": { - "cache-control": "no-store, no-cache, max-age=0", - "connection": "keep-alive", - "content-length": "579", - "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:45 GMT", - "expires": "Thu, 01 Jan 1970 00:00:00 GMT", - "pragma": "no-cache", - "strict-transport-security": "max-age=31536000; includeSubDomains" - }, - "body": "{\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDI1MDBlYTllZjIxYzYwNjg2MjVmNDc4NzY4ODUzYWRmZDJiN2QxOWJkZmE1MjdmZjFkMmZkNDk1YzBjYjFhOWYwIiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjI2LCJpYXQiOjE3MjIzNTAzMjUsImp0aSI6IjdiYzdlNWY4LTNlNTYtNGI1NC04Y2I0LTkyNGJmZjFkOGQzNSIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDctMzBUMTU6Mzg6NDZaIn0.76mnNHUxURuyM3pmUEfNePAXrVNc_z4mo9ZNgr2EEDdaCnKIL59eJFlICGOp9lUbca9MYrYg1oY5SqjxJhCaYw\",\"permissions\":{}}" - } - }, - { - "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e", - "method": "GET", - "headers": { - "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDI1MDBlYTllZjIxYzYwNjg2MjVmNDc4NzY4ODUzYWRmZDJiN2QxOWJkZmE1MjdmZjFkMmZkNDk1YzBjYjFhOWYwIiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjI2LCJpYXQiOjE3MjIzNTAzMjUsImp0aSI6IjdiYzdlNWY4LTNlNTYtNGI1NC04Y2I0LTkyNGJmZjFkOGQzNSIsInBlcm1pc3Npb25zIjp7fSwiZGV2aWNlIjp0cnVlLCJyZWZyZXNoRXhwaXJhdGlvbiI6IjIwMjQtMDctMzBUMTU6Mzg6NDZaIn0.76mnNHUxURuyM3pmUEfNePAXrVNc_z4mo9ZNgr2EEDdaCnKIL59eJFlICGOp9lUbca9MYrYg1oY5SqjxJhCaYw", - "host": "trustchain-backend.api.aws.stg.ldg-tech.com", - "user-agent": "axios/0.26.1" - } - }, - "response": { - "status": 401, - "headers": { - "cache-control": "no-store, no-cache, max-age=0", - "connection": "keep-alive", - "content-length": "163", + "content-length": "2532", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:45 GMT", + "date": "Wed, 14 Aug 2024 08:31:46 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"time\":\"2024-07-30T14:38:45.421411Z\",\"cause\":\"JWT contains no permission\",\"status\":401,\"type\":\"UNAUTHORIZED\",\"message\":\"Unauthorized: JWT contains no permission\"}" + "body": "{\"m/\":\"01010102203f8114b045472f03c1592b043324a1af5ce5d6ef07b10a2c4097ea513df63b3e062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce801010110b0050001020000062103053ce6f7a9e69b2c409da25b83061a66497f6bbba230c564976ad4b0820d3b4905100d8b1141abb996171bccd95aaa88226f0550e71a921965f023c2ec66767dec13778d06e9eaa12274a38cbbe034adf613e9e682bcb905249a766ef8c550382b9858b90af0b9625493f691fa6c3ea29950afdc29f6f51ec3a1a73b987b764515576e9c0621025b304fef96e2bc06e1d1b068f8ec8322019b3d61e8448ccabc5ef6942df2884f03473045022100a556cbc3ea800cf2af455cfeb62e256183779e20f50220b36640ed67403e1d3602201e99e8b83aca8383b4b9720b8d725335f9fc0a5625e22cf7ce351aa0eaa7b265\",\"m/16'\":\"0101010220da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02062102d062ca94c656b02892d0273eb6c18b07c7edf0fb13e577655391e36d4e1e3ce801010315b8050c8000000080000010800000000621025897217856bc3daccef90aa9627ec8f4a132ad99dd6f9a1607ea7ea9a271ec2c05103b3eb231b19db7dd8bd919e0af0df05505505428d03551d046e8109a0c6adc1e45603252b1fa821931700ff86be224dba4e6955050a6e5364d4ff89f75f7a251a6bd56f63d2731fa8ceec8daaa34c277618694db49ab8490c9fde1bcb403967d2146062102a5672f1e3827a4e5d500b33f8823a64926d718e1e90cfe938ccbd52eb3e806ec113304084d656d6265722031062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef9200104ffffffff12aa0510fe224bbc4361fd2339a95079b676d2a705504b2f02201dbc3aab358e1e7d4eabb0e588c8971a393eef521caaadaf2103b947ae937a9276f5472cf6b90bf5f1c23509f47491d2b3a6840caf2dcdf8bbf41e4e53d4b38bde08986260a0e21b2f45eff2062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920062103c0fda95bf1528430a995b6634cb0f92d51e7c40c0053574cc24c62b10e95a31f0346304402206f90ff7816d571be4dceb1da695d966dba17743caade3b69dc7f634bfccc362d02205735cc426b36eadbc39b85a0b1df57c45b81bdaebf1bca676fa3994850c0e0bc01010102202276e180e61c868c69df68620e22e2dc8fd6b3dfcd31a953e43ea84e16aa8451062102104decdebff87db48eec2a77e7f0be5600522512c6aaff5a0e758b277d0ef920010102113304084d656d626572203206210209668673f9fbefcb794a93e81e46a5b7059a23897fdcfcf9a22b9471d87d8fe90104ffffffff12aa0510920a81dff3553e923d66f1d823a7119405504ed537607163816eaa264c895973551c73ce8d2b026b340f7290736501e595fdfbd71812e26f2633b0584e5262c6eff1519ba5e9e1f80082d8f3d31baaf35541f8484f34d697f9be37d6287891cf2c1006210209668673f9fbefcb794a93e81e46a5b7059a23897fdcfcf9a22b9471d87d8fe9062102e3ad392f8b56a54f6175585ebb27a4e848d84170691144f9f1db4696495550f50346304402203b93be7624597ee925ffaaa74aae41edd4222236aa3f7ded7b43b3340d00860c0220634ced8be7c134a7a3715fddaeac46f65697026e69ab2bab3a77669324845a93\"}" } }, { @@ -426,14 +374,14 @@ "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "content-length": "917", + "content-length": "921", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:45 GMT", + "date": "Wed, 14 Aug 2024 08:31:51 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"aaee93c7a8c4e9eaa068fd2dfa2c3d86\",\"expiry\":\"2024-07-30T15:08:46Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"30450220060ff776171963edf4d9514d18ce2fec9af9c94cc29df6370e0d1006cefb9c6d022100943ff4d25cc298f14031a6ebb08d1dd0c9afae12c6dfe34e1a0a8ab35dae861c\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210aaee93c7a8c4e9eaa068fd2dfa2c3d86140101154730450220060ff776171963edf4d9514d18ce2fec9af9c94cc29df6370e0d1006cefb9c6d022100943ff4d25cc298f14031a6ebb08d1dd0c9afae12c6dfe34e1a0a8ab35dae861c160466a901fe202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}" + "body": "{\"json\":{\"version\":0,\"challenge\":{\"data\":\"cf3b3a558ca4bdb889d6555d430c65f7\",\"expiry\":\"2024-08-14T09:01:52Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3046022100bf8fc269b45a2b3ca913bcc832f015a3127aeff1f310489e9a4ea66f95162373022100dae98b05b3fa04bab3183df560d72802b4f59e61603c6ac86c479b378afc7000\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"tlv\":\"0101070201001210cf3b3a558ca4bdb889d6555d430c65f714010115483046022100bf8fc269b45a2b3ca913bcc832f015a3127aeff1f310489e9a4ea66f95162373022100dae98b05b3fa04bab3183df560d72802b4f59e61603c6ac86c479b378afc7000160466bc7280202b7472757374636861696e2d6261636b656e642e6170692e6177732e7374672e6c64672d746563682e636f6d320121332103cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2600401000000\"}" } }, { @@ -447,7 +395,7 @@ "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" }, - "body": "{\"challenge\":{\"version\":0,\"challenge\":{\"data\":\"aaee93c7a8c4e9eaa068fd2dfa2c3d86\",\"expiry\":\"2024-07-30T15:08:46Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"30450220060ff776171963edf4d9514d18ce2fec9af9c94cc29df6370e0d1006cefb9c6d022100943ff4d25cc298f14031a6ebb08d1dd0c9afae12c6dfe34e1a0a8ab35dae861c\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"signature\":{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"0332d14983b138ac40b2553c7c0d3901a9f99322bd1232a0aa888264e424c1e145\"},\"signature\":\"3045022100aa62473bfd11f8ca2f49883703a5351fb62d19ea4b87dac8abc8e7fbcd9e2c2602205ee5620ef839e12b4a1d438c787fefa1ef5549d43e607559214fcd4b0f8b2b14\",\"attestation\":\"0242303031373435373562646130336431383734356662666566303966663938356339663335633530373635303063643461646562323538613963653238343131643765\"}}" + "body": "{\"challenge\":{\"version\":0,\"challenge\":{\"data\":\"cf3b3a558ca4bdb889d6555d430c65f7\",\"expiry\":\"2024-08-14T09:01:52Z\"},\"host\":\"trustchain-backend.api.aws.stg.ldg-tech.com\",\"rp\":[{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"03cb7628e7248ddf9c07da54b979f16bf081fb3d173aac0992ad2a44ef6a388ae2\"},\"signature\":\"3046022100bf8fc269b45a2b3ca913bcc832f015a3127aeff1f310489e9a4ea66f95162373022100dae98b05b3fa04bab3183df560d72802b4f59e61603c6ac86c479b378afc7000\"}],\"protocolVersion\":{\"major\":1,\"minor\":0,\"patch\":0}},\"signature\":{\"credential\":{\"version\":0,\"curveId\":33,\"signAlgorithm\":1,\"publicKey\":\"0209668673f9fbefcb794a93e81e46a5b7059a23897fdcfcf9a22b9471d87d8fe9\"},\"signature\":\"304402202ed3dd75f250d8f5681defdbfe6801880ae9b20117269a3a0e2644ff88e5850902200a5e983bf5a977a0cbcccf4a5c363325721747cf4b49a4293c4412518cc5b93a\",\"attestation\":\"0242303064613536353966376532643161316234313733303763373237333137363030386335386266383030386264333138363633636232346339343031396535643032\"}}" }, "response": { "status": 200, @@ -456,21 +404,21 @@ "connection": "keep-alive", "content-length": "800", "content-type": "application/json", - "date": "Tue, 30 Jul 2024 14:38:45 GMT", + "date": "Wed, 14 Aug 2024 08:31:51 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" }, - "body": "{\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzd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ItNDFlYy05MzdlLWMyZmVmYzdmZGJiZSIsInBlcm1pc3Npb25zIjp7IjAwZGE1NjU5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLzAnLzE2Jy8wJyI6WyJvd25lciJdfX0sImRldmljZSI6ZmFsc2UsInJlZnJlc2hFeHBpcmF0aW9uIjoiMjAyNC0wOC0xNFQwOTozMTo1MloifQ.9Zrx4PoKxbIr3xOS4CKstDpd9YSswvXglEctgxG2LwwuoKBeK2rgl3-7BHwzZDfvWdPXXzotg1PiLodZ3m1VHA\",\"permissions\":{\"00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02\":{\"m/0'/16'/0'\":[\"owner\"]}}}" } }, { "request": { - "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00174575bda03d18745fbfef09ff985c9f35c5076500cd4adeb258a9ce28411d7e", + "url": "https://trustchain-backend.api.aws.stg.ldg-tech.com/v1/trustchain/00da5659f7e2d1a1b417307c7273176008c58bf8008bd318663cb24c94019e5d02", "method": "DELETE", "headers": { "accept": "application/json, text/plain, */*", - "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDMzMmQxNDk4M2IxMzhhYzQwYjI1NTNjN2MwZDM5MDFhOWY5OTMyMmJkMTIzMmEwYWE4ODgyNjRlNDI0YzFlMTQ1IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIyMzUwNjI2LCJpYXQiOjE3MjIzNTAzMjUsImp0aSI6ImE1ZDczNDc1LWM1NjUtNGYyNy1iNjAzLTMyZjE0YmQ5MTgzMSIsInBlcm1pc3Npb25zIjp7IjAwMTc0NTc1YmRhMDNkMTg3NDVmYmZlZjA5ZmY5ODVjOWYzNWM1MDc2NTAwY2Q0YWRlYjI1OGE5Y2UyODQxMWQ3ZSI6eyJtLzAnLzE2Jy8wJyI6WyJvd25lciJdfX0sImRldmljZSI6ZmFsc2UsInJlZnJlc2hFeHBpcmF0aW9uIjoiMjAyNC0wNy0zMFQxNTozODo0NloifQ.ZX2gtWuC_IYrks2fISFUXDXpH0vREcKpKyIpbB4GoKeKQym8MR0zTIXIoUegCUeUH_wo6jvWgvSoW8JEINrcOw", + "authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJpc3MiOiJ0cnVzdGNoYWluLWJhY2tlbmQuYXBpLmF3cy5zdGcubGRnLXRlY2guY29tIiwic3ViIjoiMDIwOTY2ODY3M2Y5ZmJlZmNiNzk0YTkzZTgxZTQ2YTViNzA1OWEyMzg5N2ZkY2ZjZjlhMjJiOTQ3MWQ4N2Q4ZmU5IiwiYXVkIjpbIkNsb3VkU3luYyIsInRydXN0Y2hhaW4iXSwiZXhwIjoxNzIzNjI0NjEyLCJpYXQiOjE3MjM2MjQzMTEsImp0aSI6ImI4Nzk0ZmJiLTk0NDItNDFlYy05MzdlLWMyZmVmYzdmZGJiZSIsInBlcm1pc3Npb25zIjp7IjAwZGE1NjU5ZjdlMmQxYTFiNDE3MzA3YzcyNzMxNzYwMDhjNThiZjgwMDhiZDMxODY2M2NiMjRjOTQwMTllNWQwMiI6eyJtLzAnLzE2Jy8wJyI6WyJvd25lciJdfX0sImRldmljZSI6ZmFsc2UsInJlZnJlc2hFeHBpcmF0aW9uIjoiMjAyNC0wOC0xNFQwOTozMTo1MloifQ.9Zrx4PoKxbIr3xOS4CKstDpd9YSswvXglEctgxG2LwwuoKBeK2rgl3-7BHwzZDfvWdPXXzotg1PiLodZ3m1VHA", "host": "trustchain-backend.api.aws.stg.ldg-tech.com", "user-agent": "axios/0.26.1" } @@ -480,7 +428,7 @@ "headers": { "cache-control": "no-store, no-cache, max-age=0", "connection": "keep-alive", - "date": "Tue, 30 Jul 2024 14:38:45 GMT", + "date": "Wed, 14 Aug 2024 08:31:51 GMT", "expires": "Thu, 01 Jan 1970 00:00:00 GMT", "pragma": "no-cache", "strict-transport-security": "max-age=31536000; includeSubDomains" diff --git a/libs/trustchain/src/HWDeviceProvider.ts b/libs/trustchain/src/HWDeviceProvider.ts index b1fd65569e72..336d21cd296c 100644 --- a/libs/trustchain/src/HWDeviceProvider.ts +++ b/libs/trustchain/src/HWDeviceProvider.ts @@ -6,6 +6,7 @@ import { crypto, device } from "@ledgerhq/hw-trustchain"; import getApi from "./api"; import { genericWithJWT } from "./auth"; import { AuthCachePolicy, JWT, TrustchainDeviceCallbacks, WithDevice } from "./types"; +import { TrustchainNotAllowed } from "./errors"; export class HWDeviceProvider { /** @@ -56,22 +57,28 @@ export class HWDeviceProvider { try { return await lastValueFrom(runWithDevice(transport => from(job(device.apdu(transport))))); } catch (error) { - if ( - error instanceof TransportStatusError && - [StatusCodes.USER_REFUSED_ON_DEVICE, StatusCodes.CONDITIONS_OF_USE_NOT_SATISFIED].includes( - error.statusCode, - ) - ) { - throw new UserRefusedOnDevice(); + if (!(error instanceof TransportStatusError)) { + throw error; + } + switch (error.statusCode) { + case StatusCodes.USER_REFUSED_ON_DEVICE: + case StatusCodes.CONDITIONS_OF_USE_NOT_SATISFIED: + throw new UserRefusedOnDevice(); + + case StatusCodes.TRUSTCHAIN_WRONG_SEED: + this.clearJwt(); + throw new TrustchainNotAllowed(); + + default: + throw error; } - throw error; } finally { callbacks?.onEndRequestUserInteraction(); } } public async refreshJwt(deviceId: string, callbacks?: TrustchainDeviceCallbacks): Promise { - this.jwt = await this.withJwt(deviceId, this.api.refreshAuth, undefined, callbacks); + this.jwt = await this.withJwt(deviceId, this.api.refreshAuth, "cache", callbacks); } public clearJwt() { diff --git a/libs/trustchain/src/sdk.ts b/libs/trustchain/src/sdk.ts index 0146c9d8e4e5..d8d497d45ccb 100644 --- a/libs/trustchain/src/sdk.ts +++ b/libs/trustchain/src/sdk.ts @@ -101,7 +101,7 @@ export class SDK implements TrustchainSDK { let type = TrustchainResultType.restored; const withJwt: WithJwt = job => - this.hwDeviceProvider.withJwt(deviceId, job, undefined, callbacks); + this.hwDeviceProvider.withJwt(deviceId, job, "cache", callbacks); const withHw: WithDevice = job => this.hwDeviceProvider.withHw(deviceId, job, callbacks); let trustchains = await withJwt(this.api.getTrustchains); @@ -212,7 +212,7 @@ export class SDK implements TrustchainSDK { callbacks?: TrustchainDeviceCallbacks, ): Promise { const withJwt: WithJwt = job => - this.hwDeviceProvider.withJwt(deviceId, job, undefined, callbacks); + this.hwDeviceProvider.withJwt(deviceId, job, "cache", callbacks); const withHw: WithDevice = job => this.hwDeviceProvider.withHw(deviceId, job, callbacks); // invariant because the sdk does not support this case, and the UI should not allows it. diff --git a/libs/trustchain/tests/scenarios/removeMemberWithTheWrongSeed.ts b/libs/trustchain/tests/scenarios/removeMemberWithTheWrongSeed.ts index 8285643ce52c..dd5963e66e56 100644 --- a/libs/trustchain/tests/scenarios/removeMemberWithTheWrongSeed.ts +++ b/libs/trustchain/tests/scenarios/removeMemberWithTheWrongSeed.ts @@ -20,7 +20,7 @@ export async function scenario( const device = await switchDeviceSeed(); - await expect(sdk2.removeMember(device.id, trustchain, member2creds, member1)).rejects.toThrow( + await expect(sdk1.removeMember(device.id, trustchain, member2creds, member1)).rejects.toThrow( TrustchainNotAllowed, );