Nick Mathewson
|
0ef85f6dba
Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
|
20 年之前 |
Roger Dingledine
|
d91cacb839
agree with nick: this legal-chars-in-filename stuff gets us nothing
|
20 年之前 |
Nick Mathewson
|
015232bd39
As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them.
|
20 年之前 |
Nick Mathewson
|
7119345fbb
Fix base16_decode; trashing the stack is rude.
|
20 年之前 |
Roger Dingledine
|
7459d067a5
now base16_encode() and base32_encode() can't ever fail
|
20 年之前 |
Roger Dingledine
|
156cfb00fa
oh, and it should compile too
|
20 年之前 |
Roger Dingledine
|
6e571c8c4c
make base16_encode() fail more obviously when it fails
|
20 年之前 |
Nick Mathewson
|
7d8de8cd10
More digest/nickname fixes
|
20 年之前 |
Nick Mathewson
|
541add90a1
Track routers by hash of identity key; use hex hash of identity key in place of nickname; accept (and use) hash of identity key in EXTEND cells.
|
20 年之前 |
Roger Dingledine
|
8ca162c472
put a comment reminding us that we do hashes in software only
|
20 年之前 |
Roger Dingledine
|
6dc576bab7
bugfix: our integrity-checking digest was checking only the most
|
20 年之前 |
Nick Mathewson
|
9c3fba5c3b
Not every RSA decrypt should warn on failure.
|
20 年之前 |
Roger Dingledine
|
3cdf2d67da
it's amazing what a bit of punctuation can do for appearances
|
20 年之前 |
Nick Mathewson
|
c0ea93337d
Doxygenate common.
|
20 年之前 |
Roger Dingledine
|
1558fb7650
some patches on the patches
|
20 年之前 |
Nick Mathewson
|
9a041591ac
Finish documenting the functions in common
|
20 年之前 |
Nick Mathewson
|
908ccb9dcd
Handle windows socket errors correctly; comment most of common.
|
20 年之前 |
Nick Mathewson
|
ddb15b8f67
Remove IVs from cipher code, since AES-ctr has none.
|
20 年之前 |
Roger Dingledine
|
5d1510883e
use nick's _ARRAYSIZE abstraction
|
20 年之前 |
Nick Mathewson
|
7055f837ab
Make Tor build on win32 with VC6 without warnings.
|
20 年之前 |
Nick Mathewson
|
ac622d94dc
Workarounds for a couple of pieces of windows strangeness.
|
20 年之前 |
Roger Dingledine
|
4e0dd5bd33
some compilers don't like an array of length zero
|
20 年之前 |
Nick Mathewson
|
f6dbe5a0d4
Refactor crypto error handling to be more like TLS error handling:
|
20 年之前 |
Roger Dingledine
|
37192bd25e
use tor_assert and PUBLIC_KEY_OK
|
20 年之前 |
Nick Mathewson
|
70bbd0cafa
Add assert on crypto_pk_write_private_key,and macros to make sure we have real keys
|
20 年之前 |
Roger Dingledine
|
6a45028ccb
don't warn when private_decrypt_hybrid fails
|
20 年之前 |
Nick Mathewson
|
c44016e86e
Merge flagday into main branch.
|
20 年之前 |
Nick Mathewson
|
306adfc8bd
Fix two dumb leaks in crypto.c
|
20 年之前 |
Nick Mathewson
|
aa7cfd93e5
Fix base32 implementation; make base32 implementation follow standard; add more tests for base32
|
20 年之前 |
Nick Mathewson
|
f24519e4b9
Set correct address and port mappings on outgoing rendezvous connections
|
20 年之前 |