summaryrefslogtreecommitdiff
path: root/test/eckey.pem
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2014-05-02 18:21:47 +0200
committerLinus Nordberg <linus@nordu.net>2014-05-02 18:21:47 +0200
commitdf6fca69a7d9bb11d7c6116a9cc4062a6e5e040d (patch)
treeddb03b65a863384057696300bc756bd863621f59 /test/eckey.pem
parentd1adbd1523f6d584fd9d060e4224ca07251aeb46 (diff)
Sign using ECDSA and fix a couple bugs.
Revive the plop_entry and hash over that instead of the full MTL, for the db hash. We don't want the timestamp in that hash! Use ECDSA instead of RSA for signing stuff. That's what Google does and we want to use their test suites. An annoyance with DSA is that the signature isn't deterministic. Testing just became less easy. Fix db:find() now that the hash is no longer the primary key.
Diffstat (limited to 'test/eckey.pem')
-rw-r--r--test/eckey.pem8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/eckey.pem b/test/eckey.pem
new file mode 100644
index 0000000..ed24cfa
--- /dev/null
+++ b/test/eckey.pem
@@ -0,0 +1,8 @@
+-----BEGIN EC PARAMETERS-----
+BggqhkjOPQMBBw==
+-----END EC PARAMETERS-----
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIMM/FjZ4FSzfENTTwGpTve6CP+IVrY7p8OKV634uJI/foAoGCCqGSM49
+AwEHoUQDQgAE4qWq6afhBUi0OdcWUYhyJLNXTkGqQ9PMS5lqoCgkV2h1ZvpNjBH2
+u8UbgcOQwqDo66z6BWQJGolozZYmNHE2kQ==
+-----END EC PRIVATE KEY-----