Log of /trunk/Mix/Src/pgpdata.c
Parent Directory
|
Revision Log
Revision
332 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 9 20:53:32 2002 UTC
(10 years, 8 months ago)
by
weaselp
File length: 36725 byte(s)
Diff to
previous 298
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
Revision
262 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 18 23:26:17 2002 UTC
(10 years, 9 months ago)
by
rabbi
File length: 36537 byte(s)
Diff to
previous 261
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.
Revision
254 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 12 17:26:00 2002 UTC
(10 years, 9 months ago)
by
disastry
File length: 36256 byte(s)
Diff to
previous 221
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
Revision
205 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 29 08:50:00 2002 UTC
(10 years, 9 months ago)
by
weaselp
File length: 29260 byte(s)
Diff to
previous 185
When creating new OpenPGP keys, also set an expiry date. Key lifetime
defaults to 8 months but can be overriden by the KEYLIFETIME configuration
option.
We currently do not store the self signature and the keybinding (which hold
the expiry information in DSA keys) in the secret keyring. This is
unfortunate because we use the current KEYLIFETIME when recreating them
should the public keyring need to be rewritten. The solution is to store
them in the secret keyring (like GnuPG does) and not recreate them later
if we already have them.
Revision
185 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 26 19:17:31 2002 UTC
(10 years, 9 months ago)
by
weaselp
File length: 29239 byte(s)
Diff to
previous 135
Fixed a bug with reading armored keyrings consisting of more than one armored
block or having comments in front of the one armored block.
The secret pgp keyring is now stored ASCII armored with one key per ascii
armor.
NB: Due to the bug with reading armored keyrings and secring being stored
armored now, it is not adviseable to downgrade mixmaster unless special action
is taked to preserve the secret pgp keyring.
Revision
135 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 16 19:03:37 2002 UTC
(10 years, 10 months ago)
by
rabbi
File length: 27932 byte(s)
Diff to
previous 134
Mixmaster now uses the OpenPGP MDC packets (as specified in RFC 2440-bis06).
Mixmaster will use MDC packets if the MDC flag is found in the recipient's
PGP key, or by default if it is encrypting with AES.
New keys generated with Mixmaster will have the MDC flag placed in the key's
preferences. Also, cipher preferences are now advertised as CAST5, AES128,
3DES.
Revision
120 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 3 17:08:02 2002 UTC
(10 years, 10 months ago)
by
weaselp
File length: 27060 byte(s)
Diff to
previous 98
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().
Revision
98 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 22 17:54:48 2002 UTC
(10 years, 11 months ago)
by
rabbi
File length: 26994 byte(s)
Diff to
previous 87
Added support for AES in Type I messages. This should prevent lost mail if
a user attempts to send OpenPGP messages encrypted with AES.
Support for AES requires OpenSSL 0.9.7 (soon to be released.) The Install
script needs to be updated to enable AES if 0.9.7 or later is present.
Also, pgp_keylen now returns 0 instead of -1 for unknown symalgo. Output
of pgp_keylen is used in buf_appendrnd and in other functions without
checking, so they might be unhappy with -1. (We should really check for
this.)
Thanks to Disastry and Peter for working on this.
Revision
83 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 9 08:05:45 2002 UTC
(10 years, 11 months ago)
by
rabbi
File length: 26341 byte(s)
Diff to
previous 63
Mixmaster was unable to use RSA private keys which were not multiples of 8
bytes. Mixmaster now resyncs before each mpi.
Revision
63 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 16 19:12:25 2002 UTC
(11 years, 5 months ago)
by
ulfm
File length: 26173 byte(s)
Diff to
previous 51
Avoid failed assertion on length 0 subpacket. (Apparently there still
is a bug in the subpacket parsing code.)
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.