Hi Peter
The hint with the homedir did the trick - you are my hero!
> The --homedir option has a lot of influence. You cannot use a "gpg" in one
> homedir with an agent running in another. So you should also supply the
> "--homedir " argument to gpg-connect-agent to get a connection for an
>
Hi
>I'm at a loss, frankly. I don't understand. You're using GnuPG v2.1.11, you
>can use the key itself, but the agent isn't aware of having it! That does not
>compute. I can only think of one thing. Are you really using GnuPG v2.1.11, or
>do you have GnuPG 1.4 co-installed and are you using th
Hi,
On 17/06/16 11:25, Mike Kaufmann wrote:
> The hint with the homedir did the trick - you are my hero!
Ah that's really great!
> gpgconf --kill gpg-agent
I read that in v2.1.13, gpgconf gains an option "--homedir" as well. So
starting with that release, I'd advise to include the --homedir for
On 17/06/16 10:19, Peter Lebbing wrote:
>> I use the following command to sign a file:
>> gpg --homedir c:\ESA\EIOPA\PreProd\DCCR --output
>> C:\ESA\EIOPA\Export\LI001_DATPPP_EIOPA_01_16.asc --armor -u
>> sen...@sendercompany.com --digest-algo SHA512 --sign
>> c:\ESA\EIOPA\LI001_DATPPP_EIOPA
On 17/06/16 03:25, Marcos Aurelio Lenharo wrote:
> I think this is related to the following issue I opened last year:
>
> https://bugs.gnupg.org/gnupg/issue2015
Thanks for the pointer!
While I'm not sure, I think this isn't the problem in this specific
case. I think that bug affects stuff that u
Well, at least it seems to make more sense now.
On 17/06/16 07:24, Mike Kaufmann wrote:
> gpg --homedir C:\ESA\EIOPA\PreProd\DCCR -k
> [...]
>
> gpg --homedir C:\ESA\EIOPA\PreProd\DCCR -K
> [...]
>
> gpg --homedir c:\ESA\EIOPA\PreProd\DCCR --with-keygrip -K 29FDE3FE sec
> rsa2048/29FDE3FE 2016-0
Em 16-06-2016 11:51, Peter Lebbing escreveu:
> On 16/06/16 16:13, Mike Kaufmann wrote:
>> I've tried this commands with all the KeyGrips that are listed with a
>> command similar to
>> gpg2 --with-keygrip -K DCDFDFA4 sec rsa1024/DCDFDFA4 2012-03-17.
> That part got accidentally mangled when I
> Does it end in bytes 0D or 0A? Those are CR/LF ASCII bytes, and should not be
> included.
No, it does not end in one of these bytes.
> $ gpg-connect-agent
> > havekey 3D88DC9D60F791821AF8D537EEAC3C8DF7720D63
> OK
> > havekey 44696420796F7520736565206D79206B6579733F
> ERR 67108881 No secret
On 16/06/16 16:13, Mike Kaufmann wrote:
> I've tried this commands with all the KeyGrips that are listed with a command
> similar to
> gpg2 --with-keygrip -K DCDFDFA4 sec rsa1024/DCDFDFA4 2012-03-17.
That part got accidentally mangled when I asked my mailer to reflow the
message. It was suppos
Hello,
On 16/06/16 08:46, Mike Kaufmann wrote:
> I've used http://www.asciitohex.com/ to convert my passphrase in
> hexstring. Therefore I think, that's not the reason.
Does it end in bytes 0D or 0A? Those are CR/LF ASCII bytes, and should
not be included.
> What I'm not sure: Is the value I use
placed, when I run the command).
Any further ideas? I am despairing slowly but surely...
Regards, Mike
-Ursprüngliche Nachricht-
Von: Peter Lebbing [mailto:pe...@digitalbrains.com]
Gesendet: Mittwoch, 15. Juni 2016 13:17
An: Mike Kaufmann
Cc: gnupg-users@gnupg.org
Betreff: Re: WINDOWS - Add
ng preset-passphrase?
Regards, Mike
-Ursprüngliche Nachricht-
Von: Peter Lebbing [mailto:pe...@digitalbrains.com]
Gesendet: Mittwoch, 15. Juni 2016 14:35
An: Mike Kaufmann
Cc: gnupg-users@gnupg.org
Betreff: Re: AW: WINDOWS - Adding passphrase to gpg via command line
Hi,
> Any further ideas?
Hi,
> Any further ideas? I am despairing slowly but surely...
When I purposely enter the wrong passphrase, the PRESET_PASSPHRASE
command succeeds, but subsequently the pinentry will pop up to prompt
for the correct passphrase when I try to do anything with the key.
So you might have a mistake in
On 15/06/16 08:33, Mike Kaufmann wrote:
> See also the attached screenshot. Do you habe any other ideas?
You're missing some necessary quoting. Right now, you're sending four
separate commands instead of a single command with three options!
gpg-connect-agent 'preset_passphrase 74EC3FAA93CD49446E
not to be made for Windows OS :(
Regards
Mike
-Ursprüngliche Nachricht-
Von: Peter Lebbing [mailto:pe...@digitalbrains.com]
Gesendet: Montag, 13. Juni 2016 20:15
An: Mike Kaufmann
Cc: gnupg-users@gnupg.org
Betreff: Re: WINDOWS - Adding passphrase to gpg via command line
On 13/06/16 08:12
On Mon, 13 Jun 2016 20:15, pe...@digitalbrains.com said:
> So it appears to take a hexstring, not a percent-escaped string. Indeed
> this is what happens (the passphrase is indeed "test", this is a test
Ooops. Sorry for the false claim that it needs to be percent encoded.
Salam-Shalom,
Wer
On 13/06/16 08:12, Mike Kaufmann wrote:
> Unfortunately when I start gpg-agent with the following command on Windows
> Command Line
> gpg-connect-agent PRESET_PASSPHRASE
> "74EC3FAA93CD49446EC6825C3EBEB2C336CCBE2A" -1 "MyPassphrase"
>
> I receive the following errors:
> ERR 67108992 Missing valu
e also attached an image to this e-mail where you can see the commands and
errors.
Do you have any further ideas?
Regads,
Mike
-Ursprüngliche Nachricht-
Von: Werner Koch [mailto:w...@gnupg.org]
Gesendet: Freitag, 10. Juni 2016 21:48
An: Mike Kaufmann
Cc: gnupg-users@gnupg.org
Betref
Abfragedialog ;)
Herzlichen Dank für Ihre Hilfe!
Freundliche Grüsse
Mike Kaufmann
-Ursprüngliche Nachricht-
Von: Werner Koch [mailto:w...@gnupg.org]
Gesendet: Freitag, 10. Juni 2016 09:51
An: Mike Kaufmann
Cc: gnupg-users@gnupg.org
Betreff: Re: WINDOWS - Adding passphrase to gpg via
sign c:\UnSignedFiles\temp.csv
What modifications do I have to made on my command to sign the file without
passphrase dialog?
Kind Regards,
Mike
-Ursprüngliche Nachricht-
Von: Werner Koch [mailto:w...@gnupg.org]
Gesendet: Freitag, 10. Juni 2016 13:46
An: Mike Kaufmann
Cc: gnupg-users@gn
On Fri, 10 Jun 2016 14:18, m.kaufm...@infotech.li said:
> There are also many articles on the net that describe to add
> --allow-preset-passphrase to the file gpg-agent.conf.
> On my Windows 10 system I can't find such a file. Can I create an
You need to create it in the homedir.
gpg --ver
On Fri, 10 Jun 2016 10:23, m.kaufm...@infotech.li said:
> Gibt es eine Möglichkeit, den KeyGrip aus dem KeyRing z.B. via
> --homedir zu ermitteln?
Example:
$ gpg --with-keygrip --with-fingerprint --with-colons -k 1e42b367
tru:o:1:1465230074:1:3:1:5
pub:f:2048:17:F2AD85AC1E42B367:1199118275:1546
Hi!
On Thu, 9 Jun 2016 15:29, m.kaufm...@infotech.li said:
> Im am using GnuPG v2.1.11.59877 on Windows 10. The utility
> gpg-preset-passphrase.exe is not available on my system. Is there a
> location I can download this tool and install on my machine? I would
> like to use the tool, to set the
Hi,
Im am using GnuPG v2.1.11.59877 on Windows 10. The utility
gpg-preset-passphrase.exe is not available on my system. Is there a location I
can download this tool and install on my machine? I would like to use the tool,
to set the password on gpg-agent.
Regards
Mike
___
Hi,
(Could you please not top-post and trim your quotes)
> Thanks, but our requirement is that the key is secured with a
> passphrase.
Often, this is not useful on a server. When someone gains access to the
processes that do the decryption and/or signing, they already have
access to the decrypt
Josh Clearihan:
> Hi,
>
> Thanks, but our requirement is that the key is secured with a passphrase.
>
> Any other ideas into what is wrong with my coding?
> echo "mypassphrase"| gpg2.exe ...
In my opinion it makes little sense to use a passphrase in this way: the
passphrase is supposed to be e
1/05/2015 05:19 PM
Subject: Re: WINDOWS - Adding passphrase to gpg via command line
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On Monday 11 May 2015 at 6:17:59 AM, in
,
Josh Clearihan wrote:
> Requirement To automatically decrypt and encrypt files
> from cmd batch file.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On Monday 11 May 2015 at 6:17:59 AM, in
,
Josh Clearihan wrote:
> Requirement To automatically decrypt and encrypt files
> from cmd batch file.
> I'm experiencing issues trying to decrypt a .pgp file
> from command line.
> When running this it
Hi all,
Environment
Windows 2012 Server
GnuPG 2.0.27
Requirement
To automatically decrypt and encrypt files from cmd batch file.
I'm experiencing issues trying to decrypt a .pgp file from command line.
When running this it launches the pinentry window, manually requiring the
passkey.
gpg2.exe
29 matches
Mail list logo