Re: changing usage flags on a primary key

2010-11-10 Thread Werner Koch
On Tue, 9 Nov 2010 22:41, d...@fifthhorseman.net said: > Basically, i'm asking about creating a new self-sig packet with a > modified key usage flags subpacket on a key that i control. How would i > do that with GnuPG? That is not supported by an option. You need to change the code. I would t

Password for keyring

2010-11-10 Thread Mohan Radhakrishnan
Hi, Is there a way to pass a password from the command-line when using the 'gpg' command to encrypt files ? Thanks, Mohan ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: GnuPG 2.1 beta released

2010-11-10 Thread Werner Koch
On Wed, 10 Nov 2010 09:23, u...@unixuser.org said: > I couldn't find --annotate option in EncFS versions from 1.4 to 1.7.3. > Do I need some patch to EncFS for G13? My fault. I thought it has been merged already. Let me please look into this; it is quit esome time since I hacked this stuff. S

Re: GnuPG 2.1 beta released

2010-11-10 Thread Daiki Ueno
Hi, Werner Koch writes: > We just released the first *beta version* of GnuPG 2.1. It has been > released to give you the opportunity to check out the new features. I just tried GnuPG 2.1 and the OpenPGP part seems to work fine. Now I started playing with the G13 tool. With the EncFS backend,

EncFS patch (was: GnuPG 2.1 beta released)

2010-11-10 Thread Werner Koch
Hi, find below a pacth agains EncFS 1.5.2 - this is the one I used for testing. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. 2009-10-14 Werner Koch * encfs/main.cpp (processArgs): Add option --annotate. (EncFS_Args, processArgs): S

Re: Can't suppress "good signature" status message

2010-11-10 Thread Skip Montanaro
> > Reading through old posts I saw various recommendations to > > use status-fd, status-file or to redirect stderr to stdout > > and use grep -v to eliminate those lines. The status-fd > > and status-file flags don't work as far as I can tell > > No ideas on how to suppress the "good signat

Re: Problems with two active encryption subkeys

2010-11-10 Thread Sven Klomp
Hi, On Friday 05 November 2010 11:58:13 Sven Klomp wrote: > since I bought a Crypto Stick [1], I had to add an additional RSA sub-key for > encryption, since the stick doesn't support Elgamal. Thus, I have two > encryption keys in my public keyring now. How does gpg decide which one to > use fo

Re: Problems with two active encryption subkeys

2010-11-10 Thread Hauke Laging
Am Mittwoch 10 November 2010 15:38:39 schrieb Sven Klomp: > I have a public key configuration as follows: > Primary Key (DSA for signing other keys) > - Sub-key 1 (Elgamal for encryption) > - Sub-key 2 (RSA for signing mails/files) > - Sub-key 3 (RSA for encryption) > > How does GnuPG decide, wha

Import .p12 key file

2010-11-10 Thread Lee Elcocks
Hi I want to be able to import our private keys into GPG. Our keys are .p12 files but this doesnt seem to work. Is their a way to get these .p12 key files into GPG? if so, what is the command? Many thanks for any help. Lee

Re: Import .p12 key file

2010-11-10 Thread Robert J. Hansen
On 11/10/2010 11:40 AM, Lee Elcocks wrote: > Is their a way to get these .p12 key files into GPG? if so, what is the > command? Depends on what particularly you wish to use GnuPG for. By and large, GnuPG is used for the OpenPGP. PKCS-12 files (.p12) are not used in OpenPGP. Recent versions of G

Re: Can't suppress "good signature" status message

2010-11-10 Thread Werner Koch
On Wed, 10 Nov 2010 15:16, s...@pobox.com said: > is there a --status-fd flag, there is a --logger-fd flag. I > don't know what the difference between emitting a status message --status-fd N gives the file descriptor to write status messages like [GNUPG:] GOODSIG 53B620D01CE0C630 Werner Koch

Re: Import .p12 key file

2010-11-10 Thread Werner Koch
On Wed, 10 Nov 2010 18:37, r...@sixdemonbag.org said: > Recent versions of GnuPG support S/MIME, which *may* use PKCS-12. (I Well for 7 years or so ;-) > don't recall offhand for a fact: I just have a vague impression they > do... or maybe it's PKCS-7 I'm thinking of.) PKCS#12 is a bunch of co

Do I need to put my keys on a server???

2010-11-10 Thread Visual GPG WoT Project
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I've created two key pairs for two different email accounts (lets say email1@ and email2@) and signed each one with each other and set the owner trust to "ultimate"... When I send an encripted email from email1@ to email2@ my Enigmail client says

Cannot validate Truecrypt signature using GNU Privacy Assistant

2010-11-10 Thread Tony Hamilton
I looked at the Ubuntu forums and find that the few posts that are there, on problems when using GNU Privacy Assistant, have resulted in zero replies. I would appreciate some advice from this mailing list as I do not seem to be able to find a user guide for the GUI for GNUPA. Firstly I am followin

Re: Problems with two active encryption subkeys

2010-11-10 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi On Wednesday 10 November 2010 at 3:21:21 PM, in , Hauke Laging wrote: > AFAIK gpg takes the (compatible) subkey which is valid > for the longest remaining period. I thought Gunpg used the largest available subkey for the task, and multiple a

Re: Cannot validate Truecrypt signature using GNU Privacy Assistant

2010-11-10 Thread Doug Barton
On 11/10/2010 05:57, Tony Hamilton wrote: Using the command results in the error messages "gpg: no signed data" and "gpg: can't hash datafile: file open error" Using the comand results in the error messages "gpg: can't open `/Downloads/truecrypt-7.0a-linux-x86.tar.gz.sig'" and "gpg: verify sig

How to decrypt string in php

2010-11-10 Thread David Jourard
Hi, I have a gpg encypted string in a data field and I want to be able decrypt it. Is there a simple way to do this without writing it to a file on a windows machine Here is my code example: With this code I get: Invalid Option "-BEGIN" which I understand why. regards David J. _

Re: Problems with two active encryption subkeys

2010-11-10 Thread Hauke Laging
Am Mittwoch 10 November 2010 19:52:00 schrieb MFPA: > > AFAIK gpg takes the (compatible) subkey which is valid > > for the longest remaining period. > > I thought Gunpg used the largest available subkey for the task, and > multiple appropriate sukeys were of the same size the newest would be > us

Re: Password for keyring

2010-11-10 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi On Wednesday 10 November 2010 at 11:32:09 AM, in , Mohan Radhakrishnan wrote: > Hi, > Is there a way to pass a password from the > command-line when using the 'gpg' command to encrypt > files ? You might try the following option gi

Re: Password for keyring

2010-11-10 Thread John Clizbe
Mohan Radhakrishnan wrote: > Hi, > > Is there a way to pass a password from the command-line when > using the ‘gpg’ command to encrypt files ? You only need a passphrase when signing or decrypting unless your using symmetric encryption. The man page documents the following options:

Re: How to decrypt string in php

2010-11-10 Thread Doug Barton
On 11/10/2010 11:08, David Jourard wrote: $cmdline = "$gpg --no-secmem-warning --batch --passphrase $passphrase --decrypt $string"; Haven't tried it in php but echo should work here: echo $string | gpg ... --decrypt hth, Doug -- Nothin' ever doesn't change, but nothin' c

Re: changing usage flags on a primary key

2010-11-10 Thread Christoph Anton Mitterer
Hi. That's fairly easy by hacking the code and resigning. Have a look the the archive, it was mentioned before how it works. Cheers, Chris. smime.p7s Description: S/MIME cryptographic signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http

Re: changing usage flags on a primary key

2010-11-10 Thread Daniel Kahn Gillmor
On 11/10/2010 12:53 PM, Christoph Anton Mitterer wrote: > That's fairly easy by hacking the code and resigning. hrm, even if i can do this, it probably isn't very convincing for most people following gnupg-users :( > Have a look the the archive, it was mentioned before how it works. do you have

Re: changing usage flags on a primary key

2010-11-10 Thread Christoph Anton Mitterer
On Wed, 2010-11-10 at 14:58 -0500, Daniel Kahn Gillmor wrote: > hrm, even if i can do this, it probably isn't very convincing for most > people following gnupg-users :( It was suggested before, to ad such functionality, but declined IIRC. > > Have a look the the archive, it was mentioned before h

OpenGPG card: PIN enry on keypad?

2010-11-10 Thread Georg Schmidt
Hello All, I tried to get my OpenGpg Card working under Ubuntu, but with only mixed success. Is my understanding correct that pinpads on card readers are only supported by gpg2? gpg1 does not support keypads? For GPG2 I installed the following packages: - Driver V3.3.5 (IFD) for the Cyberjack

turn off all messaging -how

2010-11-10 Thread David Jourard
Hi, How do I turn off all messaging form the gpg program Eg. gpg: encrypted with 2048-bit ELG-E etc... gpg: Warning: message was not integrity protected Thanks David J. <>___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailm

Re: EncFS patch

2010-11-10 Thread Daiki Ueno
Werner Koch writes: > find below a pacth agains EncFS 1.5.2 - this is the one I used for > testing. Thanks. It now basically works (I used encfs-1.7.3_annotate.diff you posted to gnupg-devel), though the usage was a bit unclear to me :) For anyone else who wants to try, here is my trial log:

Re: turn off all messaging -how

2010-11-10 Thread Laurent Jumet
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hello David ! "David Jourard" wrote: > How do I turn off all messaging form the gpg program You need to use one or more of this options: - --batch - --no-tty - --yes - -- Laurent Jumet KeyID: 0xCFAF704C -BEGIN PGP SIGNATURE---