Wir sprechen Linux.
Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Time: 11:28:21 Date: Sat 21 Nov 2009
Download my public GPG key: pmkey.asc
RPM
rpm --import pmkey.asc
To confirm that a downloaded
RPM file has not been tampered with, use the "-K" option on the "rpm" command. For Example:
rpm -K bsu-2.0.0-1.i386.rpm
This will test both the MD5 and the GPG signature. For this to
work, you should add my public key to
your gpg key ring. You can also check the fingerprint for this
key (listed at bottom of this page).
I use GPG for encryption and signing RPM files.
Download my public key and import it to your RPM database:
DEB
I use GPG for encryption and signing DEB files. Download my public key and import it
into the GPG keyring:
gpg --import pmkey.asc
To check the *.changes or *.dsc files, you use the "gpg" program with the "verify" option.
For example:
gpg --verify bsu_2.0.0-1lenny.dsc
gpg --verify bsu_2.0.0-1lenny_i386.changes
The above commands are used to check the source package. The *.deb packages (both binary and source) are signed with a detached signature. To verify a file with a detached signature,
you would give a command like the following example:
gpg --verify bsu_2.0.0-1lenny_i386.deb.asc
This will work if the file bsu_2.0.0-1lenny_i386.deb
is in the same directory as the detached signature. The alternative command is to give the *.deb file as an argument on the command line. The general form would be:
gpg --verify
bsu_2.0.0-1lenny_i386.deb.asc bsu_2.0.0-1lenny_i386.deb
where the second argument might also include a pathname to the files location.
It also works if they are in the same directory.
How to create a detached signature
gpg --sign --armor
-b foobar.deb
The result will be a detached signature, foobar.deb.asc.
The --armor option creates an ASCII (non-binary) signature file, and the
-b option causes the signature to be detached, in a separate file
with the *.asc ending.
The detached signatures are created with GPG by using 3 arguments. Say we wish to sign the file
foobar.deb with a detached signature:
Encrypting Files and EMAIL
You can also use this public key to encrypt files meant for me to decrypt.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
mQGiBDxZ9GIRBADJ/p9510p5ubYWlhGZgMNJUEcP2rkMoA/jtxFqqaWERjvMKwW4 kbWytJ2VLlIhiFI0vUMtViHpppFz6TfDR+1qvIzBqxobieIuPxot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