Skip to content

Commit

Permalink
Fix an error in the README.
Browse files Browse the repository at this point in the history
Must use POST in the wget command, otherwise we get 404.
  • Loading branch information
alga committed Apr 16, 2014
1 parent e95ce79 commit fd52546
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ To get started do::
The server will come up on port 8080. You can create a new key encrypting key
using::

$ wget https://localhost:8080/new -O kek.dat --ca-certificate sample.pem
$ wget https://localhost:8080/new -O kek.dat --ca-certificate sample.pem \
--post-data=""

or, if you want a more convenient tool::

Expand All @@ -19,7 +20,8 @@ or, if you want a more convenient tool::
The data encryption key can now be retrieved by posting the KEK to another
URL::

$ wget https://localhost:8080/key --header 'Content-Type: text/plain' --post-file kek.dat -O datakey.dat --ca-certificate sample.pem
$ wget https://localhost:8080/key --header 'Content-Type: text/plain' \
--post-file kek.dat -O datakey.dat --ca-certificate sample.pem

or ::

Expand Down

0 comments on commit fd52546

Please sign in to comment.