Re: Problem decrypting large file.

2006-03-21 Thread Alphax
Peter C. Chapin wrote: > Hello! I've googled a bit on this problem but I have not so far found > anything helpful. > http://lists.gnupg.org/pipermail/gnupg-users/2005-September/026646.html http://lists.gnupg.org/pipermail/gnupg-users/2005-October/027259.html http://lists.gnupg.org/pipermail/gnu

Re: Problem decrypting large file.

2006-03-21 Thread Peter C. Chapin
On Tue, 21 Mar 2006, Werner Koch wrote: > It definitely can. The safe why of doing so is by using i/o > redirection; i.e.: > > gpg -e plain.gpg > > This way the size of PLAIN is irrelevant to gpg. The shell (cmd.exe) > is responsible for opening the files the correct way. Hmmm. The post here

Re: [Announce] GnuPG does not detect injection of unsigned data

2006-03-21 Thread Werner Koch
On Fri, 10 Mar 2006 19:40:54 +0100, Jan Luehr said: > well, this takes me to a difficult question: > How much more are to come? (Have you begun a code audit? How long will it > take > then?) Common wisdoms tells that it is pretty ineffective for a developer to audit his own code. Despite that

Help: /dev/tty error

2006-03-21 Thread Daniel Carrera
Hello, I'm trying to use gpg on a remote server (the server has a copy of my public key, a file is encrypted there and my client downloads it by HTTP). I'm getting the following error: gpg: cannot open /dev/tty: No such device or address This is a Linux box (Red Hat I think). Do you know what t

Re: Change PIN on OpenPGP-Card with Cherry SmartTerminal ST-1044

2006-03-21 Thread Werner Koch
On 14 Mar 2006 20:07:21 +0100, Dennis Heitmann said: > gpg: pcsc_transmit failed: not transacted (0x80100016) > gpg: apdu_send_simple(0) failed: card I/O error That is a catch all error of thye underlying ifd-handler. I have never tried that board with the PCSC driver. It works fine when using

Re: Problem decrypting large file.

2006-03-21 Thread Peter C. Chapin
On Tue, 21 Mar 2006, Alphax wrote: > http://lists.gnupg.org/pipermail/gnupg-users/2005-September/026646.html > > http://lists.gnupg.org/pipermail/gnupg-users/2005-October/027259.html > > http://lists.gnupg.org/pipermail/gnupg-users/2006-February/028073.html > > and their replies. Thanks for the

/dev/tty error

2006-03-21 Thread Daniel Carrera
Hello, I'm trying to use gpg on a remote server (the server has a copy of my public key, a file is encrypted there and my client downloads it by HTTP). I'm getting the following error: gpg: cannot open /dev/tty: No such device or address This is a Linux box (Red Hat I think). Do you know wha

RE: batch mode lack of randomness FreeBSD

2006-03-21 Thread Henry Hertz Hobbit
Stef Caunter <[EMAIL PROTECTED]> wrote: >I'm sure I have just missed this in the archives, but I cannot see >mention of a way to get sufficient randomness when running gpg >remotely in a shell account to batch generate key pairs, i.e. > >gpg --gen-key --batch tmp > >where tmp is populated accordi

Re: batch mode lack of randomness FreeBSD

2006-03-21 Thread Raphaƫl Poss
Hi, Stef Caunter wrote: I have populated ~/.gnupg/random_seed with 600 bytes from /dev/urandom This is generally a very *bad* idea in terms of cryptography: /dev/urandom uses a pseudo-random generator with predictable results, (relatively) low random quality that is not suitable at all for

Re: /dev/tty error

2006-03-21 Thread Daniel Carrera
Werner Koch wrote: This is a Linux box (Red Hat I think). Do you know what this error means? What can I do to fix it? You need to give more information. Yes, but I didn't know what else I should say. Very likely you are running gpg without a TTY associated; I'm running it from a PHP scrip

Re: /dev/tty error

2006-03-21 Thread Werner Koch
On Tue, 21 Mar 2006 11:13:20 +, Daniel Carrera said: > This is a Linux box (Red Hat I think). Do you know what this error > means? What can I do to fix it? You need to give more information. Very likely you are running gpg without a TTY associated; there are enough mails with the same quest

Re: Problem decrypting large file.

2006-03-21 Thread Werner Koch
On Tue, 21 Mar 2006 06:32:44 -0500, Peter C Chapin said: > the workaround described in the September posts was shown to possibly not > work in the October posts and no resolution was discussed. Am I to > conclude that gpg simply can't reliably encrypt multi-gigabyte files on It definitely can. T

Re: batch mode lack of randomness FreeBSD

2006-03-21 Thread Werner Koch
On Thu, 16 Mar 2006 01:10:25 -0500 (EST), Stef Caunter said: > I've started a child process that continually writes to a disk file during > the --gen-key --batch job... That won't help much. A better thing is find /usr -type f | xargs cat >dev/null > Is this just the way it is on FreeBSD (4

Error: "unusable public key"

2006-03-21 Thread Daniel Carrera
Hello, I'm having another problem, again not in the FAQ: sql.gz: encryption failed: unusable public key This happens when I try to encrypt a file with my public key. This is what I'm trying to do: I want to backup a remote database regularly but I'd like to transmit it encrypted. So I want

Re: batch mode lack of randomness FreeBSD

2006-03-21 Thread Michael W. Lucas
On Tue, Mar 21, 2006 at 08:45:47AM -0500, Henry Hertz Hobbit wrote: > Stef Caunter <[EMAIL PROTECTED]> wrote: > >Is this just the way it is on FreeBSD (4.11-RELEASE)? There is > >plenty of randomness in /dev/urandom, and none in /dev/random... Definitely ask on [EMAIL PROTECTED] > Can you ask yo

How to sign with non-subkey?

2006-03-21 Thread Simon Josefsson
I recently created a signing sub-key (on a smartcard, if it matters) and gpg now use it by default. How do I sign messages using my non-subkey? I thought -u would do it, but it doesn't seem to work: [EMAIL PROTECTED]:~$ echo foo |gpg -a -s -v -u b565716f gpg: using subkey AABB1F7B instead of pri

Re: How to sign with non-subkey?

2006-03-21 Thread David Shaw
On Tue, Mar 21, 2006 at 04:02:51PM +0100, Simon Josefsson wrote: > I recently created a signing sub-key (on a smartcard, if it matters) > and gpg now use it by default. How do I sign messages using my > non-subkey? I thought -u would do it, but it doesn't seem to work: > > [EMAIL PROTECTED]:~$ e

[Announce] GPA 0.7.3 released

2006-03-21 Thread Werner Koch
Hello, We are pleased to announce the release of GPA 0.7.3. GPA is a graphical frontend for the GNU Privacy Guard (GnuPG, http://www.gnupg.org). GPA can be used to encrypt, decrypt, and sign files, to verify signatures and to manage the private and public keys. This is a development release. Ple

Re: Error: "unusable public key"

2006-03-21 Thread Alphax
Daniel Carrera wrote: > Hello, > > I'm having another problem, again not in the FAQ: > > sql.gz: encryption failed: unusable public key > > This happens when I try to encrypt a file with my public key. > > /path/to/.gnupg/pubring.gpg > ---