Seth Schoen
|
b1b7257c2a
|
what kind of getopt is the upstream hashcash using, anyway?
|
2012-07-18 22:36:22 -07:00 |
|
Seth Schoen
|
c89a0e8f8e
|
mint hashcash with expiry stated down to the second
|
2012-07-18 22:31:54 -07:00 |
|
Seth Schoen
|
c117582ece
|
drop privileges and use external hashcash binary again
|
2012-07-18 22:25:23 -07:00 |
|
Seth Schoen
|
df97026c72
|
Python hashcash minting is slow, so only generate 20 bits for now
|
2012-07-18 15:07:17 -07:00 |
|
Eric Wustrow
|
702b9ca394
|
Use hashcash python library directly, instead of subprocess.
We should really try to avoid calling out to potentially untrusted
binaries, especially as we are running as root
|
2012-07-17 21:27:00 -04:00 |
|
Seth Schoen
|
93f7afbf82
|
no longer use Python hashcash library
|
2012-07-16 19:26:42 -07:00 |
|
Seth Schoen
|
4352ff0e13
|
need to import subprocess
|
2012-07-16 19:25:41 -07:00 |
|
Seth Schoen
|
1b88b67544
|
use C language hashcash program to generate cash from client
|
2012-07-16 19:25:27 -07:00 |
|
Seth Schoen
|
62c2f5fa49
|
function name collision
|
2012-07-16 15:13:06 -07:00 |
|
Seth Schoen
|
ac0defac00
|
remove client-side dependency on CSR.py
|
2012-07-16 15:11:10 -07:00 |
|
Seth Schoen
|
a5c70283e8
|
wait after performing challenge, in the hope the server notices the first time
|
2012-07-14 23:34:39 -07:00 |
|
Seth Schoen
|
1756a29a6a
|
forgot an underscore
|
2012-07-14 17:32:26 -07:00 |
|
Seth Schoen
|
19bcb8486c
|
make some things more general; allow command line arguments
|
2012-07-14 17:31:43 -07:00 |
|
Seth Schoen
|
0b1b8e42d5
|
switch to hashlib
|
2012-07-14 15:08:15 -07:00 |
|
Seth Schoen
|
ecfc275a1e
|
continue with request after displaying it :-)
|
2012-07-14 14:42:07 -07:00 |
|
Seth Schoen
|
064148df29
|
use hashcash in protocol
|
2012-07-14 14:34:24 -07:00 |
|
Seth Schoen
|
f82c259b1a
|
actually check request recipient
|
2012-07-14 13:35:52 -07:00 |
|
Seth Schoen
|
8036fcbb01
|
update comments
|
2012-07-13 23:09:59 -07:00 |
|
Seth Schoen
|
17aa133774
|
Merge branch 'master' of ssh://github.com/research/chocolate
|
2012-07-13 18:57:51 -07:00 |
|
Seth Schoen
|
7b615c295e
|
don't SHA256 twice!
|
2012-07-13 18:57:10 -07:00 |
|
Peter Eckersley
|
7f6f3e785e
|
Merge branch 'master' of github.com:research/chocolate
|
2012-07-13 18:55:27 -07:00 |
|
Seth Schoen
|
9930ae8875
|
make sure to use "M3Crypto"
|
2012-07-13 18:55:09 -07:00 |
|
Peter Eckersley
|
95347b3d17
|
Make client.py executable
|
2012-07-13 18:55:08 -07:00 |
|
Seth Schoen
|
2901fa1c81
|
note about expected symlink to CSR.py
|
2012-07-13 14:51:59 -07:00 |
|
Seth Schoen
|
5407be4df6
|
exit when failures are reported
|
2012-07-12 16:49:28 -07:00 |
|
Seth Schoen
|
e12d7f8fea
|
report failures
|
2012-07-12 16:49:19 -07:00 |
|
Seth Schoen
|
dd2dc32a96
|
report failure after attempted issuance
|
2012-07-12 16:48:20 -07:00 |
|
Seth Schoen
|
34b61f68fa
|
save certificate after it gets issued
|
2012-07-12 16:47:40 -07:00 |
|
Seth Schoen
|
30622a436a
|
fix indentation
|
2012-07-12 16:45:41 -07:00 |
|
Seth Schoen
|
7bef1f50b9
|
actually do the challenge and wait for the results
|
2012-07-12 16:38:33 -07:00 |
|
Seth Schoen
|
344602edb6
|
actually the challenge code decrypts y for us to get r
|
2012-07-12 16:37:53 -07:00 |
|
Seth Schoen
|
b8a814a13f
|
make client use M2Crypto also
|
2012-07-12 14:36:39 -07:00 |
|
Seth Schoen
|
9c499c06f3
|
show all challenges
|
2012-07-11 19:40:09 -07:00 |
|
Seth Schoen
|
0d6b85a9b5
|
this client won't wait more than 60 seconds even if the server asks it to
|
2012-07-11 19:10:50 -07:00 |
|
Seth Schoen
|
2e49fbaa5e
|
implement polldelay in client
|
2012-07-11 19:09:54 -07:00 |
|
Seth Schoen
|
2e91aafa86
|
now successfully gets challenge data from server
|
2012-07-03 01:45:14 -07:00 |
|
Peter Eckersley
|
bc4987bc0e
|
The "webserver" dirname was confusing; client-webserver is better
|
2012-06-28 15:16:21 -07:00 |
|