Parent Directory | Revision Log
|Links to HEAD:||(view) (download) (annotate)|
Move pidfile writing out of optional detaching
Whitespace cleanup: for i in *.c; do cp -a $i $i.orig; sed -e 's/^ /<TAB>/' $i.orig > $i; rm $i.orig; done for i in *.c *.h; do cp -a $i $i.orig; sed -e 's/[ <TAB>]*$//' $i.orig > $i; rm $i.orig; done
Bug fix: check the pool for waiting messages in the non-remailer configuration. In particular, messages are supposed to be sent immediately if the user sets POOLSIZE and SENDPOOLTIME to 0.
add commandline option --config=file this allows to use alternate configuration file (for example on encrypted partition) also make pool directory configurable
Added closing comments for all #ifdef statements. All #endif's, as well as nested braces, should be commented to reference their start. We need to provide comments before every function as well.
check expiration and revocation of pgp keys, userids, subkeys do not encrypt with expired or revoked keys, subkeys do not sign with expired or revoked keys do not decrypt with expired keys, subkeys after graceperiod when encrypting use preferences from latest and/or primary userid create new pgp keys if current are to expire in overlapperiod
new MSVC patch by Disastry
Write a pid file
Only ask for passphrase if none is set _and_ we do have a tty
Disastry's passphrase patch take II: also asks for passphrase when doing mix -K/G/R/M
Entered passphrase was overwritten with SIGHUP. It's now stored to a second variable.
Mixmaster now prompts for user input for the secret key passphrase when mix is started in daemon mode (./mix -D). Mixmaster will try to find either PGP/RSA, PGP/ELG or Mix key that can be decrypted with the provided passphrase. If it finds one, it assumes the passphrase is good. (We may have a problem if the user manages to get his secret key passphrases out of sync. Suggestions on handling this case?) FYI: the passphrase in mix.cfg takes precedence over the passphrase compiled into the binary. If neither of these are present, only then is the user prompted for a keyboard-input passphrase. We still need to make mix retain the user-provided passphrase across SIGHUP signals.
Mixmaster in daemon mode will now reload its configuration upon receiving a SIGHUP. It was necessary to set the defaults in their own function rather than when defining the variables. It will also catch SIGTERM and SIGINT and exit in a sane way, first finishing the current action. New option --no-detach will prevent mixmaster in daemon mode from detaching from the terminal.
List known mixmasters in remailer-conf replies. How do I get a list of the pgp keyring so I can also list type I remailers? Do we need to list type I remailers?
Added a new feature, --store-mail (-I), which will deliver an encrypted mix packet to the message pool without attempting being decrypted. It is stored as a i* packet in the pool, to be later decrypted by Mixmaster running in daemon mode, or with "mix -M" started (for example) by cron. This avoids passphrase prompting problems.
Detach as suggested by the Unix Programming FAQ
Submitted By: Sami Farin (safari): Included correct header files. Src/main.c had incorrect param to buf_appendf. Added buf_write_sync() (used by Src/rem.c:mix_pool()). Should a mixmaster machine crash, pool file can contain any random data after reboot/journal recovery (at least when using reiserfs). Maybe not relevant, but strrchr should be used instead of strchr when looking for domain part. Src/pgpdata.c:pgp_elgdecrypt() passes uninitialized values to BN_free if BN_CTX_new fails. Src/pgpdata.c:pgp_elgencrypt() passes uninitialized value to BN_free if the third mpi_get(key, i) fails. Src/random.c does not check return value of read(). Src/rndseed.c does not check return value of read().
The -T option (display type2.list) previously would not work if the file type2.list was not present. -T will now display type2.list info retrieved from pubring.mix if type2.list is not present.
Using break instead of continue in the -g option. Also add a missing break in the -a (attachment) command line parsing code.
Fixes argument handling bug pointed out by Antonomasia. Other appearances of "buf_appendf...argv[++i]" (but not "buf_appendf...argv[i]") may have similar problems.
Win32 service optimization, commandline args tweaked, help updated.
Renamed the service install and remove commands. Updated the man page.
Changes for WIN32 Service support. service.c is totally re-written, service.h is removed. main.c is now cleaner. TODO: better solution to the Win32/Unix directory seperation issue. Sring operations on every path is a lot of extra work. Why not fopen() ?
First round of changes adding support for Mixmaster as a service under Windows NT.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.5|