[opensuse] public and private key locations
Hi All, I created a GnuPG key pair a few years ago on my SuSE 8.2 box. I've since upgraded, added/reconfigured drives and partitions and reinstalled SUSE countless times and I *thought* I'd managed to save the key pair, under ~/.gnupg/, by copying the entire directory to a backup location and copying it back to my home directory, as needed. Now I'm trying to use the *private* key in another application... I'm supposed to be able to browse to and select it... but it seems I'm only able to locate the *public* key. Where is the private key supposed to be stored? TIA & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 20 March 2007, Carl Hartung wrote:
Hi All,
I created a GnuPG key pair a few years ago on my SuSE 8.2 box. I've since upgraded, added/reconfigured drives and partitions and reinstalled SUSE countless times and I *thought* I'd managed to save the key pair, under ~/.gnupg/, by copying the entire directory to a backup location and copying it back to my home directory, as needed. Now I'm trying to use the *private* key in another application... I'm supposed to be able to browse to and select it... but it seems I'm only able to locate the *public* key.
Where is the private key supposed to be stored?
TIA & regards,
Carl
usually in your ~/.ssh directory. -- _____________________________________ John Andersen
On Wed March 21 2007 00:37, John Andersen wrote:
I created a GnuPG key pair a few years ago on my SuSE 8.2 box. I've since upgraded, added/reconfigured drives and partitions and reinstalled SUSE countless times and I *thought* I'd managed to save the key pair, under ~/.gnupg/, by copying the entire directory to a backup location and copying it back to my home directory, as needed. Now I'm trying to use the *private* key in another application... I'm supposed to be able to browse to and select it... but it seems I'm only able to locate the *public* key.
Where is the private key supposed to be stored?
TIA & regards,
Carl
usually in your ~/.ssh directory.
Hi John, Thanks for the reply, but I'm fairly certian that's a different key pair than the one I generated with GnuPG for signing mail and encrypting documents. Anyway, the key I was looking for /must/ be stored somewhere under ~/.gnupg/ because I was able to 'export' it (again?) to a .asc file and use that with the other program. regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carl Hartung wrote:
Thanks for the reply, but I'm fairly certian that's a different key pair than the one I generated with GnuPG for signing mail and encrypting documents.
Anyway, the key I was looking for /must/ be stored somewhere under ~/.gnupg/ because I was able to 'export' it (again?) to a .asc file and use that with the other program.
All your private keys are stored in ~/.gnupg/secring.gpg and all your public keys are stored in in ~/.gnupg/pubring.gpg. You cannot access them as single files, you need to use GPG's export interface (as you detected already). If you use kgpg as a GUI frontend, please note that the export secret key action is only available in the context menu of the respective key pair, and not in the top-level "Keys" menu. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed March 21 2007 08:01, Joachim Schrod wrote:
All your private keys are stored in ~/.gnupg/secring.gpg and all your public keys are stored in in ~/.gnupg/pubring.gpg.
You cannot access them as single files, you need to use GPG's export interface (as you detected already).
If you use kgpg as a GUI frontend, please note that the export secret key action is only available in the context menu of the respective key pair, and not in the top-level "Keys" menu.
Thanks Joachim, now I can tick that research item off my 'to-do' list! Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed March 21 2007 00:37, John Andersen wrote:
I created a GnuPG key pair a few years ago on my SuSE 8.2 box. I've since upgraded, added/reconfigured drives and partitions and reinstalled SUSE countless times and I *thought* I'd managed to save the key pair, under ~/.gnupg/, by copying the entire directory to a backup location and copying it back to my home directory, as needed. Now I'm trying to use the *private* key in another application... I'm supposed to be able to browse to and select it... but it seems I'm only able to locate the *public* key.
Where is the private key supposed to be stored?
As an offshoot to this question, I recently upgraded from SuSE 10.0 to SuSE 10.2. I preserved my /home partition and copied it over from 10.0 to 10.2. That brought over everything including the .gnupg files. I had a few files encrypted in another directory and now I cannot decrypt
On Wednesday 21 March 2007 07:10, Carl Hartung wrote: them. I just used the simple "password" method originally on 10.0, not the pubic and private keys method wanting to keep it simple. So, I figured that I needed to set up kgpg again, but no matter what I tried I could not decrypt my files. I read the kgpg handbook over and over and I even downloaded the howto from gnugpg. No good. Maybe some fresh thoughts on what I am missing would help? Bob S. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu March 22 2007 01:12, Bob S wrote:
As an offshoot to this question, I recently upgraded from SuSE 10.0 to SuSE 10.2. I preserved my /home partition and copied it over from 10.0 to 10.2. That brought over everything including the .gnupg files. I had a few files encrypted in another directory and now I cannot decrypt them. I just used the simple "password" method originally on 10.0, not the pubic and private keys method wanting to keep it simple.
So, I figured that I needed to set up kgpg again, but no matter what I tried I could not decrypt my files. I read the kgpg handbook over and over and I even downloaded the howto from gnugpg. No good.
Maybe some fresh thoughts on what I am missing would help?
Hi Bob, Can you elaborate here, please? What is the "password" encryption method you're alluding to here? Also, do you still have a snapshot of your original 10.0 /home? Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 22 March 2007 07:45, Carl Hartung wrote:
On Thu March 22 2007 01:12, Bob S wrote:
As an offshoot to this question, I recently upgraded from SuSE 10.0 to SuSE 10.2. I preserved my /home partition and copied it over from 10.0 to 10.2. That brought over everything including the .gnupg files. I had a few files encrypted in another directory and now I cannot decrypt them. I just used the simple "password" method originally on 10.0, not the pubic and private keys method wanting to keep it simple.
So, I figured that I needed to set up kgpg again, but no matter what I tried I could not decrypt my files. I read the kgpg handbook over and over and I even downloaded the howto from gnugpg. No good.
Maybe some fresh thoughts on what I am missing would help?
Hi Bob,
Can you elaborate here, please? What is the "password" encryption method you're alluding to here? Also, do you still have a snapshot of your original 10.0 /home?
Hi Carl, Thanks for replying. When I set it up in 10.0 I chose the simplest form of encryption. Here is a blurb from the manual. "Symmetrical encryption: your data is just encrypted with a password. Anybody who has a computer with gpg can decrypt your message if you give him/her the password. To perform a symmetrical encryption, choose "symmetrical encryption" in the options box when asked to choose an encryption key." Seems that in 10.2 I cannot choose that option. Not there. I don't have a snapshot as such but I can still mount the old partition and see what is there. Bob S. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, Hope someone can help me on this. I got a problem on installing ypops for my Evolution mail. 1. What are the steps that i need to follow when installing? 2. How to make ypops service startup itself? Really dunno what to do? Or any alternatives free pops software? Regards, Tommy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 22 March 2007 07:45, Carl Hartung wrote:
Hi Bob,
Can you elaborate here, please? What is the "password" encryption method you're alluding to here? Also, do you still have a snapshot of your original 10.0 /home?
Carl
After sending off the reply to you I did some more investigation. When trying to decrypt my files I get a message that it cannot locate my "secret key". Where is that located??? I can still mount my 10.0 partition and copied some of the files from .gnupg over to 10.2. Still did not work. Evidently my key is lost somewhere in the bowels of 10.0 I then configured gpg on 10.2. I can now encrypt and decrypt files on the 10.2 system, but that doesn't help me with the encrypted files that came over from 10.0. Really hope this can be worked out. Three of those files are really important. Bob S. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-03-23 at 00:22 -0400, Bob S wrote:
After sending off the reply to you I did some more investigation. When trying to decrypt my files I get a message that it cannot locate my "secret key". Where is that located???
~/.gnupg/pubring.gpg ~/.gnupg/secring.gpg <<-- secret. If you overwrite it, you destroy any other secret keys you may have created. You need to import it, menaing you have to export it first from 10.0 There might be something also in ~/.gnupg/private-keys-v1.d/ - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGA6o0tTMYHG2NR9URAn6tAJ4skZSEMNehVi/AQljJRJKoB1xCiwCcCsvZ z8pgfhynZj86chcXPj5geNo= =/VNo -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 23 March 2007 06:21, Carlos E. R. wrote:
The Friday 2007-03-23 at 00:22 -0400, Bob S wrote:
After sending off the reply to you I did some more investigation. When trying to decrypt my files I get a message that it cannot locate my "secret key". Where is that located???
~/.gnupg/pubring.gpg ~/.gnupg/secring.gpg <<-- secret.
If you overwrite it, you destroy any other secret keys you may have created. You need to import it, meaning you have to export it first from 10.0
There might be something also in ~/.gnupg/private-keys-v1.d/
Nothing in that file. Thanks for replying Carlos, That did it......somewhat...... What I did was rename those two files in 10.2 and then import the files from 10.0 Then it seemed as though I was able to decrypt the files. Except that they did not show up anywhere. In other words, I clicked on the file, it asked me for the password, which I then gave, it accepted it and then the decrypted file never appeared. Is there another config file or something that tells gpg what to do with the decrypted file. Bob S. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Bob S
-
Carl Hartung
-
Carlos E. R.
-
Joachim Schrod
-
John Andersen
-
Tommy Lim KW