Re: forgery patch tests(fwd)
Brought to you by:
ftobin
|
From: Frank T. <ft...@ui...> - 2000-10-08 09:53:13
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Billy Donahue, at 07:36 -0400 on Tue, 3 Oct 2000, wrote: > Here's a test message after passing through the forgery filter. > My actual pgpenvelope borders are set to be: I've applied software changes based on the patches you sent (changed a little bit to improve efficiency), but unfortunately, I can't replicate the behaviour you are getting, even with applying your patch directly. For example, my default border is: > -----pgpenvelope processed message----- (without "> ") The following does not trip properly; e.g., it matches at index 34, not 0: > -----agpenvelope processed message----- (without "> ") The call I'm using in pgpenvelope_decrypt is: aindex( $border, [ $forgery_threshold ], $line ); $forgery_threshold is "10%" (default). If I increase the threshold to "6", (not 6%), I get better a match at index 0 (the desired behaviour). The means I'm testing is by running (inside a checked-out CVS copy of pgpenvelope): perl -Ilib pgpenvelope_decrypt --filter < forgery My changes are in CVS, if you're interested in seeing what I've done. - -- Frank Tobin http://www.uiuc.edu/~ftobin/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/ iEYEARECAAYFAjngRAcACgkQVv/RCiYMT6NYkACfUqb0NLTWIaq6NcynLWCq2M3o vJkAoIa0KFe6VdwjY2CoAHCPE7ThzgLK =8oHy -----END PGP SIGNATURE----- |