Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Fiyasko on September 02, 2012, 02:32:40 PM



Title: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: Fiyasko on September 02, 2012, 02:32:40 PM
So, I can use all of my GPG stuff, Y'know signing etc, But the problem is that Kleopatra just flags me an error and doesnt load!
I've heard alot of mumbo jumbo about "DONT TOUCH IT!, Export your private keys before even ATTEMPTING to fix kleo"

So im here wondering how the Fk i export all my keys to a file, Uninstall kleo, Reinstall her, And import the keys asif i never lost them.

Ultimately what i need, Is Kleopatra (a peice of GPG4Win) to be functional, Without me loosing my keys, Please help me.


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: DeathAndTaxes on September 02, 2012, 02:42:16 PM
On Windows GPG puts public keys in this folder:
C:\Users\[Username]\AppData\Roaming\gnupg

The simplest option would be to launch GPA (also installed with GPG4Win package), highlight all the keys, and click export.

Alternatively you can use the command line program gpg2.exe (Kleo & GPA are simply GUI frontends which execute commands against gpg2.exe)
C:\Program Files (x86)\GNU\GnuPG\

Public keys can always be obtained from key servers but you should ALREADY have a backup of your private keys.  If the reason Kleo is failing is because your keys have become corrupt you will have no choice but to re-import them from key servers.   If your private key is corrupt well you have lost your OTC ratings if they used that key.


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: justusranvier on September 02, 2012, 02:48:19 PM
So, I can use all of my GPG stuff, Y'know signing etc, But the problem is that Kleopatra just flags me an error and doesnt load!
I've heard alot of mumbo jumbo about "DONT TOUCH IT!, Export your private keys before even ATTEMPTING to fix kleo"

So im here wondering how the Fk i export all my keys to a file, Uninstall kleo, Reinstall her, And import the keys asif i never lost them.

Ultimately what i need, Is Kleopatra (a peice of GPG4Win) to be functional, Without me loosing my keys, Please help me.
I thought Kleopatra is just for X509 certificates? I've always thought most people don't even need it.


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: justusranvier on September 02, 2012, 02:55:31 PM
No Kleo works with OpenPGP certs also.

What does it do then that GPA doesn't?


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: Fiyasko on September 02, 2012, 04:21:22 PM
On Windows GPG puts public keys in this folder:
C:\Users\[Username]\AppData\Roaming\gnupg

The simplest option would be to launch GPA (also installed with GPG4Win package), highlight all the keys, and click export.

Alternatively you can use the command line program gpg2.exe (Kleo & GPA are simply GUI frontends which execute commands against gpg2.exe)
C:\Program Files (x86)\GNU\GnuPG\

Public keys can always be obtained from key servers but you should ALREADY have a backup of your private keys.  If the reason Kleo is failing is because your keys have become corrupt you will have no choice but to re-import them from key servers.   If your private key is corrupt well you have lost your OTC ratings if they used that key.

If i copy the folder from the above mentioned destination, Uninstall, And then RePlace that folder, Would that work? and have Kleo+keys fully functionally without and weird funky stuff?
I cannot find a "GPA" installed anywhere

What are the commands that i use (in cmd, in order) to export ALL my keys to an importable format (that a fresh kleo install would import)



Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: Fiyasko on September 07, 2012, 01:48:34 PM
Bumpy?


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: Schleicher on September 08, 2012, 05:51:50 PM
GPA is the "GNU Privacy Assistant":
"C:\Program Files (x86)\GNU\GnuPG\gpa.exe"

Your keys are in %APPDATA%\gnupg
Make a backup of the files and try to reinstall Gpg4win (http://www.gpg4win.org/).


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: Fiyasko on September 08, 2012, 10:23:22 PM
GPA is the "GNU Privacy Assistant":
"C:\Program Files (x86)\GNU\GnuPG\gpa.exe"

Your keys are in %APPDATA%\gnupg
Make a backup of the files and try to reinstall Gpg4win (http://www.gpg4win.org/).


There is no gpa.exe, I already said that, I have already made a backup, I am wondering if their will be any issues with reinstalling everything...

Edit: Did not have GPA because i didnot install it, I reinstalled all the gpg4win stuff, And i still get this damn error:
http://imageshack.us/photo/my-images/856/kleoerror.jpg/


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: Schleicher on September 13, 2012, 03:53:32 PM
Looks like a dll conflict.
Maybe there's more than one version of iconv.dll on your system.
For example one version in the GnuPG folder, and a different version in the windows\system32 folder, or something.


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: DeathAndTaxes on September 13, 2012, 04:16:09 PM
You sure there is no GPA?  GPA is a core part of GPG4Win.  That makes me think maybe it is a busted install.

http://www.gpg4win.org/download.html

Quote
Gpg4win 2.1.0 contains:
GnuPG 2.0.17
Kleopatra 2.1.0 (2011-02-04)
GPA 0.9.1-svn1024
GpgOL 1.1.2
GpgEX 0.9.7
Claws Mail 3.7.8cvs47
Kompendium (de) 3.0.0
Compendium (en) 3.0.0-beta1


Title: Re: GPG4win, My Kleopatra is broken, I need to export my keys for a reinstall
Post by: Fiyasko on September 13, 2012, 10:40:15 PM
You sure there is no GPA?  GPA is a core part of GPG4Win.  That makes me think maybe it is a busted install.

http://www.gpg4win.org/download.html

Quote
Gpg4win 2.1.0 contains:
GnuPG 2.0.17
Kleopatra 2.1.0 (2011-02-04)
GPA 0.9.1-svn1024
GpgOL 1.1.2
GpgEX 0.9.7
Claws Mail 3.7.8cvs47
Kompendium (de) 3.0.0
Compendium (en) 3.0.0-beta1

Yeah, I reinstalled GPG4Win and i have GPA now, But my Kleo is still broken, How can i fix her?