Jump to content

tried to insert a pgp- public key to a opensuse 13.2 system - into the kgpg-tray.


Recommended Posts

tried to insert a pgp- public key to a opensuse 13.2 system - into the kgpg-tray.

it failed all the time

see the logfiles

 


:54:48 linux-7w0a.site su[4359]: pam_unix(su:session): session opened for user root by (uid=1000)

Nov 06 12:27:31 linux-7w0a.site systemd[2046]: Time has been changed

Nov 06 12:27:40 linux-7w0a.site systemd[2046]: Time has been changed

Nov 06 14:40:21 linux-7w0a.site systemd[2046]: Time has been

Nov 06 18:23:27 linux-7w0a.site systemd[2046]: Time has been changed

Nov 06 19:40:57 linux-7w0a.site systemd[2046]: Time has been changed

Nov 06 19:43:17 linux-7w0a.site kcheckpass[8593]: pam_unix(xdm:auth): authentication failure; logname=martin uid=1000 euid=0 t

Nov 07 10:42:05 linux-7w0a.site systemd[2046]: Time has been changed

Nov 07 20:10:48 linux-7w0a.site systemd[2046]: Time has been changed

Nov 08 03:36:49 linux-7w0a.site systemd[2046]: Time has been changed

Nov 08 13:15:50 linux-7w0a.site systemd[2046]: Time has been changed

Nov 08 18:27:34 linux-7w0a.site systemd[2046]: Time has been changed

Nov 08 20:17:37 linux-7w0a.site systemd[2046]: Time has been changed

Nov 08 21:37:46 linux-7w0a.site systemd[2046]: Time has been changed

Nov 08 23:29:29 linux-7w0a.site su[4155]: pam_unix(su:session): session closed for user root

lines 2767-2794/27



i have tried to get it done while i start kgpg - the graphical interface.
after doing so i have done several trials:

a. gettiing the pub-key intergrated into kgpg while uploading from the fiile
b. getting the pub-key intergrated into kgpg while i use the tray - and insert it into tray from the memory.

well i have found another solution: here

gnupg - How do I import a public key? - Ask Ubuntu

Public Key Server -- Get ``0x51716619e084dab9 ''

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mQENBEy9tcUBCACnWQfqdrcz7tQL/iCeWDYSYPwXpPMUMLE721HfFH7d8ErunPKPIwq1v4Cr
NmMjcainofbu/BfuZESSK1hBAItOk/5VTkzCJlzkrHY9g5v+XlBMPDQ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rw+IDUJeYkdVbwGqavgJG1ABEBAAGJASUEGAECAA8FAky9tcUC
GwwFCQlmAYAACgkQUXFmGeCE2rlB9Qf+JKMUzM0KVdTFWocGP+v4xTJsnKjYfjPjOkFYAdxh
jkiIq7h7ws0s+UKqmzSG4vX5Qz46GZcB7x0hVrN0gqCcfpruPZOjXNkRwtsXbLfiurrZQ6dS
PsNIE9L4DZdSTggwC3i7jiDlK6TtIMXD55VoVvVAvmzt6/f7y4qsVxhZ/N3jMqq1vLUESw8e
Vq2ryZRU9OIUufb5JjGNJ1Zz0Zp8hV/IPLoIv1OIocWov27YLcr6EnXuvXvU/MSm97YifdG9
UYCE99nHTioSM0Q3cgpu5EppVNrc232gyG2vlHzhsstNBx55cUmAX2fEzxuRipLS0iq4L0zU
Gdgdjn4noGDzGA==
=BF1w
-----END PGP PUBLIC KEY BLOCK-----
 


         
I) Copy this to a txt file:
 

gedit ~/Michael.txt  

II) Run this
 

sudo apt-key add ~/Michael.txt && rm ~/Michel.txt 


well - i am on opensuse - and not on ubuntu.

So the question is:

how to run this ubuntu-command in opensus
 

sudo apt-key add ~/Michael.txt && rm ~/Michel.txt 

Please, stop.

 

What this command does is add a key to your packet manager. That is, the key would be authorized to sign arbitrary packets. You absolutely definitely don't want this, because it undermines the security of your system. The fact that you need sudo (i. e. admin privileges) to simply import a key should have set off all your alarm bells. Please think before you run any commands.

 

I'm frankly baffled by how much trouble you have with kGPG. I'm a first-time user, and I had no problems whatsoever generating new keys, importing other keys etc. So either there's something seriously wrong with your system. Or it's simply not the right tool for you.

 

I suggest the following: Switch to a different system (either a physical machine or a virtual one). Install kGPG from scratch and again try to import keys. If there are still problems, forget about kGPG and use GPG from the command line. It may not be the most comfortable interface, but at least it won't screw up your system.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.