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