= Test Vectors =
(these vectors are out-of-date as of 31-Jul-2013. I'll regenerate them tomorrow. -warner)
The following example uses a non-ASCII email address of "andré@example.org" (with an accented "e", UTF8 encoding is 616e6472c3a9406578616d706c652e6f7267) and a non-ascii password of "pässwörd" (with accents on "a" and "o", UTF8 encoding is 70c3a4737377c3b67264).
e5bf8d30bbc7499a
== /session/auth ==
srpK:
respHMACkey:
e252adb2c217c2a16584613597ef012f02b4bd3f71294430f1752b7869f01d03e367145b107d1e8dc72547a7b7199681e35684bbdf13f1e9531d9df1991edf23
respXORkey:
75a6ff483b6afe43455835926ae37a1bf80f95b5e2061ce3627bd16affbeeab6961996ec4c2eeb9c27ecc737121826ca350ebfabdd7665494a2bac2c100bf417342a0b2d910c9f5bb2dee20f2af61849authToken:a4a20ff16ee4a25f6061626364656667cb6e832effa77f5968696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f
plaintext:
7071727374757677
78797a7b7c7d7e7f
ciphertext:
253957f10e861c7c
0a12bb0193d384d9
579db544666d50bd
3252d6576c768a68
MAC:
a98c87f5769ab4cc
ca3df863faeb217e
b16ddc29d712b301
12b446324ee806d6
response:
253957f10e861c7c
0a12bb0193d384d9
579db544666d50bd
3252d6576c768a68
a98c87f5769ab4cc
ca3df863faeb217e
b16ddc29d712b301
12b446324ee806d6
== /session ==
authToken:
6061626364656667
68696a6b6c6d6e6f
7071727374757677
78797a7b7c7d7e7f
tokenID:
6dcae8ff8f55a793
a0fa1ed31115451b
4df233b3a0641cc6
18ecadfd1fe4a691
reqHMACkey:
1640a4e6bc8c8e54
858be9960a8b0740
fa06effdf169246f
52012ae868fc6c48
respHMACkey:
7f3e075e74523ced
fa817c2fa4ae97e1
e51da38d7a992b66
8a35c86af946b155
respXORkey:
02977a9167830705
74b610cc25320262
175b45fbd7b26438
f9e200abc029f14e
f38399314b172f1e
e928fcdcd194ab19
92433cab0e94569d
bf623b46dd9fbf55
keyFetchToken:
8081828384858687
88898a8b8c8d8e8f
9091929394959697
98999a9b9c9d9e9f
sessionToken:
a0a1a2a3a4a5a6a7
a8a9aaabacadaeaf
b0b1b2b3b4b5b6b7
b8b9babbbcbdbebf
plaintext:
8081828384858687
88898a8b8c8d8e8f
9091929394959697
98999a9b9c9d9e9f
a0a1a2a3a4a5a6a7
a8a9aaabacadaeaf
b0b1b2b3b4b5b6b7
b8b9babbbcbdbebf
ciphertext:
15c79d2b5f0f98248216f812e30681829066ffde8e6b728cfc3f9a47a9bf8cede668e49f385b9deb87cad7684327f2af4d77c5d0a10b1b36617b9a305cb46fd1b4ab89ae158919dc53223b92efb289b93a576884a67b96c6418156777d3905b634339d62fa7134c822f28e18ba21e02a53f719b5633ae1c607db81fd612201ea
MAC:
b27381d49ca93e61639fd132f637abd33247c49a0cd0c901ecd2482ccf11ed760332f186bb07c23f8cfd6979e195404633ad176916d607c41e8ef5204e66c542
response:
15c79d2b5f0f98248216f812e30681829066ffde8e6b728cfc3f9a47a9bf8cede668e49f385b9deb87cad7684327f2af4d77c5d0a10b1b36617b9a305cb46fd1b4ab89ae158919dc53223b92efb289b93a576884a67b96c6418156777d3905b634339d62fa7134c822f28e18ba21e02a53f719b5633ae1c607db81fd612201eab27381d49ca93e61639fd132f637abd33247c49a0cd0c901ecd2482ccf11ed760332f186bb07c23f8cfd6979e195404633ad176916d607c41e8ef5204e66c542
== /account/keys ==
keyFetchToken:
6061626364656667808182838485868768696a6b6c6d6e6f88898a8b8c8d8e8f7071727374757677909192939495969778797a7b7c7d7e7f98999a9b9c9d9e9f
tokenID:
7f784ba2bd89097fd010c94c753c012c743632d21316d987d6801e8beb1aa6cc38e146a9e7123a983da9ea3de3de1dee39a87c96b3bb99cb32785dbd99a579e8
reqHMACkey:
6dedf96237deb0671707b05908acc4dcf4232af00b3c7148cda5b8304d9500d0e815635c147a72158c53e00c31672a53a64906bdb2823471490dfb5ef2934060
respHMACkey:
ca24f4328589935631d0c12186b768975d698251dbe6c7f7c3351878a65097cfda5f9ad003835a41d595da4ce48e69a2edf7c813124c5499485ff1a77c71b0d0
respXORkey:
9dff4835ffdbacd6eed35591e1f1c43b5e27f5dde15a1f187cd604e371b9cfb7994ff75f70bab7dba980c9a36fa737c6b5c4c9771e657704a48c5d60a89fc2914666cf97273e2a964ec1a2150a0777b702993f5b1e258d8f9a1e8499058cd17a3b4d837e505f8458ebc1441db8b3bf1841a986882ef366312cd0aefa92482692 kA:202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f wrapkB:404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f
plaintext:
ciphertext:
bdde6a16dbfe8af1cef277b2c5d4e21c760edff6cd77313754ff2ec85d94e198a97ec56c448f81ec99b1fb905b9201f18dfdf34c2258493b9cb5675b94a2fcae06278dd4637b6cd10e80e0564e4231f04ad075105268c3c0d257ced249c19f356b1cd12d040ad20fbb90164eece6e94f19f0dcd372ae386e7489f4a1ce1578cd
MAC:
6f7972302f00dfe886f1c57d2e7f6c972d5a8ce0553b0ffe8181684e189b710f80e073078d4f30f9dd26a3f34e3aaed80c48537f8ca9222264be9577ae81a256
response:
bdde6a16dbfe8af1cef277b2c5d4e21c760edff6cd77313754ff2ec85d94e198a97ec56c448f81ec99b1fb905b9201f18dfdf34c2258493b9cb5675b94a2fcae06278dd4637b6cd10e80e0564e4231f04ad075105268c3c0d257ced249c19f356b1cd12d040ad20fbb90164eece6e94f19f0dcd372ae386e7489f4a1ce1578cd6f7972302f00dfe886f1c57d2e7f6c972d5a8ce0553b0ffe8181684e189b710f80e073078d4f30f9dd26a3f34e3aaed80c48537f8ca9222264be9577ae81a256 wrapkB:404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f unwrapBKey:6ea660be9c89ec355397f89afb282ea0bf21095760c8c5009bbcc894155bbe2a kB:2ee722fdd8ccaa721bdeb2d1b76560efef705b04349d9357c3e592cf4906e075
== use session (certificate/sign, etc) ==
sessionToken:
8081828384858687a0a1a2a3a4a5a6a788898a8b8c8d8e8fa8a9aaabacadaeaf9091929394959697b0b1b2b3b4b5b6b798999a9b9c9d9e9fb8b9babbbcbdbebf
tokenID:
31217a79ba0d62e9639503a218ffbb62c6e33cee374f0879983e9628be5cd64a3171b2a39d14cc8f0438d0ae81b2b9daf680540b5028d069deb900a83470bc6b
reqHMACkey:
6c87cfeba3a216d43a0188943837ab22b1829e62478500ac8fe74e759566d0e4d2953158130cae0b837cbcc7494157aa2c92ef8a2ea6089ac4da82025b2811b2 == /password/change == authToken:606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f
== password/change ==tokenID:cafc36360afd92de5ca21800022a9af13a5766b91bd82fd40eaa5b6e01489796
srpKreqHMACkey:e68fd0112bfa31dcb07c0cf4553e44ffffc8e9c96a1cbadbfe991caa2546b50d4c3145978ff35c73895fb9ac8f8746d2e5bf8d30bbc7499ad29119d9616de193
respHMACkey:
81a03345184a09fdd2ddfefd1913fa349aef6ec1a1ddf80f48e18abda9b54c92c4e3d354bf8af42f43fd51bf14dc9091a4b32696384cb9b92179269c0e958a04
respXORkey:
aaf041fd5f2c23e9dcc5425e13b876ea0c3636f93a170ef0f1d3aa95a473562260456d7edf7678df46994088d86adb5a2d5297797626a07d526d9f1f5d170254a96803cfe941a0c8456dd26dcc54483eea140e371871ea20f489d55097b690281ec38ad41a233b8e8826f0cf1985a6ad39ff1bedf6ce0aece3e83461517c8d49 keyFetchToken:808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f accountResetToken:c0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedf
plaintext:
6061626364656667808182838485868768696a6b6c6d6e6f88898a8b8c8d8e8f7071727374757677909192939495969778797a7b7c7d7e7f98999a9b9c9d9e9fa0a1a2a3a4a5a6a7c0c1c2c3c4c5c6c7a8a9aaabacadaeafc8c9cacbcccdcecfb0b1b2b3b4b5b6b7d0d1d2d3d4d5d6d7b8b9babbbcbdbebfd8d9dadbdcdddedf
ciphertext:
ca91239e3b49458e5c44c0dd973df06d645f5c92567a609f795a201e28fed8ad10341f0dab030ea8d608d21b4cff4dcd552bed020a5bde02caf40584c18a9ccb09c9a16c4de4066f85ac10ae08918ef942bda49cb4dc448f3c401f9b5b7b5ee7ae723867ae968d3958f7221ccd50707a8146a1564a73b4533b31eeba8da15396
MAC:
442223ac3a149d00cc3053fe922268d7cc319a73189b85729c0dd6eb74bd40f5e323084b662f74a507ae2d587483b864b5d1f32925ea50de8ef771b699dd39d9
response:
ca91239e3b49458e5c44c0dd973df06d645f5c92567a609f795a201e28fed8ad10341f0dab030ea8d608d21b4cff4dcd552bed020a5bde02caf40584c18a9ccb09c9a16c4de4066f85ac10ae08918ef942bda49cb4dc448f3c401f9b5b7b5ee7ae723867ae968d3958f7221ccd50707a8146a1564a73b4533b31eeba8da15396442223ac3a149d00cc3053fe922268d7cc319a73189b85729c0dd6eb74bd40f5e323084b662f74a507ae2d587483b864b5d1f32925ea50de8ef771b699dd39d9
== /account/reset ==
accountResetToken:
a0a1a2a3a4a5a6a7c0c1c2c3c4c5c6c7a8a9aaabacadaeafc8c9cacbcccdcecfb0b1b2b3b4b5b6b7d0d1d2d3d4d5d6d7b8b9babbbcbdbebfd8d9dadbdcdddedf
tokenID:
b421fa511242b33fa6857e5d53d35073feebdef63089242fd50ef2ce2c4dd747fde11c811fd5474d32bb2eae1af5bf79b888ade257861e23618ed945e1310792
reqHMACkey:
da5fb4a8e1a7fc7747fab27352ee6b48dfcf43be71455f6933938d76519bbdb8f6776e24f369e253ac7293f8b5e74335ff1f541fbb5e9bc36fdd1d5edf39f52d
reqXORkey:
def723a6ece08e37 d5b598a25a031eda82ed612313a11673 95108d7d379b2029acad44ef5186fef0 2a76417dc245379b7a539ce9d3861e95 1bf5a9b9cdbfb3321c5825ac741dd558 632d933cc9455875bd6aba056ce0c568 2c5a93963446b1b4f099cbe46d926ace 201616119d47f1157397c8c24f3a1d67 2a0ddc856474f5b1ab7623e63c29c518 187a6139570f845733ab884ce33335c1 5578a1a7302933cb03c84be42720bbb6 6097f90172a7ebf4458fbee0a5e52414 c914beb97568a30c0a44f140828f0cd4 16028e67e0ef3b4c28364dc8fb03ae7c 76a2f324a9a1cee6f6e0b43055bd008a 1305b2b5f579b0f071b74aa8906d0e03 39fb52a1bf2b1ef5ca91d70e28265713 b4d2dc5197e64decab5d883295db62af 20701cb3af42a09ef0e6ee2b8acdef73 ea1951f7dea374cfc76cda585ab5644b 7250ef7b780537e52f56ac2a76f5f1e1 2ba46852bf6d315eb3e784d37a118bd6 57a0fe29ec6e5cd32e9419c8d4d43676 168044e45862c3e4325be8e1d8a3dd71 b360ea266757e4633e4a390b00950870 953f36112d697b43ada6b0a7a85a8ac0 eed618d9f6ee91ab6fd661567ca29c7e 68fea229b016cdad1d2f714f224d67db 46843c4e3339de15c19bf3430a0b52c7 cdd232e774c10882efe0297a45f9fe0d 6d768b5c589a290f507bd85a3b0c14fe 795367422374d77411f03237192cc0a3 a02645a810d83bb1dfa43df9f91d723d 4480e2d2f077679484d582bfb15d2393 3fa4805374da62c667481cab9c835602 69fa7f3086efc88ea2c887b157285c6a 79b47156c9abe02e wrapkB:404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f newSRPv:11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
plaintext:
ciphertext:
9eb661e5a8a5c870 9dfcd2e9164e5095c2ac236057e45034 dd59c7367bd66e66fcfc16bc05d3a8a7 722f1b269e1869c42a02ceba87d348c2 43acf3e291e2ed6d0d4934bd650cc449 723c822dd8544964ac7bab147df1d479 3d4b82872557a0a5e188daf57c837bdf 310707008c56e0046286d9d35e2b0c76 3b1ccd947565e4a0ba6732f72d38d409 096b7028461e954622ba995df22224d0 4469b0b6213822da12d95af53631aaa7 7186e81063b6fae5549eaff1b4f43505 d805afa86479b21d1b55e051939e1dc5 07139f76f1fe2a5d39275cd9ea12bf6d 67b3e235b8b0dff7e7f1a52144ac119b 0214a3a4e468a1e160a65bb9817c1f12 28ea43b0ae3a0fe4db80c61f39374602 a5c3cd4086f75cfdba4c992384ca73be 31610da2be53b18fe1f7ff3a9bdcfe62 fb0840e6cfb265ded67dcb494ba4755a 6341fe6a691426f43e47bd3b67e4e0f0 3ab57943ae7c204fa2f695c26b009ac7 46b1ef38fd7f4dc23f8508d9c5c52767 079155f54973d2f5234af9f0c9b2cc60 a271fb377646f5722f5b281a11841961 842e27003c786a52bcb7a1b6b94b9bd1 ffc709c8e7ff80ba7ec770476db38d6f 79efb338a107dcbc0c3e605e335c76ca 57952d5f2228cf04d08ae2521b1a43d6 dcc323f665d01993fef1386b54e8ef1c 7c679a4d498b381e416ac94b2a1d05ef 684276533265c66500e12326083dd1b2 b13754b901c92aa0ceb52ce8e80c632c 5591f3c3e166768595c493aea04c3282 2eb5914265cb73d776590dba8d924713 78eb6e2197fed99fb3d996a046394d7b 68a56047d8baf13f == /account/delete == authToken:606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f tokenID:c1680d7c418cade20d49f86a4e56a4bf30ff2dacb8bcdd76e4194b5b3b742751 reqHMACkey:153f55bda3037b25a3e2cf96c9983aee3e5bf98095b11c3251087b9ce86f621e
= Keyserver Protocol Summary =