Skip to content
Browse files

Use a real public key in the example (#1454)

Fixes #1392
  • Loading branch information
gdbelvin committed Feb 13, 2020
1 parent 2de5509 commit 170bf2612bb8ac682f6d9b702382afa23a36191b
Showing with 11 additions and 2 deletions.
  1. +11 −2
@@ -108,14 +108,23 @@ NB A default for the Key Transparency server URL is being used here. The default
Any number of protocols may be used to prove to the server that a client owns a userID.
The sandbox server supports a fake authentication string and [OAuth](

Create or fetch the public key for your specific application.
openssl genpkey -algorithm X25519 -out xkey.pem
openssl pkey -in xkey.pem -pubout
-----END PUBLIC KEY-----

keytransparency-client post \
--kt-url \
--fake-auth-userid \
--password=${PASSWORD} \
--verboase \
--verbose \
--logtostderr \
--data='dGVzdA==' #Base64
--data='MCowBQYDK2VuAyEAtCAsIMDyVUUooA5yhgRefcEr7edVOmyNCUaN1LCYl3s=' #Your public key in base64

#### Get and verify a public key

0 comments on commit 170bf26

Please sign in to comment.
You can’t perform that action at this time.