]> git.codecow.com Git - libnemo.git/commitdiff
Add personal block that was signed with iOS CryptoKit in which the Secure Enclave...
authorChris Duncan <chris@zoso.dev>
Fri, 15 Aug 2025 20:28:32 +0000 (13:28 -0700)
committerChris Duncan <chris@zoso.dev>
Fri, 15 Aug 2025 20:28:32 +0000 (13:28 -0700)
test/VECTORS.mjs

index 3938c8c662c7c6c8c83474ed646f1232666fd62c..e788a638b82fa95d50bf816e09c191b100fe58c1 100644 (file)
@@ -233,6 +233,17 @@ export const CUSTOM_TEST_VECTORS = Object.freeze({
                link: "5B2DA492506339C0459867AA1DA1E7EDAAC4344342FAB0848F43B46D248C8E99",
                hash: "39BB7D1F877060337AF3FA6E56DAB42CB818335CDDDCF773D2F9543DF1024E4D",
                signature: "452DD0AE06C79C6A987DE6A0F92356E34CB29B9B1FE6209439CCC1BDD0B382481C1796820126A9A1A3CC76F86BE48927492A0A5FA40C5F0012881690A7F8320E"
+       },
+
+       // block with valid signature using iOS non-deterministic nonce vs RFC 8032
+       IOS_BLOCK: {
+               account: "nano_1zosoqs47yt47bnfg7sdf46kj7asn58b7uzm9ek95jw7ccatq37898u1zoso",
+               previous: "620588FBB02B3B81DA32E10BCDFD8C5E31C5278BC1D03877F2D0EE9CCEDFD219",
+               representative: "nano_38713x95zyjsqzx6nm1dsom1jmm668owkeb9913ax6nfgj15az3nu8xkx579",
+               balance: "112030535065815355286958000000000",
+               link: "71E9336634A47E557EDAAC16243E019BCABFD745A4679291C11C91FF89DFF219",
+               hash: "F3893E3568C64F9554C1A89CF3FABB16C428D08CFE18C6271630CDB964120E70",
+               signature: "583624F09D1108B50CFB219F13F075AC03CD5C5450DE055B0963D8E814324C9B0A858BD34AF06E5290C436CC86872CBB13C7FE89972E77E6836249DCD2DAE40A"
        }
 })