GNUPG

| | Comments (0)

GnuPG is a complete and free replacement for PGP

一開始先要造公/私金鑰
gpg --gen-key

對文件加簽
gpg --clearsign file.txt
會產生 file.txt.asc
範例: (Mandrake Linux Community ISO MD5)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

1ea7433e24eb6a3d9491128708a8e0e3 Mandrakelinux-10.1-Community-Download-CD1.i586.iso
5b66d05d03ed2830ce6d09a7e4930b24 Mandrakelinux-10.1-Community-Download-CD2.i586.iso
4815820ca0ff6a5c91525363889bc7bb Mandrakelinux-10.1-Community-Download-CD3.i586.iso
d41d8cd98f00b204e9800998ecf8427e Mandrakelinux-10.1-Community-Download.md5
9bbc6e07fcfc75dfef935e8673d3a5b1 Mandrakelinux-10.1-Community-Download.md5.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBUaXK54mK4HB3H/MRAgwWAKC1UYRdMR1XDt19/tk850KDnRENKQCeO1k4
hjWxIi4FZoc5h8df4Z4xKEk=
=RFQ2
-----END PGP SIGNATURE-----

檢查已加簽文件
gpg --verify test.asc
gpg: 由 西元2004年11月10日 (週三) 10時19分38秒 CST 建立的簽章,使用 DSA 金鑰 ID A8C4CEBC
gpg: 完好的簽章來自於 "Henry Pan "

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
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 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on November 10, 2004 10:36 AM.

Firefox 1.0 Released was the previous entry in this blog.

Linux open consoles without login is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.