Jämförda versioner

Nyckel

  • Dessa rader lades till.
  • Denna rad togs bort.
  • Formateringen ändrades.

...

Install pgp, create key-pair and distribute public key.See http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/ for details.

  1.  Install pgp
    If you are a Mac user and have macports installed

    (you really should!)

    then simply install pgp with the command:

    {
    Inget format
    }
    sudo port install gnupg
    {noformat}
  2. Create key-pair

    {
    Inget format
    }
    gpg --gen-key
    {no format}
  3. List keys

    {
    Inget format
    }
    gpg --list-keys

    
    gpg --list-secret-keys
    {noformat}

    Keys will be listed in the following format where the key id, nnnnnnnn, is the most important:

    {
    Inget format
    }
    pub   mmmmm/nnnnnnnn date

    
    uid   name <email>

    
    sub   mmmmm/ssssssss date
    {noformat}
  4. Distribute public key

    {
    Inget format
    }
    gpg --keyserver hkp://pgp.mit.edu --send-keys nnnnnnnn
    {noformat}
  5. Define the default key
    If you have more than one private key you can define a default key by editing the configuration file:

    {
    Inget format
    }
    mate ~/.gnupg/gpg.conf
    {noformat}

    And set the default-key option to your preferred default key:

    {
    Inget format
    }
    # If you have more than 1 secret key in your keyring, you may want to

    
    # uncomment the following option and set your preferred keyid.

    
    default-key nnnnnnnn

    {noformat} 


Paketnamn

SKLTP komponenter

...