Skip to content

Commit

Permalink
Updated test data with more realistic origin
Browse files Browse the repository at this point in the history
This involved regenerating the keys as the origin is tied to the signing name now.
  • Loading branch information
mhutchinson committed Jul 17, 2024
1 parent 64a40c2 commit 9a2dbed
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 39 deletions.
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
)

var (
testOrigin = "astra"
testLogVerifier = mustMakeVerifier("astra+cad5a3d2+AZJqeuyE/GnknsCNh1eCtDtwdAwKBddOlS8M2eI1Jt4b")
testOrigin = "http://example.com/log/testdata"
testLogVerifier = mustMakeVerifier("http://example.com/log/testdata+8402a41b+AfGEXUB3XP7Y+GCsFDnn0/AXzEoP1jdnF4uZpsAJqgQZ")
// Built using serverless/testdata/build_log.sh
testRawCheckpoints, testCheckpoints = mustLoadTestCheckpoints()
)
Expand Down
6 changes: 3 additions & 3 deletions testdata/build_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ exit 1
DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)

export LOG=${DIR}/log/
export SERVERLESS_LOG_PRIVATE_KEY="PRIVATE+KEY+astra+cad5a3d2+ASgwwenlc0uuYcdy7kI44pQvuz1fw8cS5NqS8RkZBXoy"
export SERVERLESS_LOG_PUBLIC_KEY="astra+cad5a3d2+AZJqeuyE/GnknsCNh1eCtDtwdAwKBddOlS8M2eI1Jt4b"
export ORIGIN="astra"
export SERVERLESS_LOG_PRIVATE_KEY="PRIVATE+KEY+http://example.com/log/testdata+8402a41b+AdWN6I/fU4VphS7sD1NatSkQ4D+Tu3qWzwtw//2YCM0n"
export SERVERLESS_LOG_PUBLIC_KEY="http://example.com/log/testdata+8402a41b+AfGEXUB3XP7Y+GCsFDnn0/AXzEoP1jdnF4uZpsAJqgQZ"
export ORIGIN="http://example.com/log/testdata"

cd ${DIR}
rm -fr log
Expand Down
4 changes: 2 additions & 2 deletions testdata/log/checkpoint
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
15
rKbDipCvhuX1GZ7g5BBe8sA6BbJ7ja/1nk427v383cs=

astra ytWj0rJVDQTRJQewX74UJrwdh07x1AScLrx30fZCyKrXqrFF3bSuuELfDG2v2RsH36b+/QFmZxAJqqpKt0SAEVspvwA=
http://example.com/log/testdata hAKkG55mO5ses04seLAh78zu+AR7P6KXoTA1C+VLfr/TdaXfO6DTSLh1yNESaijRN2CsdzTuCOZGvjzidkOlBiOG0gU=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
0
47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

astra ytWj0hZaDtQDZjWMdE9gIzaC4uDLlfwsogqX7BH1k2Wi7WgV/3bHMyZoqZV07t0v99/A67bPT9O3/d8FX7/L/CGu7A8=
http://example.com/log/testdata hAKkGwChY6pB92d4X0QAw5ESO9/WPGOUX1SZXEze7yG77tdnnrna/UWrKkyN7UOa0WZG5DklUIGoDtPnx3A36pGj8A4=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
1
0Nc2CrefWKseHj/mStd+LqC8B+NrX0btIiPt2SmN+ek=

astra ytWj0n4LKlphCFEgR45pn/xshUj/eFwzL/KnBMSncmFz2SAy4+RMlbKf6B57HVmPUShkTozdj9YBXHZ6qq/uhG0iaQw=
http://example.com/log/testdata hAKkG/MRR8tWO85RkTGQIVbRuiNmbQ3OhzLeTEiwtx3uz4dET6DSLc+yDNWhsgD9Hef3OtOlZetKXGt/35SN9g8jjAQ=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.10
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
10
y8/gZsZCtitsMan09tY+k8I7Qpr7Y5fbO2tLi9GQnfU=

astra ytWj0lxhfBdoS8zGMpErktyYvhJHygCDGXd8zAqWv816lg6GN4umIYtK+RdAAzRsh5NE2VOcp1sGYWCbSlysKJR72Ac=
http://example.com/log/testdata hAKkG0nYWCli1QaAoXxdV61hsb7d0Pa/g6p74ul5Fn47KNFapxaZXhXh7MxYVBeSon38hSxKqJZ96rxvm8ltXVRfaQo=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.11
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
11
Yok1cS5VdokGLBy73BC2I16b3atss6KBN9jnIi6Fz/A=

astra ytWj0jxrvwjvlaIF2PPXHEeD79jVqaXD0zqnfc/Ln0ommu3Kz0jRP9s8Zr6lcPCGYWwvmEb7eq9rnfwAK2f23wIH4ww=
http://example.com/log/testdata hAKkG2t3j39YQNUY0oOyOEpoaL7kYoDS97YqR0HZIA3SqeZtVjGzg7Hp52JLXz8Ys0keph+ShywXiMQ/f7Z/yUg4Awc=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.12
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
12
uZo6M+IhVna+CLgWCrJs0xBPUHbozHkYTQASduHSLME=

astra ytWj0kDOHZtNnsx0n9m1z6daI92NFMPrgKEdvgXHu5Z8rw6YvSU8p8gfBIKk+sDsgM71sW1AOGKK9hSoCdw7MnI/4wQ=
http://example.com/log/testdata hAKkG66ndOR/aVa27eOA6t9Mr2mRCJb3yyvuGMu/diK3mUC/Xh9LXZs2En/V3ijwdqPd6Df/8Y7sLXyYTZd1UrVzxgs=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.13
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
13
av0kLH0VkkVDrTuZzBGIx7d9z5G1l/GlKz/nAV/8woQ=

astra ytWj0h1iLgAzAsKuUW6O/Es8tb/1EUbM4oVIl6/iYMGYJg1xTJf5LvhxDhwuwkzxIKlZqUqRbOcsWE0YxiyoEnk8EAI=
http://example.com/log/testdata hAKkG4d287EI0zQuNosHkK5yWvpVG2JvN3faV6ABqtoGaW+wNdxbEitxsMpeqTGleesBz0d2RxKaxXJdAepDOvbhYgI=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.14
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
14
SvCd38yNade7xEPY1a/aAc1M3A2AHYVF8lIiUnsH1ao=

astra ytWj0rUVecFiHbkgoYOubus6TlBFv7JqpYBpoFWKagyX7sDUIahCQAPgbJaMxOorOXhjCAoOWP/Q7fdZ8QU6wWAYQgk=
http://example.com/log/testdata hAKkG0HHkFWszosZqlYGhPe1DIK5Ul11BvyPM/ep88+J31SvXr9m8agTYaJia1ak0tcPhj5RLXuzfI34Z+SqFLKCIQ8=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.15
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
15
rKbDipCvhuX1GZ7g5BBe8sA6BbJ7ja/1nk427v383cs=

astra ytWj0rJVDQTRJQewX74UJrwdh07x1AScLrx30fZCyKrXqrFF3bSuuELfDG2v2RsH36b+/QFmZxAJqqpKt0SAEVspvwA=
http://example.com/log/testdata hAKkG55mO5ses04seLAh78zu+AR7P6KXoTA1C+VLfr/TdaXfO6DTSLh1yNESaijRN2CsdzTuCOZGvjzidkOlBiOG0gU=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
2
T1X2GdkhUjV3iyufF9b0kVsWFxIU0VI4EpNml2Teci4=

astra ytWj0oE+lpJrzPPxU6ISv0oz5wpAKJit/6P8tg4/uj8f6Nnr6aS72oksHlP0hxtWRO67Y1yNKVUt8qgANhpJsX7zgwM=
http://example.com/log/testdata hAKkG/68pq/vAA6a+JWOuUmda2t6FMIcoGPnXZF2pNHXTZG6Cma+g24OFH8yfmvU/1tPwx+vsUkcWV8DJpL6lxGYbgo=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
3
Wqx3HImawpLnS/Gv4ubjAvi1WIOy0b8Ze0amvqbavKk=

astra ytWj0qwaoheXFrGosuZGP9++Sd3LNCFdZqMPfSyZgWYC8qcrITo9ich7G49OaK85/Xo5P90qsmJz4JDYcNrIE8z4YQg=
http://example.com/log/testdata hAKkG9l+A0W/asuomJDirhtsW7SC+eQ8LiOpJ6bGhSLfPvoqB3cGGx/N1v5m7offAgxWBcgOzVv01HS4tr2pFOlMKwA=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
4
zY1lN35vrXYAPixXSd59LsU29xUJtuW4o2dNNg5Y2Co=

astra ytWj0nv4H82Ft8OFg3G5Iyt75zNy40zzIvO2PKRQnPms0IEvod8wScXbzHATzoxv6zA/BJNnKDC7+GIKqyYUY6HAEQo=
http://example.com/log/testdata hAKkG0Nx+5XUvfwsqhSL/+tGEUcQqosyoQogT5uWAVbDaFb2qv8tuCRe8BPDjVC7R3ztMA13k0rFNcdv3Uciyym/mQw=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.5
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
5
gy5gl3aksFyiCO95a/1vLXz88A3dRq+0l9Sxte8ZqZQ=

astra ytWj0icpI+5qrn28GjRIeTIuhPfzS0YRzqfj+7ivW5LePTVUF+V2oYSpTEg0lnf0WUarvb7QRL3XIHuqYOfz7+mu3Q4=
http://example.com/log/testdata hAKkG6RaSVGIZH8NX8gbvIm/kOwpuBuJKBct0UGW4v8f8Dw+B8vfimyrACWqbiQCZGZRp5FgW8rgTlWZq3MHNMdqCA8=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.6
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
6
a6sWvsc2eEzmj72vah7mZ5dwFltivehh2b11qwlp5Jg=

astra ytWj0nHWPBdivay1n+ZB2vu6T1Bm4xWmvRmzuZnHVr7b819JbaSeUebysot1na0s0hImFBR7FbtZKCToQP1ZqZ7ZUAk=
http://example.com/log/testdata hAKkGxOaqD9MKf7dM1a0mPvd5nijVhL1gGrIApMxt0+WYV4Di9/uC7KuQ4k50Gc7NaXvma4UcWN+L4+CdtiEEE1NTAA=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.7
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
7
IrSXADBqJ7EQoUODSDKROySgNveeL6CFhik2w/+fS7U=

astra ytWj0q61ftJEOaWEsCHuXyLlRcqjLBd1+p7o+iN+9vzKclbpIu4molDU/gKGVcneESQzY+KeoxP3AltrMQANWw4HjQk=
http://example.com/log/testdata hAKkGz1w28SU5Cm3AbfMEHVoCRz8YiLt0a0ZAOHU5lL5w5JgSTjNyHEG2tq1HJJE5PLBIfOHczIPQkmIDtByWDi+zAk=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
8
bC+VwvrJbalNVjfkdI8kUgs7mJoXrqiXCE7bgnD28pY=

astra ytWj0vw8YIRDNFkxDAQKZCA0csQQrly8dhKrtUmUmrJ4kONQdBjzPBBGralYfSDMkA4AEg0xYSWZvjfUePMX09g/wwI=
http://example.com/log/testdata hAKkG3Y1vR9r6k6mABMcikIWxzK7jArhNFs4R3Pmg2CSaxF+VOSW1lyHP0NSXMD4meO4rL9DEnGVCKSjoS/DR7jMfQw=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.9
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
http://example.com/log/testdata
9
CvhHViE3S9E3htHLR+25mapWoGCJ3WckMq1UtC3VmEY=

astra ytWj0gSIege/xE5nGZPU6IFTBXlx6Le/YhkSOpked6nYqcFNHKdj93FlwusaQQNlvzULmBTHJ7s/SSnsJXucU66j8wE=
http://example.com/log/testdata hAKkG62pUvr8oIPZmWEPQtDo1eHBCxkFHWLry0rOoHLVfFeu2roG7Y0yge5Dz6iLVF01ksEULX2m4jN38kBgGUZY7gA=

0 comments on commit 9a2dbed

Please sign in to comment.