Difference between revisions of "Package:Gnupg"

From Funtoo
Jump to: navigation, search
(Created page with "{{Ebuild |Summary=The GNU Privacy Guard, a GPL pgp replacement |CatPkg=app-crypt/gnupg |Maintainer= |Homepage=http://www.gnupg.org/ }} {{EbuildFooter}}")
 
m (more details)
 
Line 5: Line 5:
 
|Homepage=http://www.gnupg.org/
 
|Homepage=http://www.gnupg.org/
 
}}
 
}}
 +
{{PageNeedsUpdates}}
 +
 +
=== Usage ===
 +
==== get a gpg key ====
 +
{{console|body=
 +
###i##gpg --gen-key
 +
:1
 +
:2048
 +
:1y
 +
:y
 +
:Real name: myalias
 +
:Email address: myemail@gmail.com
 +
:Comment: gpg keygen
 +
:o
 +
:enter gpg passphrase
 +
start haveged, or other secure /dev/random entropy generators.
 +
 +
gpg: /root/.gnupg/trustdb.gpg: trustdb created
 +
gpg: key D13AFD2D marked as ultimately trusted}}
 +
 +
==== gpg sign a file ====
 +
{{console|body=###i## gpg -a -o filename.tar.xz.asc --default-key D13AFD2D --detached-sign filename.tar.xz}}
 +
  
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Latest revision as of 19:29, May 17, 2015

Gnupg

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


Usage

get a gpg key

root #gpg --gen-key
:1
:2048
:1y
:y
:Real name: myalias
:Email address: myemail@gmail.com
:Comment: gpg keygen
:o
:enter gpg passphrase
start haveged, or other secure /dev/random entropy generators.

 gpg: /root/.gnupg/trustdb.gpg: trustdb created
 gpg: key D13AFD2D marked as ultimately trusted

gpg sign a file

root # gpg -a -o filename.tar.xz.asc --default-key D13AFD2D --detached-sign filename.tar.xz