On Fri, 24 Oct 2003 22:14:57 -0700
James Sparenberg <[EMAIL PROTECTED]> scribed on electronic parchment:

> Anyone know of a good online tutorial on 
> 
> 1. Using GPG with mail
> 2. Using GPG instead of passwords to login via ssh
> 3. Signing an rpm with a signature.
> 
> 
> I'm not talking about something like the full blown explanations I've
> read and fallen asleep there.  I'm looking for something like a cookbook
> that I can print and hand to people and say.  "Do this it will work" 


I have some links for ssh, but nothing in any of them about using gpg
instead; never heard of that.  I'll be talking to Google 'bout that.


1 - 

This is the link that I have used to setup GnuPG with three different
mailers:
http://www.gnupg.org/(en)/related_software/frontends.html#mua

2 - kinda' but not really. 

I use this MiniHow-To almost 2-3 times a weeK:
http://www.gnupg.org/(en)/documentation/howtos.html#GnuPG-miniHOWTO


3 - 

This is right off the Cooker Page:
http://www3.mandrakelinux.com/en/cookerdevel.php3

# How to contribute some packages to Cooker?

    First, if you have developed a program and want to make your
contribution in the RPM Contribs part of the distribution, please contact
the RPM apps manager at [EMAIL PROTECTED] and tell him that you have
a new package. Thank you and Good Luck!

    Next, Install the GnuPG package:

    You may do so by running, as root, the command "urpmi gnupg"
    - create a .gpg directory in your home directory: mkdir ~/.gpg
    - in order to generate your GnuPG keys type: "gpg --gen-key"
    - select option "1) 1024 bits- Low commercial grade..."
    - enter your Firstname+Name+email address @linux-mandrake.com
    (for example: if your name is "John Smith" and your email address is
"[EMAIL PROTECTED]", then enter: John Smith
[EMAIL PROTECTED])    - enter a good little pass phrase or password
that you can remember - don't forget it!    - type like a fool on your
keyboard while the keys are generating; try not to break it:)

    Now the keys should have been generated.

    In order to extract a public ascii key:
    - type: gpg --export -a -o key.asc
    - enter your complete GnuPG identity (in our example: John Smith
[EMAIL PROTECTED])    - enter a filename for the ascii file, for
example: key.asc    - send the key.asc file to Contributions manager
[EMAIL PROTECTED]> so your packages can be authenticated in the
future.

# How to sign your RPM packages?

It's very easy:

- edit ~/.rpmmacros and put something like this:

        %_signature             gpg
        %_gpg_name              John Smith < [EMAIL PROTECTED] >
        %distribution           Mandrake
        %vendor                 MandrakeSoft

    ( replace _gpg_name with your own GnuPG id! -unless you are John Smith
:-) )

    Now, every time you recompile a package, you need to enter the following
command:    rpm --sign -ba --clean file.spec
    (you will be prompted for your personal secret phrase).

    In order to contribute your new package, upload it ( .src.rpm only! )
to: ftp://ftp.linux-mandrake.com/incoming/ and warn the Contributions
manager and Cooker-list by sending an email to both.

    Have fun! 


-- 
I often read this forum on my PDA, please use plain text!
 _
( ) ASCII ribbon campaign against HTML e-mail
 x     registered Linux user # 329428
/ \ GnuPG KeyID 6B5A70DF www.keyserver.net

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to