aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tor-gencert.c
Commit message (Expand)AuthorAge
* Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson2012-06-04
* Apply a patch from Gisle Vanem to make tor-gencert build under MSVC•••(Note: It makes sense to use tor-gencert on Windows for testing purposes only. If you are a directory authority operator, and you are contemplating running tor-gencert on a Windows box in an actual production environment, you are probably making a mistake.) Nick Mathewson2012-05-07
* Rename nonconformant identifiers.•••Fixes bug 4893. These changes are pure mechanical, and were generated with this perl script: /usr/bin/perl -w -i.bak -p s/crypto_pk_env_t/crypto_pk_t/g; s/crypto_dh_env_t/crypto_dh_t/g; s/crypto_cipher_env_t/crypto_cipher_t/g; s/crypto_digest_env_t/crypto_digest_t/g; s/aes_free_cipher/aes_cipher_free/g; s/crypto_free_cipher_env/crypto_cipher_free/g; s/crypto_free_digest_env/crypto_digest_free/g; s/crypto_free_pk_env/crypto_pk_free/g; s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g; s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g; s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g; s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g; s/crypto_new_cipher_env/crypto_cipher_new/g; s/crypto_new_digest_env/crypto_digest_new/g; s/crypto_new_digest256_env/crypto_digest256_new/g; s/crypto_new_pk_env/crypto_pk_new/g; s/crypto_create_crypto_env/crypto_cipher_new/g; s/connection_create_listener/connection_listener_new/g; s/smartlist_create/smartlist_new/g; s/transport_create/transport_new/g; Nick Mathewson2012-01-18
* tor-gencert: Fix a minor formatting issue in an error message (re: #4574)Peter Palfrader2011-11-25
* Fix names of functions that convert strings to addrs•••Now let's have "lookup" indicate that there can be a hostname resolution, and "parse" indicate that there wasn't. Previously, we had one "lookup" function that did resolution; four "parse" functions, half of which did resolution; and a "from_str()" function that didn't do resolution. That's confusing and error-prone! The code changes in this commit are exactly the result of this perl script, run under "perl -p -i.bak" : s/tor_addr_port_parse/tor_addr_port_lookup/g; s/parse_addr_port(?=[^_])/addr_port_lookup/g; s/tor_addr_from_str/tor_addr_parse/g; This patch leaves aton and pton alone: their naming convention and behavior is is determined by the sockets API. More renaming may be needed. Nick Mathewson2011-10-11
* Specify text or binary mode in every start_writing_to_stdio_file callRobert Ransom2011-07-19
* Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2011-01-03
|\
| * Bump copyright statements to 2011Nick Mathewson2011-01-03
* | Rename log.h to torlog.h•••This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }' Nick Mathewson2010-07-09
* | clean up whitespace in src/toolsNick Mathewson2010-05-20
* | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\|
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Make tor-gencert build on Android•••Previously, tor-gencert would call RSA_generate_key() directly. This won't work on Android, which removes the (deprecated since OpenSSL 0.9.8) function. We can't call RSA_generate_key_ex() unconditionally either, since that didn't exist before 0.9.8. Instead, we must call our own crypto_pk_generate_key_with_bits, which knows how to call RSA_generate_key or RSA_generate_key_ex as appropriate. [Based on patch by Nathan Freitas] Nick Mathewson2009-09-29
* | Include util.h and log.h as relative paths.•••This shouldn't be necessary, but apparently the Android cross-compiler doesn't respect -I as well as it should. (-I is supposed to add to the *front* of the search path. Android's gcc wrapper apparently likes to add to the end. This is broken, but we need to work around it.) Nathan Freitas2009-09-29
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-01
|\|
| * Fix compile warnings on Snow Leopard•••Big thanks to nickm and arma for helping me with this! Sebastian Hahn2009-09-01
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck2009-05-23
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Add cross-certification to authority key certificates. Partial implementatio...•••svn:r17610 Nick Mathewson2008-12-12
* Change logging code to use fds instead of stdio. Fixes bug 861, and probably...•••svn:r17456 Nick Mathewson2008-12-02
* Fix a memory leak in tor-gencert.c•••svn:r16776 Nick Mathewson2008-09-05
* r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200••• Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much. svn:r16208 Nick Mathewson2008-07-25
* and one more•••svn:r14152 Roger Dingledine2008-03-21
* r18804@catbus: nickm | 2008-03-13 18:18:31 -0400••• Refactor log domain mask code so that nobody outside of log.c has to use SEVERITY_MASK_IDX. It is error-prone. svn:r14016 Nick Mathewson2008-03-13
* r18632@catbus: nickm | 2008-03-05 17:38:52 -0500••• Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd svn:r13876 Nick Mathewson2008-03-05
* r18630@catbus: nickm | 2008-03-05 17:31:33 -0500••• Implement domain-selection for logging. Source is documented; needs documentation in manpage (maybe). For now, see doxygen comment on parse_log_severity_config in log.c svn:r13875 Nick Mathewson2008-03-05
* r14396@tombo: nickm | 2008-02-22 14:07:37 -0500••• Add --passphrase-fd to tor-gencert. svn:r13679 Nick Mathewson2008-02-22
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500••• Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405 Nick Mathewson2008-02-06
* r17639@catbus: nickm | 2008-01-15 19:09:21 -0500••• Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate. svn:r13147 Nick Mathewson2008-01-16
* r17584@catbus: nickm | 2008-01-12 18:52:01 -0500••• Fix output of "tor-gencert --help" svn:r13118 Nick Mathewson2008-01-12
* r17550@catbus: nickm | 2008-01-10 12:08:01 -0500••• Add a manual page for tor-gencert. Also implement the missing -s option in tor-gencert, and fix the info message for when no cert file is specified. svn:r13091 Nick Mathewson2008-01-10
* r17459@catbus: nickm | 2008-01-03 17:44:25 -0500••• add init_logging calls to tor_gencert and tor_resolve svn:r13028 Nick Mathewson2008-01-03
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* r15956@catbus: nickm | 2007-10-19 11:18:14 -0400••• Encode address in certificates. Also, make it possible to create certs reusing an old key. svn:r12046 Nick Mathewson2007-10-19
* r14832@catbus: nickm | 2007-08-29 15:00:27 -0400••• Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM. svn:r11301 Nick Mathewson2007-08-29
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400••• Include fewer redundant headers; use the compiler search paths better. svn:r11060 Nick Mathewson2007-08-08
* r13385@catbus: nickm | 2007-06-13 14:14:47 -0400••• In tor-gencert, write BEGIN SIGNATURE, not BEGIN_SIGNATURE. svn:r10585 Nick Mathewson2007-06-13
* r13239@catbus: nickm | 2007-06-04 11:30:37 -0400••• Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400. svn:r10485 Nick Mathewson2007-06-04
* r13191@catbus: nickm | 2007-06-03 19:38:18 -0400••• Set umask(0700) when starting tor-gencert; resolves bug 445. svn:r10475 Nick Mathewson2007-06-03
* r12605@catbus: nickm | 2007-04-30 21:10:48 -0400••• Add an expiry date to key certificates. svn:r10079 Nick Mathewson2007-05-01
* r12596@catbus: nickm | 2007-04-30 18:42:44 -0400••• New tool to generate key certificates as in proposal 103. needs cleanup svn:r10075 Nick Mathewson2007-04-30