Sync testdata from DateKeys v0.8.2 (afb44a3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main
dev 2 weeks ago
parent 688cc8f25a
commit 0a56810e4f

@ -47,4 +47,4 @@ Comprueba que los ficheros coinciden con `SOURCE.json`, sin faltantes ni sobrant
`.gitattributes` marca `testdata/**` como binario para que git no altere ningún byte.
Copia actual: 22 ficheros de `5719f6a4b3654f608091e32290d9fcfbc7e38062`.
Copia actual: la de `testdata/SOURCE.json` (commit `afb44a3`, rama `v0.8.2`).

@ -1,28 +1,30 @@
{
"module": "g.activething.com/go/DateKeys",
"commit": "5719f6a4b3654f608091e32290d9fcfbc7e38062",
"commit": "afb44a396ea23db34ca3495130a2414198cfe5db",
"files": {
"fixtures/empty_payload.dkc": "871e9bf05b52bbae17f3adfbbf97b46e7f0e53aa8f57bcaa506e43f36f53a9d4",
"fixtures/empty_payload.json": "584f7a5a8982d5a9184ee6a4699fa39ad82c92a3d01d573c3e94e603db9b0956",
"fixtures/empty_payload.json": "490a6e7f7acc882bcb956b297ad8c817d7b21da29e8d4c4a2cd31c852707eee0",
"fixtures/empty_payload.plaintext": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"fixtures/time_and_key_portable.dkc": "2e97878078bae6358037a9c264f379a3cbe839f767d69836b0343f35657b2972",
"fixtures/time_and_key_portable.dkk": "e528fa2c832c91119f0684bb9d6fb3c4c2d0d55183482890e7c4fe92f668426a",
"fixtures/time_and_key_portable.dkk.json": "6f940bc94f4eb13e41ccbbb76c69098ec9c5bc32cb86963e57b839c56ebf9534",
"fixtures/time_and_key_portable.json": "74936213a5d481dc216ad36115523bebc6973823cf89782b50a96eb4649ffcbe",
"fixtures/time_and_key_portable.dkk.json": "24eab4758e4abdb09e2316e0330ac16872dd021612eb32c40fac607f80f10a18",
"fixtures/time_and_key_portable.json": "258fb17f95a0dbf074d017bffac6415b2982dffc7895a3b31a1ccd9132d6a5fc",
"fixtures/time_and_key_portable.plaintext": "937492203d207d6fe36161b8696bf1f05b8b4cc56d855c44853f4b76aad3a05b",
"fixtures/time_and_key_portable_extension.dkk": "0bf463a7c65627b7dda2234d728df89ec5b835816a2a37b91497d8fecc5ea548",
"fixtures/time_and_key_portable_extension.dkk.json": "2d5d61beb89e3de76fae3400f38eff74f251e6c569c2f11daf2950a74bea8fb3",
"fixtures/time_and_key_recipients.dkc": "69ac110380f5d768b5b6afaa157a50ed17d8ceccfbd4604ffa5b6da38539b635",
"fixtures/time_and_key_recipients.dkk": "19f6c47150c3194712d454f43c7392b7344e6b4e7b074d83e9ca5f563a8e072f",
"fixtures/time_and_key_recipients.dkk.json": "e2f8adde5da559be559647951d95b949c7eec6bffb1fea8e477a5b5521971f3a",
"fixtures/time_and_key_recipients.json": "446815de9bff62e6dcc00a106ba7ab05a3601c748b6de8c53a0c3ef5ce7ce843",
"fixtures/time_and_key_recipients.dkk.json": "d5a0c241a1fbef52bcb848b2531bda4020d9a7882bfc4f49755c61ae97a4d6bc",
"fixtures/time_and_key_recipients.json": "ebc77cd00ff52e08743976558605159cc0cc3747399c3ce05dc46f7cafb35b2d",
"fixtures/time_and_key_recipients.plaintext": "0e9fd50e98a85953aa9cf07a11ee3c62bb3d7622f344f1c6ce744d1ed111659f",
"fixtures/time_only.dkc": "99e915810d595f1092700b728f5e5081d78efe83f5343e76325b1bcc2c33ccf2",
"fixtures/time_only.json": "a38a6287b10ad944669f07b3327cd7405e9f76778240ec935a408580261d0e84",
"fixtures/time_only.json": "9ea5576bfa237066b92ad07e5f1c26d6d782e975edd071a8728b21bc7998afaa",
"fixtures/time_only.plaintext": "53b8ee821fb7b678e89d4f93da1812339f6cc1ab83aac6ed1432db99df784be5",
"fixtures/time_only_extensions.dkc": "1e7effd58016d9447f9a2e7c9645c658604979c4e35af675d1dc6c4ae12ac444",
"fixtures/time_only_extensions.json": "c70ead5b8e196b942f89dc6c105e651d2ed2acc4289d1fd2dca98bd9eeb83293",
"fixtures/time_only_extensions.dkc": "0446c9b73e267adcb24e5cc89afba2544a386ec9a050016e06517a4a57aa2085",
"fixtures/time_only_extensions.json": "117636691ab04d0a6274d09de7c7763fe99595a46dae9c42d066f118f816e85b",
"fixtures/time_only_extensions.plaintext": "1129768e195e2f1e50b7a6f926b6eebef120212c29b5642c8a662c503b2a9131",
"vectors/dk1.json": "5127b8015b93c8f2b7cc92b75cbbad0a22073b39381901851a79656383d83426",
"vectors/profile_quicknet.json": "caa840b2ae49b2c220fb31c0a71ade98d170c1d5ab2e2210e980b98c88d58bec",
"vectors/quicknet_rounds.json": "fb9fb27671e5c1db2a80a2492e82fe3a702a5ddbf7afffe95c64f842d07bc54f"
"vectors/dk1.json": "618ff753996f6967eddf9ebd781dff5943b9784c99c782aa323ce4f861d632e5",
"vectors/profile_quicknet.json": "4f9de60475d0807aa580f59cf3e6df38cba2a55a62f590aefa2a55753ddb0055",
"vectors/quicknet_rounds.json": "22c764aac454ce320daf7e65b9494ff2d207cac974c68d07e84f4ec18c3ed920"
}
}

@ -1,6 +1,6 @@
{
"description": "time_only capsule with an empty payload",
"spec": "0.8.1",
"spec": "0.8.2",
"file": "empty_payload.dkc",
"sha256": "871e9bf05b52bbae17f3adfbbf97b46e7f0e53aa8f57bcaa506e43f36f53a9d4",
"release": {

@ -1,6 +1,6 @@
{
"description": "portable X25519 .dkk of time_and_key_portable.dkc",
"spec": "0.8.1",
"spec": "0.8.2",
"file": "time_and_key_portable.dkk",
"sha256": "e528fa2c832c91119f0684bb9d6fb3c4c2d0d55183482890e7c4fe92f668426a",
"credential_id": "3955e944a3c60cfa1fd6485e9693c77d",

@ -1,6 +1,6 @@
{
"description": "time_and_key capsule whose only recipient is a portable .dkk",
"spec": "0.8.1",
"spec": "0.8.2",
"file": "time_and_key_portable.dkc",
"sha256": "2e97878078bae6358037a9c264f379a3cbe839f767d69836b0343f35657b2972",
"release": {

@ -0,0 +1,21 @@
{
"description": "portable X25519 .dkk of time_and_key_portable.dkc with a noncritical extension: the credential of time_and_key_portable.dkk re-issued with org.example.delivery",
"spec": "0.8.2",
"file": "time_and_key_portable_extension.dkk",
"sha256": "0bf463a7c65627b7dda2234d728df89ec5b835816a2a37b91497d8fecc5ea548",
"credential_id": "3955e944a3c60cfa1fd6485e9693c77d",
"capsule_id": "448e134a13457c319cab7fceaf7ffa1f",
"access_type": "x25519",
"access_material": "3d5e4d51f21236ecff40d89c0adcf9aa325a24b91b46fd9d1afa482f54b2d2c6",
"capsule_digest": "2e97878078bae6358037a9c264f379a3cbe839f767d69836b0343f35657b2972",
"extensions": [
{
"critical": false,
"id": "org.example.delivery",
"version": 1,
"data": "a1006468616e64"
}
],
"capsule": "time_and_key_portable.dkc",
"expected_result": "opens INNER_ACCESS_AGE of time_and_key_portable.dkc and yields its CONTROL_CBOR"
}

@ -1,6 +1,6 @@
{
"description": "portable X25519 .dkk of time_and_key_recipients.dkc",
"spec": "0.8.1",
"spec": "0.8.2",
"file": "time_and_key_recipients.dkk",
"sha256": "19f6c47150c3194712d454f43c7392b7344e6b4e7b074d83e9ca5f563a8e072f",
"credential_id": "b89292aedf6d05d584cec9a871ce8735",

@ -1,6 +1,6 @@
{
"description": "time_and_key capsule for two known X25519 recipients and a portable .dkk",
"spec": "0.8.1",
"spec": "0.8.2",
"file": "time_and_key_recipients.dkc",
"sha256": "69ac110380f5d768b5b6afaa157a50ed17d8ceccfbd4604ffa5b6da38539b635",
"release": {

@ -1,6 +1,6 @@
{
"description": "time_only capsule, two STREAM chunks, no extensions",
"spec": "0.8.1",
"spec": "0.8.2",
"file": "time_only.dkc",
"sha256": "99e915810d595f1092700b728f5e5081d78efe83f5343e76325b1bcc2c33ccf2",
"release": {

Binary file not shown.

@ -1,20 +1,20 @@
{
"description": "time_only capsule with a noncritical PUBLIC_HEADER extension and a noncritical CONTROL_CBOR extension",
"spec": "0.8.1",
"spec": "0.8.2",
"file": "time_only_extensions.dkc",
"sha256": "1e7effd58016d9447f9a2e7c9645c658604979c4e35af675d1dc6c4ae12ac444",
"sha256": "0446c9b73e267adcb24e5cc89afba2544a386ec9a050016e06517a4a57aa2085",
"release": {
"round": 2000,
"signature": "b6cb8f482a0b15d45936a4c4ea08e98a087e71787caee3f4d07a8a9843b1bc5423c6b3c22f446488b3137eaca799c77e"
},
"prelude": "444b4331010000000000009f000001e2",
"public_header": "a6006a646174656b657963617001010250d2fd9af55dc0253132fb36b8dc0d016b037853646b315f65794a325a584a7a61573975496a6f784c434a755a58523362334a72496a6f695a4746305a57746c65584d3663585670593274755a585136646a45694c434a79623356755a4349364d6a41774d483004000681a300716f72672e6578616d706c652e6c6162656c0101026c7075626c6963206c6162656c",
"public_header": "a6006a646174656b6579636170010102504286085c21ca34d1a71e649326a4a0f6037853646b315f65794a325a584a7a61573975496a6f784c434a755a58523362334a72496a6f695a4746305a57746c65584d3663585670593274755a585136646a45694c434a79623356755a4349364d6a41774d483004000681a300716f72672e6578616d706c652e6c6162656c0101024c7075626c6963206c6162656c",
"datekey": "dk1_eyJ2ZXJzaW9uIjoxLCJuZXR3b3JrIjoiZGF0ZWtleXM6cXVpY2tuZXQ6djEiLCJyb3VuZCI6MjAwMH0",
"capsule_id": "d2fd9af55dc0253132fb36b8dc0d016b",
"capsule_id": "4286085c21ca34d1a71e649326a4a0f6",
"access_policy": "time_only",
"structure": "time_only",
"unlock_at": "2023-08-23T16:49:24Z",
"header_binding": "a4fa1e3c5a47a01313173cdf23df157ff8c949011df95dde8f092ff6749dc154",
"header_binding": "cf647fac3ba7849b217d9bb358d66cb5b6f6722e2e383a32057fc725ba028070",
"outer_stanzas": [
{
"type": "tlock",
@ -28,12 +28,12 @@
{
"type": "X25519",
"args": [
"pUUIuCTHAZ3+kpMwJQQ9dc3EJO1zPagucu+VdFovSy0"
"o8TAxNxKDyeVxYiXN3BoUSmC2VffiIAdma9L58u13zs"
]
}
],
"control_cbor": "a50070646174656b6579732d636f6e74726f6c0101025820a4fa1e3c5a47a01313173cdf23df157ff8c949011df95dde8f092ff6749dc1540358201b27d7029c50dc20ef1f9269a1a944a1384f526f9ea76cdc9c76a6456bb1fbb80581a300706f72672e6578616d706c652e6e6f7465010202a2616e07667365616c6564f5",
"payload_identity": "1b27d7029c50dc20ef1f9269a1a944a1384f526f9ea76cdc9c76a6456bb1fbb8",
"control_cbor": "a50070646174656b6579732d636f6e74726f6c0101025820cf647fac3ba7849b217d9bb358d66cb5b6f6722e2e383a32057fc725ba02807003582094edebc71acf1c5743d80ec5d14922253a1325edda65d56d7e33642edb92ab6d0581a300706f72672e6578616d706c652e6e6f74650102024ba2000701667365616c6564",
"payload_identity": "94edebc71acf1c5743d80ec5d14922253a1325edda65d56d7e33642edb92ab6d",
"plaintext_file": "time_only_extensions.plaintext",
"plaintext_sha256": "1129768e195e2f1e50b7a6f926b6eebef120212c29b5642c8a662c503b2a9131",
"header_extensions": [
@ -41,7 +41,7 @@
"critical": false,
"id": "org.example.label",
"version": 1,
"data": "6c7075626c6963206c6162656c"
"data": "7075626c6963206c6162656c"
}
],
"control_extensions": [
@ -49,7 +49,7 @@
"critical": false,
"id": "org.example.note",
"version": 2,
"data": "a2616e07667365616c6564f5"
"data": "a2000701667365616c6564"
}
],
"stages": [

@ -1,5 +1,5 @@
{
"spec": "0.8.1",
"spec": "0.8.2",
"description": "Canonical dk1_ strings and rejected encodings (spec §18, §19, §66), generated by the reference implementation.",
"vectors": [
{

@ -1,5 +1,5 @@
{
"spec": "0.8.1",
"spec": "0.8.2",
"description": "Quicknet Provider Profile V1: exact Deterministic CBOR and profile_hash (spec §11, §12, §75 item 2), generated by the reference implementation.",
"profile_id": "datekeys:quicknet:v1",
"provider": "drand",

@ -1,5 +1,5 @@
{
"spec": "0.8.1",
"spec": "0.8.2",
"profile": "datekeys:quicknet:v1",
"description": "Quicknet date to round resolution (spec §15, §16, §65), generated by the reference implementation.",
"vectors": [

Loading…
Cancel
Save

Powered by TurnKey Linux.