KMail/gpg/ca: Difference between revisions
(Created page with "__TOC__
Image:Kgpg.png Podeu usar '''kmail''' i '''gpg''' per enviar missatges encriptats o signats digitalment. Per fer-ho, trobareu els botons «Signa¢ i «Encripta» en ...") |
(Created page with "{{Tip|1=A la pàgina de PGP MIME es parla de l'arranjament i ús de GnuPG.}}") |
||
Line 4: | Line 4: | ||
[[Image:Kgpg.png]] Podeu usar '''kmail''' i '''gpg''' per enviar missatges encriptats o signats digitalment. Per fer-ho, trobareu els botons «Signa¢ i «Encripta» en la ''finestra de l'editor'' de '''kmail'''. Apareixerà si feu clic a <menuchoice>Fitxer -> Nou -> Missatge nou</menuchoice>. | [[Image:Kgpg.png]] Podeu usar '''kmail''' i '''gpg''' per enviar missatges encriptats o signats digitalment. Per fer-ho, trobareu els botons «Signa¢ i «Encripta» en la ''finestra de l'editor'' de '''kmail'''. Apareixerà si feu clic a <menuchoice>Fitxer -> Nou -> Missatge nou</menuchoice>. | ||
{{Tip|1=[[Special:myLanguage/KMail/PGP_MIME| | {{Tip|1=A [[Special:myLanguage/KMail/PGP_MIME|la pàgina de PGP MIME]] es parla de l'arranjament i ús de GnuPG.}} | ||
== Resum: GPG == | == Resum: GPG == |
Revision as of 17:41, 18 July 2011
Podeu usar kmail i gpg per enviar missatges encriptats o signats digitalment. Per fer-ho, trobareu els botons «Signa¢ i «Encripta» en la finestra de l'editor de kmail. Apareixerà si feu clic a .
Resum: GPG
A web of trust comprises a group of persons who trust each other. To show their trust, they have signed each other's keys. gpg allows you to do this.
The web of trust is extended in key signing parties that go like this:
- you (me@home.org) meet John Foo (foo@bar.org) who is already a member of the web of trust
- you install gpg
- you have a private/public key pair or generate one with
gpg --gen-key
Your private key is stored in "secring.gpg", your public one is stored in "pubring.gpg". You keep your private key secure, and are free to distribute your public key.
- you find out your key's fingerprint (name)
gpg --list-keys /home/me/.gnupg/pubring.gpg ---------------------------------- pub 1024D/45E377BB 2008-02-03 [...]
- you upload your public key to your key server
gpg --send-key
- John downloads your key from the key server
gpg --search-key me@home
- John checks your passport and signs your key
gpg --sign-key 45E377BB
- John uploads your key again
gpg --send-key 45E377BB
- You are now part of the web of trust and your public key is on the key server.
Com...
Import a saved keyring
If you have a keyring saved to your disk, reload ("import") it like this:
gpg --import
Then call kgpg and set your trust on your private key to "ultimate."
Solució de problemes
Whatever problems arise, first make sure your gpg is properly set up:
- List your keys
gpg --list-keys
- Has to deliver something like a sensible list of keys.
- Check the output of
gpg --update-trustdb
- In case of a problem look at the below.
No ultimately trusted keys found
If
gpg --update-trustdb
delivers
gpg: no ultimately trusted keys found
Call kgpg and set the trust of your private key to "ultimate'"
"Gpg does not seem to be running..."
You get an error message like this whenever you start up? You need scripts to make it start and stop cleanly. You can get scripts here:
Copy them into your ~/.kde/env and ~/.kde/shutdown folders, check permissions, and make sure they are executable.
Still not working?
Check which pinentry packages you have installed. You may find you are missing pinentry-qt4.