urgent: import public PGP Key which is my secret Key

2010-10-20 Thread rakia ben sassi
Hi,

I have an encrypted document (with my key) which I should decrypt.
After the generation of my key (and saving it in my email as .asc file), my
computer is formated and new reinstalled.
Now GnuPG find my key as public and I can't use it for decryption!

This key has 2 IDs; one is for a public key an the other is for the subkey
which is secret.
The document which I have is encrypted with the subkey.
When I try a decryption, I receive: gpg: secret key not available

How can I import my own secret key?

Do you have a solution for me please? It's very important !!!

I'm using Ubuntu 10.4 and GnuPG.


thanks for help!
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


GnuPG skips the passphrase when creating a keypair

2010-10-20 Thread Raditya Arthapraja
Hi, 

I'm using MacGPG2 version 2.0.14RC2 with MacOS X 10.6.4 - Snow Leopard as the 
OS.

When trying to generate a keypair, MacGPG skips the step to input the 
paraphrase and continues to create the key.

ex:
---terminal---
me$ gpg --gen-key

Please select what kind of key you want?
1

Please specify how long the key should be valid.
0

*entered name, comment  email

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

You don't want a passphrase - this is probably a *bad* idea!
I will do it anyway.  You can change your passphrase at any time,
using this program with the option --edit-key.

---terminal---


i've tried to edit the key using --edit-key passwd parameter, but i get an 
error :

---terminal---
me$ gpg --edit-key me

Command passwd
This key is not protected.
Enter the new passphrase for this secret key.

gpg: problem with the agent: Not supported
---terminal---


I don't now if anybody else is experiencing this problem or not, if so has this 
been resolved?

Sincerely,
---
Raditya Arthapraja
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Question about keyservers on Windows

2010-10-20 Thread Anthony Papillion
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Everyone,

I'm a new member of the list but I've been using GPG for a bit now on
Linux.  I recently installed it on my Windows machine and needed to
revoke a compromised key. When I tried to send the information to the
keyserver, I got the following error:

Sending of keys failed
gpg: sending key 0078B6E4 to hkp server pool.sks-keyservers.net
gpg: system error while calling external program: No such file or directory
gpg: WARNING: unable to remove tempfile (out)
`C:\DOCUME~1\Anthony\LOCALS~1\Temp
\gpg-A57D4D\tempout.txt': No such file or directory
gpg: no handler for keyserver scheme `hkp'
gpg: keyserver send failed: keyserver error

I am using the latest version of GPG (downloaded from the site) and I
KNOW this works on Linux.

Can anyone help?

Thanks!
Anthony Papillion
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iQIVAwUBTL8otoeUq9QAeLbkAQKPng/7BuQBLsZtTjsOqVjMC06u+J+Ya0arIfKP
9V+V5CtaPeUdxic7tDd84lqq1iZbG5VvHQp0RPcOgymXehqQfui6ox6656i2cD+f
eFyTCNwisWw71nNjuDVALmlF037SiJHgVyKcRUot3E5VFE2IXjnuAp7F3q66F3Rd
RJSHiW8i9eZTf/WRxVDffVdVsKLiSmOCnlainIx4iWva0jazgK+JmL3iP6MHtIfg
iOaZvtnkwbjkI5utye7Eymz3mraMpVTqn+giTWbD0OCNgN54obOYmR0yW2GZpPU2
aahIqHKJRo4tmpEyOIyvfhMwEFlc9x99sxllq1GZ0X96HuY9nTBJWTVhGxC3JGRm
I4INmqWTXRRkU1G2T7gWzlhnVJYGjsjvP7TAfmZrnsm3ZV8sPwyxapDwBddm+1TT
+8hrP0SpPtGJJ/Wa5Y8QxsFHJbleV0Z6JniH9ynIMLTRa6KUQbSIfdhsawiCxN3i
4t9faE6o6ohf9B+m7xp69R2ZDKWdrvFmTpadDxhSDNp9FtGB+uKEXr6tBDU7bb+0
GsUlWeNyzUV2XJ0Nfg8DhUq652nLn8D5QBYm1fn4IGIInyIZznN1lYetNYJGK9Go
XsHYZKBWX6nPZfWqN9qgdMOhSDKFuZTNww3BV+fZ4yL5bkeiqFBnthk7I3ahZEF3
gMFVQxp9DNE=
=+kKD
-END PGP SIGNATURE-

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GnuPG skips the passphrase when creating a keypair

2010-10-20 Thread Charly Avital
Raditya Arthapraja wrote the following on 10/20/10 9:57 AM:
 Hi, 
 
 I'm using MacGPG2 version 2.0.14RC2 with MacOS X 10.6.4 - Snow Leopard as the 
 OS.

Me too.

 
 When trying to generate a keypair, MacGPG skips the step to input the 
 paraphrase and continues to create the key.
 
 ex:
 ---terminal---
 me$ gpg --gen-key
 
 Please select what kind of key you want?
 1
 
 Please specify how long the key should be valid.
 0
 
 *entered name, comment  email
 
 Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
 You need a Passphrase to protect your secret key.
 
 You don't want a passphrase - this is probably a *bad* idea!

Did you actually skip that option?


[...]

 Enter the new passphrase for this secret key.

Here, if everything is working correctly, you should have the pinentry
window show on screen, requesting you to enter the passphrase (with a
small square that, if unmarked, will enable you to actually see what you
are typing).

Once this down, a similar pinentry window where you are requested to
type the passphrase again, for confirmation.

 
 gpg: problem with the agent: Not supported

Did you check whether gpg-agent is running and available?

In Terminal
gpg-agent [return]
you should get:
$ gpg-agent
gpg-agent: gpg-agent running and available

Also in Terminal:
$ which gpg-agent
you should get:
/usr/local/bin/gpg-agent

If you don't get that Terminal output, could you please copy-paste what
you get?

Please note that there is a dedicated list for gpg2 users:
Macgpg2-users mailing list
macgpg2-us...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/macgpg2-users

You might want to join that list and post to it.

Charly


 ---terminal---
 
 
 I don't now if anybody else is experiencing this problem or not, if so has 
 this been resolved?

I just tried to generate a key, in Terminal. I didn't skip the
passphrase option, entered a passphrase, etc...key was generated.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: urgent: import public PGP Key which is my secret Key

2010-10-20 Thread J. Ottosson
On 20 Oct 2010 at 12:21, rakia ben sassi wrote:

 Hi,
 
 I have an encrypted document (with my key) which I should decrypt.
 After the generation of my key (and saving it in my email as .asc file),
 my computer is formated and new reinstalled. Now GnuPG find my key as
 public and I can't use it for decryption!
 
 This key has 2 IDs; one is for a public key an the other is for the subkey
 which is secret. The document which I have is encrypted with the subkey.
 When I try a decryption, I receive: gpg: secret key not available
 
 How can I import my own secret key?
 
 Do you have a solution for me please? It's very important !!!
 
 I'm using Ubuntu 10.4 and GnuPG.
 
 
 thanks for help!
 

It indeed sound like you did an export of the public key only. In that case 
you're sort of f*cked.

However, there are at least theoretical chances of recovering your secret key, 
but somewhat slim. You could use a forensic tool such as EnCase to try to find 
the key (via the secret keyring) even after formatting the drive, should those 
sectors not be overwritten.

Since you most likely don't have that particular tool at hand you could 
probably 
find some other data recovery type of tool for that purpose. Use google. Some 
more capable tools may be offered with trial period perhaps.

EnCase could possibly be found at nasty pirate bay type of sites too, but 
obviously I wouldn't dream of suggesting such a thing to you.

But I'm quite sure there are some capable tools available the right way too, do 
a search. Possibly even some of the data recovery tools from Sandisk etc could 
be used if you're lucky.

The first thing to do though is to immediately stop using that disk, so that 
you're not writing over those sectors with new data. Chances are you already 
have done that, but if you're lucky..


/J



___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GnuPG skips the passphrase when creating a keypair

2010-10-20 Thread Benjamin Donnachie
On 20 Oct 2010, at 19:09, Raditya Arthapraja ra...@devindo.com wrote:

 I'm using MacGPG2 version 2.0.14RC2 with MacOS X 10.6.4 - Snow Leopard as the 
 OS.

 When trying to generate a keypair, MacGPG skips the step to input the 
 paraphrase and continues to create the key.

Although counter-intuitive, many MacGPG2 issues are resolved by a
reboot, as recommended as part of the install process.

Unfortunately, this is as a result of 'shoe-horning' a Unix-based
program into MacOSX.

Should your problems persist, please try the MacGPG2 list as
recommended in Charly's email.

Ben

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Question about keyservers on Windows

2010-10-20 Thread Faramir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

El 20-10-2010 14:36, Anthony Papillion escribió:
 Hello Everyone,
 
 I'm a new member of the list but I've been using GPG for a bit now on
 Linux.  I recently installed it on my Windows machine and needed to
 revoke a compromised key. When I tried to send the information to the
 keyserver, I got the following error:
 
 Sending of keys failed
 gpg: sending key 0078B6E4 to hkp server pool.sks-keyservers.net
 gpg: system error while calling external program: No such file or directory
 gpg: WARNING: unable to remove tempfile (out)
 `C:\DOCUME~1\Anthony\LOCALS~1\Temp
 \gpg-A57D4D\tempout.txt': No such file or directory
 gpg: no handler for keyserver scheme `hkp'
 gpg: keyserver send failed: keyserver error
 
 I am using the latest version of GPG (downloaded from the site) and I
 KNOW this works on Linux.

  What version of Windows are you using?

  Best Regards
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMv0tuAAoJEMV4f6PvczxAswsH/Ap7L4LnKBf9VnPXprtH6iBN
eZvjIhl1CYfPTpyrTeWE5RW5qaLbPPCPkHYb/WzwGa4tTIPGBWb2JlIXjZrIvoE0
DFiwvHjd2DKx25PMMJaUyV2dN3e4pGow2jbeGwmz7fShaSEjOeqUwaqLXa/+SR3V
xcrtw61whfvLH5hSkuc9qOmCxQvwGQ9Mbwnrq9fgQ0NYMxF1BJBN9wanmTTaoHeB
i5BgO5pRy2RN8pcNSiQE/F0HHTzVyCHuuVbWOIJNljUexqviozYY4skl6ts931kC
vk6fu8JpLQot38HN8PNdAISj24ol77aAXN5m2y2KXGnRS4BkXYCvWJibV/aeTpM=
=Ugrz
-END PGP SIGNATURE-

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Question about keyservers on Windows

2010-10-20 Thread Faramir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

El 20-10-2010 18:16, Anthony Papillion escribió:
 I'm running Windows XP Professional with SP3.
...

  I never use command line if I can avoid it, so usually I use GPGShell
as a GUI for GPG. It is free, but not OpenSource. All it does is to call
GPG and give it the commands and parameters for what you want to do. I'm
using Windows XP pro SP3 too, with GPG 1.4.11, and I have not noticed
problems. What is the command you used? I don't know how to send the
keys from command line, and today I can't devote time to learn it.

  Best Regards
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMv17eAAoJEMV4f6PvczxAX6cH/jHSuAixiu5OabOGn48txCey
KJRMu3x/nDZQEgWNtGX3O8rXbtvQLlgZ4AC7TcN6Cvm+djJP9hgT9pIVjsTT7f8v
lBxEA6rCC/QE0No5NpNQNnpYE5NAz3S9hH4VGSibiHFaOb2UTj1swej1P4CrlLPu
bp9gRemupOwufRL9tkNhMawLbAY2mcve2NGEf1mDh58QSSg9MbznoH1pEmXveu5V
BTs6upoSm68l8ciyB5oBtNPx1l2UqeZ+Abjw+Ry04Wo2UxdYe2HcuA78deGA26XY
S+UcDDg7LjltkJGojlzWflUEIhNbFXVAj2VDQ7O6XpSN8E3muI1SBrm0Hbe0JXQ=
=kP2z
-END PGP SIGNATURE-

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Question about keyservers on Windows

2010-10-20 Thread Anthony Papillion
I'm running Windows XP Professional with SP3.

On 10/20/10, Faramir faramir...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 El 20-10-2010 14:36, Anthony Papillion escribió:
 Hello Everyone,

 I'm a new member of the list but I've been using GPG for a bit now on
 Linux.  I recently installed it on my Windows machine and needed to
 revoke a compromised key. When I tried to send the information to the
 keyserver, I got the following error:

 Sending of keys failed
 gpg: sending key 0078B6E4 to hkp server pool.sks-keyservers.net
 gpg: system error while calling external program: No such file or
 directory
 gpg: WARNING: unable to remove tempfile (out)
 `C:\DOCUME~1\Anthony\LOCALS~1\Temp
 \gpg-A57D4D\tempout.txt': No such file or directory
 gpg: no handler for keyserver scheme `hkp'
 gpg: keyserver send failed: keyserver error

 I am using the latest version of GPG (downloaded from the site) and I
 KNOW this works on Linux.

   What version of Windows are you using?

   Best Regards
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBCAAGBQJMv0tuAAoJEMV4f6PvczxAswsH/Ap7L4LnKBf9VnPXprtH6iBN
 eZvjIhl1CYfPTpyrTeWE5RW5qaLbPPCPkHYb/WzwGa4tTIPGBWb2JlIXjZrIvoE0
 DFiwvHjd2DKx25PMMJaUyV2dN3e4pGow2jbeGwmz7fShaSEjOeqUwaqLXa/+SR3V
 xcrtw61whfvLH5hSkuc9qOmCxQvwGQ9Mbwnrq9fgQ0NYMxF1BJBN9wanmTTaoHeB
 i5BgO5pRy2RN8pcNSiQE/F0HHTzVyCHuuVbWOIJNljUexqviozYY4skl6ts931kC
 vk6fu8JpLQot38HN8PNdAISj24ol77aAXN5m2y2KXGnRS4BkXYCvWJibV/aeTpM=
 =Ugrz
 -END PGP SIGNATURE-

 ___
 Gnupg-users mailing list
 Gnupg-users@gnupg.org
 http://lists.gnupg.org/mailman/listinfo/gnupg-users


-- 
Sent from my mobile device

Anthony Papillion
Lead Developer / Owner
Advanced Data Concepts - Enabling work anywhere
(918) 919-4624

Facebook: http://www.facebook.com/cajuntechie
My Blog:   http://www.cajuntechie.com

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Question about keyservers on Windows

2010-10-20 Thread John Clizbe
Anthony Papillion wrote:
 Hello Everyone,
 
 I'm a new member of the list but I've been using GPG for a bit now on
 Linux.  I recently installed it on my Windows machine and needed to
 revoke a compromised key. When I tried to send the information to the
 keyserver, I got the following error:
 
 Sending of keys failed
 gpg: sending key 0078B6E4 to hkp server pool.sks-keyservers.net
 gpg: system error while calling external program: No such file or directory
 gpg: WARNING: unable to remove tempfile (out)
 `C:\DOCUME~1\Anthony\LOCALS~1\Temp
 \gpg-A57D4D\tempout.txt': No such file or directory
 gpg: no handler for keyserver scheme `hkp'
 gpg: keyserver send failed: keyserver error
 
 I am using the latest version of GPG (downloaded from the site) and I
 KNOW this works on Linux.

Which version?

The binary installer or do you build from source?

There should be a program named gpgkeys_hkp.exe in the same directory as gpg.exe

-- 
John P. Clizbe  Inet:John (a) Mozilla-Enigmail.org
FSF Assoc #995 / FSFE Fellow #1797  hkp://keyserver.gingerbear.net  or
 mailto:pgp-public-k...@gingerbear.net?subject=help

Q:Just how do the residents of Haiku, Hawai'i hold conversations?
A:An odd melody / island voices on the winds / surplus of vowels



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users