I played around trying to encrypt/decrypt data through GPG on the
fly (or worse - by using a file) (on Windows first - later to try
on Linux too)
Using os.popen3 like
hangs on o.read or e.read.
So its quite dark. Just a totally non-existing userid (-r) will
result significantly different like
Traceback (most recent call last):
File "<interacti ve input>", line 1, in ?
IOError: [Errno 22] Invalid argument
GPG asks confirmation stuff (and pwd upon -d or -c) on the command
line.
How to get all this the right way?
Robert
fly (or worse - by using a file) (on Windows first - later to try
on Linux too)
Using os.popen3 like
>>i,o,e=os.pope n3('gpg -e -r Robert')
>># i.write('y\n')
>>i.write('wefw ef')
>>i.close()
>># e.read(1)
>>o.read(1)
>># i.write('y\n')
>>i.write('wefw ef')
>>i.close()
>># e.read(1)
>>o.read(1)
So its quite dark. Just a totally non-existing userid (-r) will
result significantly different like
>>i.write('wefw ef')
File "<interacti ve input>", line 1, in ?
IOError: [Errno 22] Invalid argument
GPG asks confirmation stuff (and pwd upon -d or -c) on the command
line.
How to get all this the right way?
Robert
Comment