File: gpg-procedures.txt

package info (click to toggle)
ike-scan 1.9.4-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 5,104 kB
  • sloc: ansic: 10,991; sh: 884; perl: 148; makefile: 22
file content (25 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$Id$

Using GPG to sign and verify ike-scan packages
----------------------------------------------

To Sign:

   gpg --armor --detach-sign <file>

   e.g. gpg --armor --detach-sign ike-scan-1.7.tar.gz

   This will create a ".asc" file, e.g. ike-scan-1.7.tar.gz.asc

To Verify:

   gpg --verify <sig> <file>

   e.g. gpg --verify ike-scan-1.6.tar.gz.asc ike-scan-1.6.tar.gz

   This will report either "Good signature" or "BAD signature", e.g:

   $ gpg --verify ike-scan-1.6.tar.gz.asc ike-scan-1.6.tar.gz
   gpg: Signature made Thu Jan 15 09:20:31 2004 GMT using DSA key ID 567B9F3A
   gpg: Good signature from "Roy Hills <Roy.Hills@nta-monitor.com>"