Re: IDEA patent vs the recent USPTO memorandum

2009-09-17 Thread Robert J. Hansen
ved...@hush.com wrote:
> if only there were a gnupg mini-version with a shorter source-code,
> (or at least one that's readable by someone looking at it from 
> scratch, not just reading the updates and patches as they go along)
> then i'd gladly switch

This is doable.  I did this in '99 for GnuPG 1.0.  I haven't done it
since, but given the codebase is still in the same ballpark, size-wise,
I find it hard to believe it's impossible today.

It seems strange to imagine there's someone not capable of auditing the
GnuPG code, but is capable of auditing the PGP 2.6 code.

Having read both codebases (albeit not a recent GnuPG codebase), I found
GnuPG's code to be much clearer and easier to understand than PGP 2.6's.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: IDEA patent vs the recent USPTO memorandum

2009-09-17 Thread vedaal
>Message: 2
>Date: Wed, 16 Sep 2009 16:40:02 -0400
>From: David Shaw 

>If the "some people" still want this, I haven't seen it in a good 
>long while.  Possibly they gave up asking.  


as an old-time pgp 2.x user,
have often put the question to some of the die-hard remailer 2.6 
users:

'why don't you just switch to gnupg?'


this is the reason i got in response:

"i'm very concerned about my privacy, which is why i bother to use 
a remailer in the first place

i carefully went over every line in the pgp 2.6 sourcecode,
and i'm happy with it

if only there were a gnupg mini-version with a shorter source-code,
(or at least one that's readable by someone looking at it from 
scratch, not just reading the updates and patches as they go along)
then i'd gladly switch

to be fair, 
several of them 'have' switched to Disastry's version, and can use 
any algo or hash in open pgp (except those that came after Disastry 
;-(  )
specifically because his source code is short enough to be readable

(disclaimer,

not by me,
am not at that semi-paranoid level yet,

and at the medium compromise level of:

the stuff i want to encrypt and/or sign, isn't that important 
enough,
and i'm willing to trust experts in the field who have vetted the 
code ;-) )


vedaal


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


gnupg.py output

2009-09-17 Thread jayshree kalawa
hello,
After executing the gnupg.py module some exception thrown by it .so
i am unable to see what the output it gives.

The output generated by it ,is attached .

Reading the Gnupg documents it is clear to me that it provide encrytion
/decryption and other functionality .
 Is there any solution to use encryption function separately within by
program .

thanks ..
-- 
Jayshree Kalawa

scsmtech2...@yahoogroups.co.in
[jaysh...@testserver ~]$ python test_gnupg.py 
Test that key deletion works ... ok
Test that encryption and decryption works ... ok
Test the environment by ensuring that setup worked ... ok
Test that key import and export works ... ok
Test that after key generation, the generated key is available ... ok
Test that initially there are no keys ... ok
Test that absence of gpg is handled correctly ... ok
Test that signing and verification works ... ok
Doctest: gnupg.GPG.__init__ ... ok
Doctest: gnupg.GPG.encrypt ... Exception in thread Thread-83:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 150, in _read_response
result.handle_status(keyword, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 752, in handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: 'KEY_NOT_CREATED'

Exception in thread Thread-85:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 150, in _read_response
result.handle_status(keyword, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 752, in handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: 'KEY_NOT_CREATED'

Exception in thread Thread-89:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 150, in _read_response
result.handle_status(keyword, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 729, in handle_status
Verify.handle_status(self, key, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 563, in handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: 'NODATA'

Exception in thread Thread-93:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 150, in _read_response
result.handle_status(keyword, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 729, in handle_status
Verify.handle_status(self, key, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 563, in handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: 'NODATA'

Exception in thread Thread-95:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 150, in _read_response
result.handle_status(keyword, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 729, in handle_status
Verify.handle_status(self, key, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 563, in handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: 'NODATA'

Exception in thread Thread-97:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 150, in _read_response
result.handle_status(keyword, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 729, in handle_status
Verify.handle_status(self, key, value)
  File "/usr/lib/python2.4/site-packages/gnupg.py", line 563, in handle_status
raise ValueError("Unknown status message: %r" % key)
ValueError: Unknown status message: 'NODATA'

Exception in thread Thread-103:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
  File "/usr/lib/python2.4/threading.py", line