{"id":1277,"date":"2019-06-12T07:07:17","date_gmt":"2019-06-11T22:07:17","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=1277"},"modified":"2023-06-12T20:02:58","modified_gmt":"2023-06-12T11:02:58","slug":"gnupg%e3%81%a7%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ab%e5%af%be%e3%81%97%e3%81%a6%e9%9b%bb%e5%ad%90%e7%bd%b2%e5%90%8d%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/1277","title":{"rendered":"GnuPG\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u96fb\u5b50\u7f72\u540d\u306e\u751f\u6210\u3068\u691c\u8a3c\u3092\u884c\u3046\uff01"},"content":{"rendered":"<p>\u9375\u306e\u4f5c\u6210\u304c\u5b8c\u4e86\u3057\u305f\u3068\u3053\u308d\u3067\u3001GnuPG(GPG)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u96fb\u5b50\u7f72\u540d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>GnuPG(GPG)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\u30fb\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u96fb\u5b50\u7f72\u540d<br \/>\n\u30fb\u96fb\u5b50\u7f72\u540d\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u691c\u8a3c<\/p>\n<h2 class=\"h001\">\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u96fb\u5b50\u7f72\u540d<\/h2>\n<p>\"gpg --sign\"\u30b3\u30de\u30f3\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u96fb\u5b50\u7f72\u540d\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\uff1c\u30b3\u30de\u30f3\u30c9\uff1e<br \/>\n\u96fb\u5b50\u7f72\u540d\u3000\u3000\u3000\u3000\u3000\uff1agpg --output &lt;\u96fb\u5b50\u7f72\u540d\u5f8c\u30d5\u30a1\u30a4\u30eb\u540d&gt; --sign &lt;\u96fb\u5b50\u7f72\u540d\u524d\u30d5\u30a1\u30a4\u30eb\u540d&gt;<br \/>\n\u96fb\u5b50\u7f72\u540d\u306b\u3088\u308b\u691c\u8a3c\uff1agpg --output &lt;\u96fb\u5b50\u7f72\u540d\u691c\u8a3c\u5f8c\u30d5\u30a1\u30a4\u30eb\u540d&gt; --decrypt &lt;\u96fb\u5b50\u7f72\u540d\u5f8c\u30d5\u30a1\u30a4\u30eb\u540d&gt;<br \/>\n\uff1c\u5b9f\u884c\u4f8b\uff1e<br \/>\n============================================================<br \/>\nD:\\gpg&gt;type test.txt<br \/>\nTESTD:\\gpg&gt;gpg --output test.txt.sig --sign test.txt<br \/>\n\u6b21\u306e\u30e6\u30fc\u30b6\u306e\u79d8\u5bc6\u9375\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3059\u308b\u306b\u306f<br \/>\n\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u304c\u3044\u308a\u307e\u3059:\"ICT Lab (sun) &lt;ict-lab@example.com&gt;\"<br \/>\n4096\u30d3\u30c3\u30c8RSA\u9375, ID 7AB452DA\u4f5c\u6210\u65e5\u4ed8\u306f2015-03-29 (\u4e3b\u9375ID CBCA1C1B)<br \/>\nD:\\gpg&gt;gpg --output test.txt.sig.txt --decrypt test.txt.sig<br \/>\ngpg: 03\/29\/15 16:20:12 \u6771\u4eac (\u6a19\u6e96\u6642)\u306bRSA\u9375ID 7AB452DA\u3067\u65bd\u3055\u308c\u305f\u7f72\u540d<br \/>\ngpg: \"ICT Lab (sun) &lt;ict-lab@example.com&gt;\"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540d [\u7a76\u6975]\nD:\\gpg&gt;type test.txt.sig.txt<br \/>\nTEST<br \/>\n============================================================<\/p>\n<h2 class=\"h001\">\u30af\u30ea\u30a2\u30b5\u30a4\u30f3\u306b\u3088\u308b\u96fb\u5b50\u7f72\u540d\u3068\u691c\u8a3c<\/h2>\n<p>\"gpg --clearsign\"\u30b3\u30de\u30f3\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u30af\u30ea\u30a2\u30b5\u30a4\u30f3\u306b\u3088\u308b\u96fb\u5b50\u8a3c\u660e\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\uff1c\u30b3\u30de\u30f3\u30c9\uff1e<br \/>\n\u96fb\u5b50\u7f72\u540d\u3000\u3000\u3000\u3000\u3000\uff1agpg --output &lt;\u96fb\u5b50\u7f72\u540d\u5f8c\u30d5\u30a1\u30a4\u30eb\u540d&gt; --clearsign &lt;\u96fb\u5b50\u7f72\u540d\u524d\u30d5\u30a1\u30a4\u30eb\u540d&gt;<br \/>\n\u96fb\u5b50\u7f72\u540d\u306b\u3088\u308b\u691c\u8a3c\uff1agpg --verify &lt;\u96fb\u5b50\u7f72\u540d\u691c\u8a3c\u5f8c\u30d5\u30a1\u30a4\u30eb\u540d&gt;<br \/>\n\uff1c\u5b9f\u884c\u4f8b\uff1e<br \/>\n============================================================<br \/>\nD:\\gpg&gt;gpg --output test.txt.clearsign --clearsign test.txt<br \/>\n\u6b21\u306e\u30e6\u30fc\u30b6\u306e\u79d8\u5bc6\u9375\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3059\u308b\u306b\u306f<br \/>\n\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u304c\u3044\u308a\u307e\u3059:\"ICT Lab (sun) &lt;ict-lab@example.com&gt;\"<br \/>\n4096\u30d3\u30c3\u30c8RSA\u9375, ID 7AB452DA\u4f5c\u6210\u65e5\u4ed8\u306f2015-03-29 (\u4e3b\u9375ID CBCA1C1B)<br \/>\nD:\\gpg&gt;type test.txt.clearsign<br \/>\ntest.txt.clearsign<br \/>\n-----BEGIN PGP SIGNED MESSAGE-----<br \/>\nHash: SHA256<br \/>\nTEST<br \/>\n-----BEGIN PGP SIGNATURE-----<br \/>\nVersion: GnuPG v2<br \/>\niQIcBAEBCAAGBQJVF6Z+AAoJEB5jpM16tFLa2BYP\/1AczIkiDZoMjq\/WBya6ZiwS<br \/>\nu5F7CTxoLayth5mTa8k13hG8gxWzWc+eiyhTlIJJvnS8uyjT4hfTF8m2mydihTB+<br \/>\n+3Ri+lAuOzNy5sfkPeOqnXpAY9qj5LHgIbx6nkWSgIRc7hK5xyUOS4mHehjSUAp\/<br \/>\nkUu8ooXfmNz+WLcpp2MCr5gNtLiPWqw5eBN+LWyoZ0jSvp6zugChqf6bwsNQ5jpu<br \/>\nF7PRxaZg0O2XJMrelydwulNa0ZgAo+tQkxuNEMpziMrCZ43D4Q5HeKN5YqZVsUSW<br \/>\nxfOUyyl\/ffxBkeOQZTAVfkRIjXgz1rdZo\/Rd369XYEA0g63JabaEylaOnjHGfH9I<br \/>\nK6wWAK8bI4P9OjoZh6nOuDFdYWwGjxlZ8qA6Cxw+dcrjRibSgRCRh31X1REdMUrA<br \/>\nX8Rh5uWbp5+KVOEReCW01ahzLDjt1KSEbVVVLo4bVBPsN9VYHE1hkjNhiY5V3AHE<br \/>\nGqpiq1ILWCUXigVIqLIo3ANUhLUzlnlmbReDOqpDzTlA8vSjN5EolFDleFeAqLUm<br \/>\nNC\/IC8JStsae\/6wfJIFSzUYO59C2ZBb1OX5ajz7xVa4NBDou+NBmWMr8rmlCqYVa<br \/>\nUuSzken3jIeLa5Kwfdb0uxu7pe5tfkKSZcm6PYooF7sKUHpWvzy91Uow9o3E\/xn0<br \/>\nn\/7gQQXbk0p0k0ofWBsP<br \/>\n=7Rud<br \/>\n-----END PGP SIGNATURE-----<br \/>\nD:\\gpg&gt;gpg --verify test.txt.clearsign<br \/>\ngpg: 03\/29\/15 16:15:10 \u6771\u4eac (\u6a19\u6e96\u6642)\u306bRSA\u9375ID 7AB452DA\u3067\u65bd\u3055\u308c\u305f\u7f72\u540d<br \/>\ngpg: \"ICT Lab (sun) &lt;ict-lab@example.com&gt;\"\u304b\u3089\u306e\u6b63\u3057\u3044\u7f72\u540d [\u7a76\u6975]\n============================================================-<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u9375\u306e\u751f\u6210\u304c\u5b8c\u4e86\u3057\u3066\u3044\u308c\u3070\u3001\u30b3\u30de\u30f3\u30c9\u4e00\u3064\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u96fb\u5b50\u7f72\u540d\u3068\u96fb\u5b50\u7f72\u540d\u306b\u3088\u308b\u691c\u8a3c\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b\uff08Windows7\u3067\u6697\u53f7\u5316\u3068\u96fb\u5b50\u7f72\u540d\u3092\u5229\u7528\uff01\uff09<\/h2>\n<ol>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1268\" target=\"_blank\" rel=\"noopener noreferrer\">Gpg4win\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1270\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u3067\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u751f\u6210\u3059\u308b\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1273\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u3067\u79d8\u5bc6\u9375\u306e\u76d7\u96e3\uff0f\u7d1b\u5931\u5bfe\u7b56\u3092\u884c\u3046\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1275\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u3092\u884c\u3046\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1277\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u3067\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u96fb\u5b50\u7f72\u540d\u306e\u751f\u6210\u3068\u691c\u8a3c\u3092\u884c\u3046\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1281\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u3067\u516c\u958b\u9375\u30b5\u30fc\u30d0\u306b\u516c\u958b\u9375\u3092\u767b\u9332\u3059\u308b\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1284\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u3067\u516c\u958b\u9375\u30b5\u30fc\u30d0\u304b\u3089\u516c\u958b\u9375\u3092\u5165\u624b\u3059\u308b\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1288\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u3067\u516c\u958b\u9375\u306b\u79d8\u5bc6\u9375\u3067\u7f72\u540d\u3059\u308b\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1290\" target=\"_blank\" rel=\"noopener noreferrer\">Thunderbird\u3068Enigmail\u3067\u6697\u53f7\u30e1\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\uff01<\/a><\/li>\n<li><a href=\"https:\/\/lab4ict.com\/system\/archives\/1292\" target=\"_blank\" rel=\"noopener noreferrer\">GnuPG\u306b\u3088\u308b\u6697\u53f7\u5316\u3092\u4f7f\u7528\u3057\u3066\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u5229\u7528\u3059\u308b\uff01<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u9375\u306e\u4f5c\u6210\u304c\u5b8c\u4e86\u3057\u305f\u3068\u3053\u308d\u3067\u3001GnuPG(GPG)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u96fb\u5b50\u7f72\u540d\u3092\u884c\u3044\u307e\u3059\u3002 \u306f\u3058\u3081\u306b GnuPG(GPG)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u3092\u884c\u3044\u307e\u3059\u3002 \u30fb\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u96fb\u5b50\u7f72\u540d \u30fb\u96fb\u5b50\u7f72\u540d\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u691c\u8a3c \u30d5\u2026<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[409,415,440],"class_list":["post-1277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gnupg","tag-gpg","tag-415","tag-440"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=1277"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1277\/revisions"}],"predecessor-version":[{"id":12240,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1277\/revisions\/12240"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=1277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=1277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=1277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}