注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package:Gnupg

From Funtoo
Jump to navigation Jump to search

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