5 Replies - 358 Views - Last Post: 10 November 2018 - 02:16 PM

#1 sayhello   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 214
  • Joined: 12-November 17

how to import a key into KGpg the best and easiest way

Posted 10 November 2018 - 10:39 AM

Hello dear experts


how to import a key of a friend ... into KGpg



is this possible with

gpg -a --import



i guess that this is much more apropiate than this code

gpg -a -i



btw - or are there options to import directly without any comand line


can i import it directly with kgpg !?

Is This A Good Question/Topic? 0
  • +

Replies To: how to import a key into KGpg the best and easiest way

#2 sayhello   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 214
  • Joined: 12-November 17

Re: how to import a key into KGpg the best and easiest way

Posted 10 November 2018 - 12:24 PM

hello dear all - i have apied the following code to the files

- note my friend send me two different files - pgp-files


i have applied the following line of code:

gpg -a --import [filename]

i have applied the code to the to existing files ... which i wanted to import:

encrypted1.asc
encrypted2.asc


[[email protected] Downloads]$ gpg -a --import encrypted1.asc
gpg: Keine gültigen OpenPGP-Daten gefunden.
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 0
[[email protected] Downloads]$ gpg -a --import encrypted1.asc
gpg: Keine gültigen OpenPGP-Daten gefunden.
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 0
[[email protected] Downloads]$ gpg -a --import encrypted2.asc
gpg: Keine gültigen OpenPGP-Daten gefunden.
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 0
[[email protected] Downloads]$ 



hmm - i am wondering why it failed...
Was This Post Helpful? 0
  • +
  • -

#3 sayhello   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 214
  • Joined: 12-November 17

Re: how to import a key into KGpg the best and easiest way

Posted 10 November 2018 - 01:00 PM

hello dear all

well the KGpg client has got a button that supports a import

but if i use this button i get the message - see the protocoll-data

where to find this protocoll-data
Was This Post Helpful? 0
  • +
  • -

#4 sayhello   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 214
  • Joined: 12-November 17

Re: how to import a key into KGpg the best and easiest way

Posted 10 November 2018 - 01:30 PM

if i try to import with the kgpg - then the protocoll says



the encryption of the file failed
Was This Post Helpful? 0
  • +
  • -

#5 sayhello   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 214
  • Joined: 12-November 17

Re: how to import a key into KGpg the best and easiest way

Posted 10 November 2018 - 01:46 PM

hello dear all

if i try to import the key with KGpg - the KDE client - wiht the option - take the text from editor .. then i get back the warning

Quote

Text in editor is no key but a crypted text - should i treat the text and try to decypher it?


well that said - my friend sent me a crypted file for a public key - well this seems not to be necessary -

what to do now
Was This Post Helpful? 0
  • +
  • -

#6 sayhello   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 214
  • Joined: 12-November 17

Re: how to import a key into KGpg the best and easiest way

Posted 10 November 2018 - 02:16 PM

WEll i think that i have to ask the friend how he crypted the key

guessing there is a crypted file- i tried to decypher the file

[[email protected] Downloads]$ gpg -d encrypted1.asc
gpg: verschlüsselt mit ELG Schlüssel, ID 347E856F4F5D2DC6
gpg: verschlüsselt mit ELG Schlüssel, ID 6C37EEFDAB40A2B8
gpg: verschlüsselt mit RSA Schlüssel, ID CEF757D0F5BE77E5
gpg: Entschlüsselung fehlgeschlagen: Kein geheimer Schlüssel
[[email protected] Downloads]$ ^Mgpg -d encrypted2.asc
bash: $'\rgpg': Kommando nicht gefunden.
[[email protected] Downloads]$
[[email protected] Downloads]$ gpg -d encrypted2.asc
gpg: verschlüsselt mit ELG Schlüssel, ID 347E856F4F5D2DC6
gpg: verschlüsselt mit ELG Schlüssel, ID 6C37EEFDAB40A2B8
gpg: verschlüsselt mit RSA Schlüssel, ID CEF757D0F5BE77E5
gpg: Entschlüsselung fehlgeschlagen: Kein geheimer Schlüssel
[[email protected] Downloads]$


but wait - this failed..
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1