summaryrefslogtreecommitdiff
path: root/scripts/codegen
AgeCommit message (Collapse)Author
2020-10-30Merge remote-tracking branch 'tor-gitlab/mr/174' into masterGeorge Kadianakis
2020-10-16Regenerate extample_extrainfo.inc and adjust tests.Nick Mathewson
2020-10-16Regenerate complete failing_routerdescs.inc and adjust tests accordingly.Nick Mathewson
2020-10-16Update makedesc.py script so that it works with python3.Nick Mathewson
2020-09-18Add TOR_TRACE_LIBS to fuzzing_include_am.pyNick Mathewson
(It looks like it was forgotten previously)
2020-09-18Build one big .a library full of Tor's implementation.Nick Mathewson
This is experimental and probably will break some platforms
2020-07-15Add support for patterns on %include #25140Daniel Pinto
Also adds generic tor_glob function to expand globs.
2020-02-16Stop assuming that /usr/bin/python existsPanagiotis Vasilopoulos
Fixes 33192
2020-02-11Undefined name: make_key() -> make_rsa_key()Christian Clauss
2020-02-03Remove unused import UserDictChristian Clauss
Fixes: https://trac.torproject.org/projects/tor/ticket/32791#comment:3 Unblocks: #1686
2020-01-28Use print() function in both Python 2 and Python 3cclauss
2019-12-12python: Add __future__ imports for python 3 compatibilityteor
Except for src/ext, which we may not want to modify. Closes ticket 32732.
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-12Copy the nss-related changes into fuzzing_include_am.py.Nick Mathewson
2018-12-12Fuzzing module for various string operations, currently focusing onNick Mathewson
encoding and decoding. There are bunches of places where we don't want to invest in a full fuzzer, but we would like to make sure that some string operation can handle all its possible inputs. This fuzzer uses the first byte of its input to decide what to do with the rest of the input. Right now, all the possibilities are decoding a string, and seeing whether it is decodeable. If it is, we try to re-encode it and do the whole thing again, to make sure we get the same result. This turned up a lot of bugs in the key-value parser, and I think it will help in other cases too. Closes ticket 28808.
2018-10-29run_trunnel.sh: Use 'find -exec' instead of a 'for' looprl1987
This fixes shellcheck warnings SC2044 and SC2006.
2018-10-29Silence shellcheck SC2086 in run_trunnel.shrl1987
2018-07-17Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-17Fix build to work with --disable-unittests againrl1987
2018-07-12Add fuzzing wrapper for fetch_from_buf_socks()Nick Mathewson
2018-07-05Fix fuzzing_include_am.pyNick Mathewson
2018-06-20Update copyrights to 2018.Nick Mathewson
2017-10-31all the other lines here had a tab; make this one blend inRoger Dingledine
2017-10-26Revert "Temporarily disable compilation of the v3 hs fuzzing code"David Goulet
This reverts commit 5ef656e7d1b1e1e74c46bd02ce8faaa1d8d09403.
2017-09-05Merge branch 'http_tunnel_squashed'Nick Mathewson
2017-09-05Add a fuzzer for HTTP CONNECTNick Mathewson
2017-08-28Temporarily disable compilation of the v3 hs fuzzing codeNick Mathewson
Turns out, it wasn't up-to-date with the latest v3 hs API :(
2017-08-28Merge remote-tracking branch 'haxxpop/fuzzing-hsv3'Nick Mathewson
2017-08-2122839: Build tor with rust enabled on winTies Stuij
- make tor_util static library name configurable - fix Rust libary dependency order for Windows
2017-08-13Fuzz outer layer of hsv3 descriptorSuphanat Chunhapanya
The code in fuzz_hsdescv3.c fuzzes the unencrypted layer of the hsv3 descriptor. We need to fuzz the encrypted layer later.
2017-07-03Update fuzzing_include_am to include updates from include.amNick Mathewson
2017-03-16Generate src/test/fuzz/include.am from a scriptNick Mathewson
It was very error-prone to maintain this by hand.
2017-03-15Run the copyright update script.Nick Mathewson
2017-01-27Merge branches 'server_ciphers' and 'ciphers.inc'Nick Mathewson
2017-01-27MOre gen_server_ciphers improvements:Nick Mathewson
- Remove DES from mandatory list. - always put the closing ; on its own line.
2017-01-24Teach gen_server_ciphers about CCM and Chacha.Nick Mathewson
Also, teach it to not use 3DES any more.
2017-01-24Update ciphers.inc script to understand openssl-1.1Nick Mathewson
2016-12-08Update to trunnel 1.5.1Nick Mathewson
2016-10-31Make trunnel find files recursivelyDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2015-10-07update codegen script to work with latest mozillaNick Mathewson
2015-05-28Sign extrainfo documents with ed25519Nick Mathewson
Extrainfo documents are now ed-signed just as are router descriptors, according to proposal 220. This patch also includes some more tests for successful/failing parsing, and fixes a crash bug in ed25519 descriptor parsing.
2015-05-28Revise makedesc.py: teach it how to emit ed signatures and crosscertsNick Mathewson
Also, add a trivial ed25519-signed routerinfo to the tests.
2015-05-28Add trunnel-generated items for link handshake code.Nick Mathewson
This includes the link handshake variations for proposal220. We'll use this for testing first, and then use it to extend our current code to support prop220.
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-10-13Commit the script I used to generate signed ri and ei documentsNick Mathewson
2014-09-25Use --require-version to prevent running trunnel pre-1.2Nick Mathewson
(Also, regenerate trunnel stuff with trunnel 1.2. This just adds a few comments to our output.)
2014-09-25Have the run_trunnel.sh script tell trunnel to update src/ext/trunnel tooNick Mathewson
2014-09-25Add a script to run trunnel on the trunnel files.Nick Mathewson
Also, re-run the latest trunnel. Closes ticket 13242
2014-05-07Move code-generation scripts to scripts/codegenNick Mathewson
Now that we have a scripts/* directory, let's put the scripts we use for generating C there.