2014-05-18 11:47:39 +02:00
|
|
|
{
|
2014-05-16 15:11:04 +02:00
|
|
|
"valid": [
|
|
|
|
{
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "01",
|
2014-05-16 15:11:04 +02:00
|
|
|
"k": "ec633bd56a5774a0940cb97e27a9e4e51dc94af737596a0c5cbb3d30332d92a5",
|
|
|
|
"message": "Everything should be made as simple as possible, but not simpler.",
|
2014-06-15 08:44:52 +02:00
|
|
|
"i": 0,
|
2014-05-16 15:11:04 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "23362334225185207751494092901091441011938859014081160902781146257181456271561",
|
2014-05-24 08:25:38 +02:00
|
|
|
"s": "50433721247292933944369538617440297985091596895097604618403996029256432099938"
|
2014-05-16 15:11:04 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
2014-05-16 15:11:04 +02:00
|
|
|
"k": "9dc74cbfd383980fb4ae5d2680acddac9dac956dca65a28c80ac9c847c2374e4",
|
|
|
|
"message": "Equations are more important to me, because politics is for the present, but an equation is something for eternity.",
|
2014-06-15 08:44:52 +02:00
|
|
|
"i": 0,
|
2014-05-16 15:11:04 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "38341707918488238920692284707283974715538935465589664377561695343399725051885",
|
2014-05-24 08:25:38 +02:00
|
|
|
"s": "3180566392414476763164587487324397066658063772201694230600609996154610926757"
|
2014-05-16 15:11:04 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140",
|
2014-05-16 15:11:04 +02:00
|
|
|
"k": "fd27071f01648ebbdd3e1cfbae48facc9fa97edc43bbbc9a7fdc28eae13296f5",
|
|
|
|
"message": "Not only is the Universe stranger than we think, it is stranger than we can think.",
|
2014-06-15 08:44:52 +02:00
|
|
|
"i": 0,
|
2014-05-16 15:11:04 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "115464191557905790016094131873849783294273568009648050793030031933291767741904",
|
2014-05-24 08:25:38 +02:00
|
|
|
"s": "50562520307781850052192542766631199590053690478900449960232079510155113443971"
|
2014-05-16 15:11:04 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "0000000000000000000000000000000000000000000000000000000000000001",
|
2014-05-16 15:11:04 +02:00
|
|
|
"k": "f0cd2ba5fc7c183de589f6416220a36775a146740798756d8d949f7166dcc87f",
|
|
|
|
"message": "How wonderful that we have met with a paradox. Now we have some hope of making progress.",
|
2014-06-15 08:44:52 +02:00
|
|
|
"i": 1,
|
2014-05-16 15:11:04 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "87230998027579607140680851455601772643840468630989315269459846730712163783123",
|
2014-05-24 08:25:38 +02:00
|
|
|
"s": "53231320085894623106179381504478252331065330583563809963303318469380290929875"
|
2014-05-16 15:11:04 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "69ec59eaa1f4f2e36b639716b7c30ca86d9a5375c7b38d8918bd9c0ebc80ba64",
|
2014-05-16 15:11:04 +02:00
|
|
|
"k": "6bb4a594ad57c1aa22dbe991a9d8501daf4688bf50a4892ef21bd7c711afda97",
|
|
|
|
"message": "Computer science is no more about computers than astronomy is about telescopes.",
|
2014-06-15 08:44:52 +02:00
|
|
|
"i": 0,
|
2014-05-16 15:11:04 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "51348483531757779992459563033975330355971795607481991320287437101831125115997",
|
2014-05-24 08:25:38 +02:00
|
|
|
"s": "6277080015686056199074771961940657638578000617958603212944619747099038735862"
|
2014-05-16 15:11:04 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "00000000000000000000000000007246174ab1e92e9149c6e446fe194d072637",
|
2014-05-16 15:11:04 +02:00
|
|
|
"k": "097b5c8ee22c3ea78a4d3635e0ff6fe85a1eb92ce317ded90b9e71aab2b861cb",
|
|
|
|
"message": "...if you aren't, at any given time, scandalized by code you wrote five or even three years ago, you're not learning anywhere near enough",
|
2014-06-15 08:44:52 +02:00
|
|
|
"i": 1,
|
2014-05-16 15:11:04 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "113979859486826658566290715281614250298918272782414232881639314569529560769671",
|
2014-05-24 08:25:38 +02:00
|
|
|
"s": "6517071009538626957379450615706485096874328019806177698938278220732027419959"
|
2014-05-16 15:11:04 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "000000000000000000000000000000000000000000056916d0f9b31dc9b637f3",
|
2014-05-16 15:11:04 +02:00
|
|
|
"k": "19355c36c8cbcdfb2382e23b194b79f8c97bf650040fc7728dfbf6b39a97c25b",
|
|
|
|
"message": "The question of whether computers can think is like the question of whether submarines can swim.",
|
2014-06-15 08:44:52 +02:00
|
|
|
"i": 1,
|
2014-05-16 15:11:04 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "93122007060065279508564838030979550535085999589142852106617159184757394422777",
|
2014-05-24 08:25:38 +02:00
|
|
|
"s": "3078539468410661027472930027406594684630312677495124015420811882501887769839"
|
2014-05-16 15:11:04 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"invalid": {
|
2014-06-14 03:45:01 +02:00
|
|
|
"recoverPubKey": [
|
2014-07-29 15:45:50 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid r value (< 0)",
|
|
|
|
"exception": "Invalid r value",
|
|
|
|
"e": "01",
|
|
|
|
"signature": {
|
|
|
|
"r": "-01",
|
|
|
|
"s": "02"
|
|
|
|
},
|
|
|
|
"i": 0
|
|
|
|
},
|
2014-06-14 03:45:01 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid r value (== 0)",
|
2014-07-29 15:45:50 +02:00
|
|
|
"exception": "Invalid r value",
|
2014-06-14 03:45:01 +02:00
|
|
|
"e": "01",
|
|
|
|
"signature": {
|
|
|
|
"r": "00",
|
|
|
|
"s": "02"
|
|
|
|
},
|
|
|
|
"i": 0
|
|
|
|
},
|
2014-07-29 15:45:50 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid s value (< 0)",
|
|
|
|
"exception": "Invalid s value",
|
|
|
|
"e": "01",
|
|
|
|
"signature": {
|
|
|
|
"r": "02",
|
|
|
|
"s": "-01"
|
|
|
|
},
|
|
|
|
"i": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Invalid s value (== 0)",
|
|
|
|
"exception": "Invalid s value",
|
|
|
|
"e": "01",
|
|
|
|
"signature": {
|
|
|
|
"r": "02",
|
|
|
|
"s": "00"
|
|
|
|
},
|
|
|
|
"i": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Invalid r value (nR is infinity)",
|
|
|
|
"exception": "nR is not a valid curve point",
|
|
|
|
"e": "01",
|
|
|
|
"signature": {
|
|
|
|
"r": "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
|
|
"s": "01"
|
|
|
|
},
|
|
|
|
"i": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Invalid curve point",
|
|
|
|
"exception": "Point is not on the curve",
|
|
|
|
"e": "01",
|
|
|
|
"signature": {
|
|
|
|
"r": "99999999999999999999999999999999999999",
|
|
|
|
"s": "01"
|
|
|
|
},
|
|
|
|
"i": 0
|
|
|
|
},
|
2014-06-14 03:45:01 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid i value (> 3)",
|
|
|
|
"exception": "Recovery param is more than two bits",
|
|
|
|
"e": "01",
|
|
|
|
"signature": {
|
|
|
|
"r": "00",
|
|
|
|
"s": "02"
|
|
|
|
},
|
|
|
|
"i": 4
|
|
|
|
}
|
|
|
|
],
|
2014-05-24 05:40:20 +02:00
|
|
|
"verifyRaw": [
|
|
|
|
{
|
|
|
|
"description": "The wrong signature",
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-05-24 05:40:20 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "38341707918488238920692284707283974715538935465589664377561695343399725051885",
|
|
|
|
"s": "3180566392414476763164587487324397066658063772201694230600609996154610926757"
|
|
|
|
}
|
|
|
|
},
|
2014-07-29 15:45:10 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid r value (< 0)",
|
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-07-29 15:45:10 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "-01",
|
|
|
|
"s": "02"
|
|
|
|
}
|
|
|
|
},
|
2014-05-24 05:40:20 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid r value (== 0)",
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-05-24 05:40:20 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "00",
|
|
|
|
"s": "02"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Invalid r value (>= n)",
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-05-24 05:40:20 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",
|
|
|
|
"s": "02"
|
|
|
|
}
|
|
|
|
},
|
2014-07-29 15:45:10 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid s value (< 0)",
|
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-07-29 15:45:10 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "02",
|
|
|
|
"s": "-01"
|
|
|
|
}
|
|
|
|
},
|
2014-05-24 05:40:20 +02:00
|
|
|
{
|
|
|
|
"description": "Invalid s value (== 0)",
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-05-24 05:40:20 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "02",
|
|
|
|
"s": "00"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Invalid s value (>= n)",
|
2014-06-07 10:24:16 +02:00
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-05-24 05:40:20 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "02",
|
|
|
|
"s": "fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"
|
|
|
|
}
|
2014-07-30 06:47:21 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Invalid r, s values (r = s = -n)",
|
|
|
|
"d": "01",
|
2014-10-11 04:47:32 +02:00
|
|
|
"message": "foo",
|
2014-07-30 06:47:21 +02:00
|
|
|
"signature": {
|
|
|
|
"r": "-115792089237316195423570985008687907852837564279074904382605163141518161494337",
|
|
|
|
"s": "-115792089237316195423570985008687907852837564279074904382605163141518161494337"
|
|
|
|
}
|
2014-05-24 05:40:20 +02:00
|
|
|
}
|
2014-05-16 15:11:04 +02:00
|
|
|
]
|
2014-04-23 23:45:28 +02:00
|
|
|
}
|
2014-10-11 04:47:32 +02:00
|
|
|
}
|