You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1005 lines
41 KiB
1005 lines
41 KiB
{
|
|
"description": "Verdicts, codes and texts of provider.Verify, agewrap.NewTimeIdentity with its Unwrap and agewrap.NewTimeRecipient of the Go reference; see tool/release_go_vectors.go.",
|
|
"generator": "tool/release_go_vectors.go",
|
|
"libraries": "filippo.io/age v1.3.2, github.com/drand/drand/v2 v2.1.7, github.com/drand/kyber v1.3.2, github.com/drand/kyber-bls12381 v0.3.4, github.com/drand/tlock v1.2.0",
|
|
"max_round": 83903165811,
|
|
"profiles": [
|
|
{
|
|
"name": "quicknet",
|
|
"scheme": "bls-unchained-g1-rfc9380",
|
|
"public_key": "83cf0f2896adee7eb8b5f01fcad3912212c437e0073e911fb90022d3e760183c8c4b450b6a0a6c3ac6a5776a2d1064510d1fec758c921cc22b0e17e63aaf4bcb5ed66304de9cf809bd274ca73bab4af5a6e9c76a4bc09e76eae8991ef5ece45a"
|
|
},
|
|
{
|
|
"name": "scheme pedersen-bls-unchained",
|
|
"scheme": "pedersen-bls-unchained",
|
|
"public_key": "83cf0f2896adee7eb8b5f01fcad3912212c437e0073e911fb90022d3e760183c8c4b450b6a0a6c3ac6a5776a2d1064510d1fec758c921cc22b0e17e63aaf4bcb5ed66304de9cf809bd274ca73bab4af5a6e9c76a4bc09e76eae8991ef5ece45a"
|
|
},
|
|
{
|
|
"name": "scheme bls-unchained-on-g1",
|
|
"scheme": "bls-unchained-on-g1",
|
|
"public_key": "83cf0f2896adee7eb8b5f01fcad3912212c437e0073e911fb90022d3e760183c8c4b450b6a0a6c3ac6a5776a2d1064510d1fec758c921cc22b0e17e63aaf4bcb5ed66304de9cf809bd274ca73bab4af5a6e9c76a4bc09e76eae8991ef5ece45a"
|
|
},
|
|
{
|
|
"name": "scheme not of drand",
|
|
"scheme": "datekeys-test",
|
|
"public_key": "83cf0f2896adee7eb8b5f01fcad3912212c437e0073e911fb90022d3e760183c8c4b450b6a0a6c3ac6a5776a2d1064510d1fec758c921cc22b0e17e63aaf4bcb5ed66304de9cf809bd274ca73bab4af5a6e9c76a4bc09e76eae8991ef5ece45a"
|
|
},
|
|
{
|
|
"name": "key the generator of G2",
|
|
"scheme": "bls-unchained-g1-rfc9380",
|
|
"public_key": "93e02b6052719f607dacd3a088274f65596bd0d09920b61ab5da61bbdc7f5049334cf11213945d57e5ac7d055d042b7e024aa2b2f08f0a91260805272dc51051c6e47ad4fa403b02b4510b647ae3d1770bac0326a805bbefd48056c8c121bdb8"
|
|
},
|
|
{
|
|
"name": "key the point at infinity",
|
|
"scheme": "bls-unchained-g1-rfc9380",
|
|
"public_key": "c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
},
|
|
{
|
|
"name": "key with the compression flag cleared",
|
|
"scheme": "bls-unchained-g1-rfc9380",
|
|
"public_key": "03cf0f2896adee7eb8b5f01fcad3912212c437e0073e911fb90022d3e760183c8c4b450b6a0a6c3ac6a5776a2d1064510d1fec758c921cc22b0e17e63aaf4bcb5ed66304de9cf809bd274ca73bab4af5a6e9c76a4bc09e76eae8991ef5ece45a"
|
|
}
|
|
],
|
|
"verify": [
|
|
{
|
|
"name": "the published release of round 1000",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "ok"
|
|
},
|
|
{
|
|
"name": "the published release of round 1001",
|
|
"profile": "quicknet",
|
|
"round": 1001,
|
|
"release_round": 1001,
|
|
"signature": "b33bf3667cbd5a82de3a24b4e0e9fe5513cc1a0e840368c6e31f5fcfa79bea03f73896b25883abf2853d10337fb8fa41",
|
|
"go": "ok"
|
|
},
|
|
{
|
|
"name": "the published release of round 1004",
|
|
"profile": "quicknet",
|
|
"round": 1004,
|
|
"release_round": 1004,
|
|
"signature": "a40658b820c0f8c10207524179a2031ba9537688a0d04e4851b58026be9a341fee3b96fb48ffad28483d84b40a5864aa",
|
|
"go": "ok"
|
|
},
|
|
{
|
|
"name": "the published release of round 2000",
|
|
"profile": "quicknet",
|
|
"round": 2000,
|
|
"release_round": 2000,
|
|
"signature": "b6cb8f482a0b15d45936a4c4ea08e98a087e71787caee3f4d07a8a9843b1bc5423c6b3c22f446488b3137eaca799c77e",
|
|
"go": "ok"
|
|
},
|
|
{
|
|
"name": "a valid release of another round",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1001,
|
|
"signature": "b33bf3667cbd5a82de3a24b4e0e9fe5513cc1a0e840368c6e31f5fcfa79bea03f73896b25883abf2853d10337fb8fa41",
|
|
"go": "reject",
|
|
"code": "ERR_ROUND_MISMATCH",
|
|
"text": "provider: release for round 1001, expected 1000: ERR_ROUND_MISMATCH"
|
|
},
|
|
{
|
|
"name": "another round and a short signature",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1001,
|
|
"signature": "b33bf3667cbd5a82de3a24b4e0e9fe5513cc1a0e840368c6e31f5fcfa79bea03f73896b25883abf2853d10337fb8fa",
|
|
"go": "reject",
|
|
"code": "ERR_ROUND_MISMATCH",
|
|
"text": "provider: release for round 1001, expected 1000: ERR_ROUND_MISMATCH"
|
|
},
|
|
{
|
|
"name": "the signature of another round relabelled",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b33bf3667cbd5a82de3a24b4e0e9fe5513cc1a0e840368c6e31f5fcfa79bea03f73896b25883abf2853d10337fb8fa41",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the signature of round 1000 for round 999",
|
|
"profile": "quicknet",
|
|
"round": 999,
|
|
"release_round": 999,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 999 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "an all-zero signature",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "a flipped bit",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e38",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "a short signature",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: signature is 47 bytes, bls-unchained-g1-rfc9380 uses 48: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "a long signature",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e3900",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: signature is 49 bytes, bls-unchained-g1-rfc9380 uses 48: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "a G2-sized signature",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: signature is 96 bytes, bls-unchained-g1-rfc9380 uses 48: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "an empty signature",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: signature is 0 bytes, bls-unchained-g1-rfc9380 uses 48: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the signature re-encoded with x + p",
|
|
"profile": "quicknet",
|
|
"round": 1004,
|
|
"release_round": 1004,
|
|
"signature": "be076aa25a40df5b4d22f9f7bcedaff30dcac20d94556107b8e652c7b54b2a440ce796f9fa53ad28023c84b40a580f55",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1004 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the signature is the point at infinity",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the infinity flag and a payload",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "f44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the point at infinity with the sign flag",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the compression flag cleared",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "344679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the signature negated",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "944679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "round zero",
|
|
"profile": "quicknet",
|
|
"round": 0,
|
|
"release_round": 0,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_DATEKEY_INVALID",
|
|
"text": "provider: round 0 outside the range of datekeys:quicknet:v1: ERR_DATEKEY_INVALID"
|
|
},
|
|
{
|
|
"name": "the last round of the profile",
|
|
"profile": "quicknet",
|
|
"round": 83903165811,
|
|
"release_round": 83903165811,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 83903165811 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "a round beyond the profile",
|
|
"profile": "quicknet",
|
|
"round": 83903165812,
|
|
"release_round": 83903165812,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_DATEKEY_INVALID",
|
|
"text": "provider: round 83903165812 outside the range of datekeys:quicknet:v1: ERR_DATEKEY_INVALID"
|
|
},
|
|
{
|
|
"name": "another scheme of drand",
|
|
"profile": "scheme pedersen-bls-unchained",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: signature is 48 bytes, pedersen-bls-unchained uses 96: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "another scheme of drand on G1",
|
|
"profile": "scheme bls-unchained-on-g1",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "a scheme that is not of drand",
|
|
"profile": "scheme not of drand",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "profile datekeys:quicknet:v1: \"datekeys-test\" is not a drand scheme: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "another scheme and another round",
|
|
"profile": "scheme pedersen-bls-unchained",
|
|
"round": 1000,
|
|
"release_round": 1001,
|
|
"signature": "b33bf3667cbd5a82de3a24b4e0e9fe5513cc1a0e840368c6e31f5fcfa79bea03f73896b25883abf2853d10337fb8fa41",
|
|
"go": "reject",
|
|
"code": "ERR_ROUND_MISMATCH",
|
|
"text": "provider: release for round 1001, expected 1000: ERR_ROUND_MISMATCH"
|
|
},
|
|
{
|
|
"name": "another valid key",
|
|
"profile": "key the generator of G2",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the key is the point at infinity",
|
|
"profile": "key the point at infinity",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the key and the signature are the point at infinity",
|
|
"profile": "key the point at infinity",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"go": "ok"
|
|
},
|
|
{
|
|
"name": "a key that is not a canonical encoding",
|
|
"profile": "key with the compression flag cleared",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "provider: pinned public key of datekeys:quicknet:v1 is not the canonical encoding of a point of the key group: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "a key that is not a canonical encoding and a short signature",
|
|
"profile": "key with the compression flag cleared",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e",
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: signature is 47 bytes, bls-unchained-g1-rfc9380 uses 48: ERR_RELEASE_INVALID"
|
|
}
|
|
],
|
|
"unwrap": [
|
|
{
|
|
"name": "the stanza of time_only",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "ok",
|
|
"file_key": "684bfc20912fb50a1a7f1b644e1f6f52"
|
|
},
|
|
{
|
|
"name": "no stanza",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [],
|
|
"go": "reject",
|
|
"code": "ERR_POLICY_STRUCTURE_MISMATCH",
|
|
"text": "agewrap: OUTER_TIME_AGE has 0 stanzas, want exactly one tlock stanza: ERR_POLICY_STRUCTURE_MISMATCH"
|
|
},
|
|
{
|
|
"name": "two stanzas",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
},
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_POLICY_STRUCTURE_MISMATCH",
|
|
"text": "agewrap: OUTER_TIME_AGE has 2 stanzas, want exactly one tlock stanza: ERR_POLICY_STRUCTURE_MISMATCH"
|
|
},
|
|
{
|
|
"name": "a stanza of type X25519",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "X25519",
|
|
"args": [
|
|
"LvR2+5baviJPeIiyw96VfTW1GnzTw3DbWIPGuq9amEw"
|
|
],
|
|
"body": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_POLICY_STRUCTURE_MISMATCH",
|
|
"text": "agewrap: OUTER_TIME_AGE stanza type \"X25519\", want \"tlock\": ERR_POLICY_STRUCTURE_MISMATCH"
|
|
},
|
|
{
|
|
"name": "one argument",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_POLICY_STRUCTURE_MISMATCH",
|
|
"text": "agewrap: tlock stanza has 1 arguments, want 2: ERR_POLICY_STRUCTURE_MISMATCH"
|
|
},
|
|
{
|
|
"name": "three arguments",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971",
|
|
"x"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_POLICY_STRUCTURE_MISMATCH",
|
|
"text": "agewrap: tlock stanza has 3 arguments, want 2: ERR_POLICY_STRUCTURE_MISMATCH"
|
|
},
|
|
{
|
|
"name": "the round of another DateKey",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1001",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_ROUND_MISMATCH",
|
|
"text": "agewrap: tlock stanza round \"1001\", DateKey round 1000: ERR_ROUND_MISMATCH"
|
|
},
|
|
{
|
|
"name": "the round with a leading zero",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"01000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_ROUND_MISMATCH",
|
|
"text": "agewrap: tlock stanza round \"01000\", DateKey round 1000: ERR_ROUND_MISMATCH"
|
|
},
|
|
{
|
|
"name": "the round with a quote, a newline and a letter that is not ASCII",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000\"\né",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_ROUND_MISMATCH",
|
|
"text": "agewrap: tlock stanza round \"1000\\\"\\né\", DateKey round 1000: ERR_ROUND_MISMATCH"
|
|
},
|
|
{
|
|
"name": "the chain hash in upper case",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52DB9BA70E0CC0F6EAF7803DD07447A1F5477735FD3F661792BA94600C84E971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_PROFILE_MISMATCH",
|
|
"text": "agewrap: tlock stanza chain hash \"52DB9BA70E0CC0F6EAF7803DD07447A1F5477735FD3F661792BA94600C84E971\", pinned profile datekeys:quicknet:v1 uses 52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971: ERR_PROFILE_MISMATCH"
|
|
},
|
|
{
|
|
"name": "another chain hash",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"abababababababababababababababababababababababababababababababab"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_PROFILE_MISMATCH",
|
|
"text": "agewrap: tlock stanza chain hash \"abababababababababababababababababababababababababababababababab\", pinned profile datekeys:quicknet:v1 uses 52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971: ERR_PROFILE_MISMATCH"
|
|
},
|
|
{
|
|
"name": "a release of another round",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1001,
|
|
"signature": "b33bf3667cbd5a82de3a24b4e0e9fe5513cc1a0e840368c6e31f5fcfa79bea03f73896b25883abf2853d10337fb8fa41",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_ROUND_MISMATCH",
|
|
"text": "provider: release for round 1001, expected 1000: ERR_ROUND_MISMATCH"
|
|
},
|
|
{
|
|
"name": "the release signature negated",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "944679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "the release signature negated and a body of 127 bytes",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "944679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb50"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
},
|
|
{
|
|
"name": "a body of 127 bytes",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb50"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: tlock stanza body of 127 bytes, want 128: ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "a body of 129 bytes",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c00"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: tlock stanza body of 129 bytes, want 128: ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "an empty body",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": ""
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: tlock stanza body of 0 bytes, want 128: ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "U re-encoded with c0 + p",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe309482bdb770815acd72eacc4f8bd69654af04c8f29afb29206e0909171fd9bf7a9fb5eb7378a3b3f114875717605ff9fb3e76c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: U of the tlock stanza is not the canonical encoding of a point of the key group: ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "U is the point at infinity",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: U of the tlock stanza is the point at infinity: ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "U with the infinity flag and a payload",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "c08f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: U of the tlock stanza is not the canonical encoding of a point of the key group: ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "U with the compression flag cleared",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "008f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: U of the tlock stanza is not the canonical encoding of a point of the key group: ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "U negated",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "a08f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: the tlock stanza body does not decrypt under the verified release (IBE check r·G == U): ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "U is the generator of G2",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "93e02b6052719f607dacd3a088274f65596bd0d09920b61ab5da61bbdc7f5049334cf11213945d57e5ac7d055d042b7e024aa2b2f08f0a91260805272dc51051c6e47ad4fa403b02b4510b647ae3d1770bac0326a805bbefd48056c8c121bdb86c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: the tlock stanza body does not decrypt under the verified release (IBE check r·G == U): ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "V with its first bit flipped",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093cec26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: the tlock stanza body does not decrypt under the verified release (IBE check r·G == U): ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "W with its last bit flipped",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502d"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_INTEGRITY",
|
|
"text": "agewrap: the tlock stanza body does not decrypt under the verified release (IBE check r·G == U): ERR_INTEGRITY"
|
|
},
|
|
{
|
|
"name": "another scheme of drand",
|
|
"profile": "scheme pedersen-bls-unchained",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "agewrap: pinned public key of datekeys:quicknet:v1 is not the canonical encoding of a point of the key group: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "a key that is not a canonical encoding",
|
|
"profile": "key with the compression flag cleared",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "agewrap: pinned public key of datekeys:quicknet:v1 is not the canonical encoding of a point of the key group: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "the key is the point at infinity",
|
|
"profile": "key the point at infinity",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "agewrap: pinned public key of datekeys:quicknet:v1 is the identity element: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "another valid key",
|
|
"profile": "key the generator of G2",
|
|
"round": 1000,
|
|
"release_round": 1000,
|
|
"signature": "b44679b9a59af2ec876b1a6b1ad52ea9b1615fc3982b19576350f93447cb1125e342b73a8dd2bacbe47e4b6b63ed5e39",
|
|
"stanzas": [
|
|
{
|
|
"type": "tlock",
|
|
"args": [
|
|
"1000",
|
|
"52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971"
|
|
],
|
|
"body": "808f8eead90f3eebee2e6e15d490a2ab973214350d179d9c29ffc804e612f8fdd45bc3d2acf8552c2b3bb6666fe3094811da651ddc2cf09461a9510726199e18e817de2abf0cf42129609f5ca546b3d7400b378b89eb1148bb727605ffa0093c6c26076e7a50eae51ac174e025205dc073ebd97ccd56cdb81065c8fbabfb502c"
|
|
}
|
|
],
|
|
"go": "reject",
|
|
"code": "ERR_RELEASE_INVALID",
|
|
"text": "provider: the signature is not a canonical point encoding, or does not verify as the BLS signature of round 1000 under datekeys:quicknet:v1: ERR_RELEASE_INVALID"
|
|
}
|
|
],
|
|
"recipient": [
|
|
{
|
|
"name": "round 1000",
|
|
"profile": "quicknet",
|
|
"round": 1000,
|
|
"go": "ok"
|
|
},
|
|
{
|
|
"name": "the last round",
|
|
"profile": "quicknet",
|
|
"round": 83903165811,
|
|
"go": "ok"
|
|
},
|
|
{
|
|
"name": "round zero",
|
|
"profile": "quicknet",
|
|
"round": 0,
|
|
"go": "reject",
|
|
"code": "ERR_DATEKEY_INVALID",
|
|
"text": "agewrap: round 0 outside the range of datekeys:quicknet:v1: ERR_DATEKEY_INVALID"
|
|
},
|
|
{
|
|
"name": "a round beyond the profile",
|
|
"profile": "quicknet",
|
|
"round": 83903165812,
|
|
"go": "reject",
|
|
"code": "ERR_DATEKEY_INVALID",
|
|
"text": "agewrap: round 83903165812 outside the range of datekeys:quicknet:v1: ERR_DATEKEY_INVALID"
|
|
},
|
|
{
|
|
"name": "another scheme of drand",
|
|
"profile": "scheme pedersen-bls-unchained",
|
|
"round": 1000,
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "agewrap: pinned public key of datekeys:quicknet:v1 is not the canonical encoding of a point of the key group: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "a scheme that is not of drand",
|
|
"profile": "scheme not of drand",
|
|
"round": 1000,
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "profile datekeys:quicknet:v1: \"datekeys-test\" is not a drand scheme: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "a key that is not a canonical encoding",
|
|
"profile": "key with the compression flag cleared",
|
|
"round": 1000,
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "agewrap: pinned public key of datekeys:quicknet:v1 is not the canonical encoding of a point of the key group: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "the key is the point at infinity",
|
|
"profile": "key the point at infinity",
|
|
"round": 1000,
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "agewrap: pinned public key of datekeys:quicknet:v1 is the identity element: ERR_UNKNOWN_PROFILE"
|
|
},
|
|
{
|
|
"name": "the key is the point at infinity and round zero",
|
|
"profile": "key the point at infinity",
|
|
"round": 0,
|
|
"go": "reject",
|
|
"code": "ERR_UNKNOWN_PROFILE",
|
|
"text": "agewrap: pinned public key of datekeys:quicknet:v1 is the identity element: ERR_UNKNOWN_PROFILE"
|
|
}
|
|
]
|
|
}
|