/[pkg-mixmaster]/branches/mixmaster_2_9_STABLE/Mix/Src/pgpdata.c
ViewVC logotype

Log of /branches/mixmaster_2_9_STABLE/Mix/Src/pgpdata.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 665 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 9 01:47:32 2003 UTC (9 years, 6 months ago) by rabbi
File length: 28250 byte(s)
Diff to previous 657
Updated Copyright date on currently used source files.

Revision 657 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 7 08:31:43 2003 UTC (9 years, 6 months ago) by weasel
File length: 28250 byte(s)
Diff to previous 651
Backport r478: Make sure DH/DSA param file is actually opened before writing to it.  Fixes a segfault in case it is not.

Revision 651 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 7 06:52:03 2003 UTC (9 years, 6 months ago) by weasel
File length: 28117 byte(s)
Diff to previous 650
Canonicalize line endings and set end-of-line style to native for all files

Revision 650 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 7 06:16:18 2003 UTC (9 years, 6 months ago) by weasel
File length: 28117 byte(s)
Diff to previous 525
Set keyword expansion for Id on all files that already have $Id$ tags.

Revision 525 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 1 23:39:11 2003 UTC (9 years, 11 months ago) by rabbi
File length: 28170 byte(s)
Diff to previous 418
Windows buld support changes.

Revision 418 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 16 22:38:14 2002 UTC (10 years, 5 months ago) by rabbi
File length: 28154 byte(s)
Diff to previous 331
Updated copyright information.

Revision 331 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 9 20:51:09 2002 UTC (10 years, 7 months ago) by weaselp
File length: 28135 byte(s)
Diff to previous 327
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 327 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 9 20:29:44 2002 UTC (10 years, 7 months ago) by weaselp
File length: 28152 byte(s)
Diff to previous 306
Added closing comments for all #ifdef statements.

Revision 306 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 4 23:49:17 2002 UTC (10 years, 7 months ago) by rabbi
File length: 27973 byte(s)
Diff to previous 250
I've back-ported most of the important changes since 2.9b38 to the -STABLE branch.
I've only applied the changes I think are unlikely to break anything. This needs to be tested (and the diff'd reviewed) before we proceed.

If anyone feels I've left out anything that should really be in 2.9, please speak up.

Revision 250 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 11 21:43:11 2002 UTC (10 years, 8 months ago) by rabbi
File length: 27937 byte(s)
Diff to previous 242
Using 0x11 as the RSA exponent.

Revision 242 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 11 20:44:49 2002 UTC (10 years, 8 months ago) by rabbi
File length: 27932 byte(s)
Diff to previous 135
Misc Install script fixes for 2.9beta37a.

Revision 135 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 16 19:03:37 2002 UTC (10 years, 9 months ago) by rabbi
Original Path: trunk/Mix/Src/pgpdata.c
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 134 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 15 16:52:12 2002 UTC (10 years, 9 months ago) by weaselp
Original Path: trunk/Mix/Src/pgpdata.c
File length: 27316 byte(s)
Diff to previous 131
Several PGP fixes by Disastry:
No longer create mpi with leading zero <3D5BB519.F2E520F8@saiknes.lv>
Handle RSA keys with size not a multiple of 64 bits <3D5BA9E5.72B7C600@saiknes.lv>
put "Hash: SHA1\n" header when clearsigning with DSA/SHA1 <3D5B80F9.16F277AF@saiknes.lv>

Revision 131 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 13 14:33:23 2002 UTC (10 years, 9 months ago) by weaselp
Original Path: trunk/Mix/Src/pgpdata.c
File length: 27089 byte(s)
Diff to previous 120
Fix a small bug in pgpdata.c that stopped mixmaster from reading cipher preferences. <3D590B99.7481598B@saiknes.lv>

Revision 120 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 3 17:08:02 2002 UTC (10 years, 9 months ago) by weaselp
Original Path: trunk/Mix/Src/pgpdata.c
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, 10 months ago) by rabbi
Original Path: trunk/Mix/Src/pgpdata.c
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 87 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 10 01:10:55 2002 UTC (10 years, 10 months ago) by weaselp
Original Path: trunk/Mix/Src/pgpdata.c
File length: 26349 byte(s)
Diff to previous 86
Fix use of global vars in function
Disastry bug <3C970EAC.936504AB@saiknes.lv>

Revision 86 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 10 00:40:56 2002 UTC (10 years, 10 months ago) by weaselp
Original Path: trunk/Mix/Src/pgpdata.c
File length: 26358 byte(s)
Diff to previous 83
Call RSA_free at the end of pgp_rsakeygen()

Revision 83 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 9 08:05:45 2002 UTC (10 years, 10 months ago) by rabbi
Original Path: trunk/Mix/Src/pgpdata.c
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, 4 months ago) by ulfm
Original Path: trunk/Mix/Src/pgpdata.c
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.)

Revision 51 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 15 00:34:21 2001 UTC (11 years, 5 months ago) by ulfm
Original Path: trunk/Mix/Src/pgpdata.c
File length: 26126 byte(s)
Diff to previous 1
Bug fix: use proper key id for ElGamal encryption.

Revision 1 - (view) (download) (annotate) - [select for diffs]
Added Wed Oct 31 08:19:51 2001 UTC (11 years, 6 months ago) by rabbi
Original Path: trunk/Mix/Src/pgpdata.c
File length: 26036 byte(s)
Initial revision

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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5