{"id":1270,"date":"2019-06-09T08:17:32","date_gmt":"2019-06-08T23:17:32","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=1270"},"modified":"2023-06-07T05:32:04","modified_gmt":"2023-06-06T20:32:04","slug":"gnupg%e3%81%a7%e5%85%ac%e9%96%8b%e9%8d%b5%e3%81%a8%e7%a7%98%e5%af%86%e9%8d%b5%e3%82%92%e7%94%9f%e6%88%90%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/1270","title":{"rendered":"GnuPG\u3067\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u751f\u6210\u3059\u308b\uff01"},"content":{"rendered":"<p>GnuPG(GPG)\u3092\u4f7f\u7528\u3057\u3066\u3001\u6697\u53f7\u5316\u3068\u96fb\u5b50\u7f72\u540d\u3092\u884c\u3046\u305f\u3081\u306e\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u6700\u5927\u9650\u8003\u616e\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u9375\u306e\u751f\u6210\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u306a\u3044\u9375\u751f\u6210\u5c02\u7528\u306e\u30d1\u30bd\u30b3\u30f3\u4e0a\u306bGpg4win\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u306e\u751f\u6210\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>GnuPG(GPG)\u3092\u4f7f\u7528\u3057\u3066\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<h2>\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u306e\u4f5c\u6210<\/h2>\n<p>\"gpg --gen-key\"\u30b3\u30de\u30f3\u30c9\u3067\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u9805\u76ee\u3092\u4e8b\u524d\u306b\u6c7a\u3081\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n\u9375\u306e\u7a2e\u985e\u3000\u3000\u3000\u3000\u3000\u3000\uff1aRSA \u3068 RSA (\u30c7\u30d5\u30a9\u30eb\u30c8) \u203bRSA\u304c\u6697\u53f7\u5316\u306e\u5f37\u5ea6\u304c\u9ad8\u3044\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u9375\u9577\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff1a4096 \u203b\u9577\u3044\u307b\u3046\u304c\u6697\u53f7\u5316\u306e\u5f37\u5ea6\u304c\u5897\u3057\u307e\u3059\u3002<br \/>\n\u9375\u306e\u6709\u52b9\u671f\u9650\u3000\u3000\u3000\u3000\uff1a\u306a\u3057 \u203b\u81ea\u52d5\u3067\u6709\u52b9\u671f\u9650\u3092\u5207\u308b\u5fc5\u8981\u304c\u7121\u3051\u308c\u3070\u7121\u671f\u9650\u3067\u3088\u3044\u304b\u3068\u3002<br \/>\n\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3000\u3000\u3000\u3000\uff1a\u4efb\u610f \u203b\u9375\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u969b\u306b\u3082\u5fc5\u8981\u3068\u306a\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u672c\u540d\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff1a\uff08\u4f8b\uff09ICT Lab<br \/>\n\u96fb\u5b50\u30e1\u30fc\u30eb\u30fb\u30a2\u30c9\u30ec\u30b9\uff1a\uff08\u4f8b\uff09ict-lab@example.com<br \/>\n\u30b3\u30e1\u30f3\u30c8\u3000\u3000\u3000\u3000\u3000\u3000\uff1a\uff08\u4f8b\uff09sun<br \/>\n\uff1c\u5b9f\u884c\u4f8b\uff1e<br \/>\n============================================================<br \/>\nD:\\&gt;gpg --gen-key<br \/>\ngpg (GnuPG) 2.0.27; Copyright (C) 2015 Free Software Foundation, Inc.<br \/>\nThis is free software: you are free to change and redistribute it.<br \/>\nThere is NO WARRANTY, to the extent permitted by law.<br \/>\n\u3054\u5e0c\u671b\u306e\u9375\u306e\u7a2e\u985e\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044:<br \/>\n(1) RSA \u3068 RSA (\u30c7\u30d5\u30a9\u30eb\u30c8)<br \/>\n(2) DSA \u3068 Elgamal<br \/>\n(3) DSA (\u7f72\u540d\u306e\u307f)<br \/>\n(4) RSA (\u7f72\u540d\u306e\u307f)<br \/>\n\u3042\u306a\u305f\u306e\u9078\u629e\u306f? 1<br \/>\nRSA \u9375\u306f 1024 \u304b\u3089 4096 \u30d3\u30c3\u30c8\u306e\u9577\u3055\u3067\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u9375\u9577\u306f? (2048) 4096<br \/>\n\u8981\u6c42\u3055\u308c\u305f\u9375\u9577\u306f4096\u30d3\u30c3\u30c8<br \/>\n\u9375\u306e\u6709\u52b9\u671f\u9650\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n0 = \u9375\u306f\u7121\u671f\u9650<br \/>\n= \u9375\u306f n \u65e5\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\nw = \u9375\u306f n \u9031\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\nm = \u9375\u306f n \u304b\u6708\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\ny = \u9375\u306f n \u5e74\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\n\u9375\u306e\u6709\u52b9\u671f\u9593\u306f? (0)0<br \/>\n\u9375\u306e\u6709\u52b9\u671f\u9593\u306f? (0)\u306f\u7121\u671f\u9650\u3067\u3059<br \/>\n\u3053\u308c\u3067\u6b63\u3057\u3044\u3067\u3059\u304b? (y\/N) y<br \/>\nGnuPG\u306f\u3042\u306a\u305f\u306e\u9375\u3092\u8b58\u5225\u3059\u308b\u305f\u3081\u306b\u30e6\u30fc\u30b6ID\u3092\u69cb\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u672c\u540d: ICT Lab<br \/>\n\u96fb\u5b50\u30e1\u30fc\u30eb\u30fb\u30a2\u30c9\u30ec\u30b9: ict-lab@example.com<br \/>\n\u30b3\u30e1\u30f3\u30c8: sun<br \/>\n\u6b21\u306e\u30e6\u30fc\u30b6ID\u3092\u9078\u629e\u3057\u307e\u3057\u305f:<br \/>\n\"ICT Lab (sun) &lt;ict-lab@example.com&gt;\"<br \/>\n\u540d\u524d(N)\u3001\u30b3\u30e1\u30f3\u30c8(C)\u3001\u96fb\u5b50\u30e1\u30fc\u30eb(E)\u306e\u5909\u66f4\u3001\u307e\u305f\u306fOK(O)\u304b\u7d42\u4e86(Q)? O<br \/>\n\u79d8\u5bc6\u9375\u3092\u4fdd\u8b77\u3059\u308b\u305f\u3081\u306b\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u304c\u3044\u308a\u307e\u3059\u3002<br \/>\n\u305f\u304f\u3055\u3093\u306e\u30e9\u30f3\u30c0\u30e0\u30fb\u30d0\u30a4\u30c8\u306e\u751f\u6210\u304c\u5fc5\u8981\u3067\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u6253\u3064\u3001\u30de\u30a6\u30b9\u3092\u52d5\u304b\u3059\u3001<br \/>\n\u30c7\u30a3\u30b9\u30af\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306a\u3069\u306e\u4ed6\u306e\u64cd\u4f5c\u3092\u7d20\u6570\u751f\u6210\u306e\u9593\u306b\u884c\u3046\u3053\u3068\u3067\u3001\u4e71\u6570\u751f\u6210\u5668\u306b<br \/>\n\u5341\u5206\u306a\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u3092\u4f9b\u7d66\u3059\u308b\u6a5f\u4f1a\u3092\u4e0e\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u305f\u304f\u3055\u3093\u306e\u30e9\u30f3\u30c0\u30e0\u30fb\u30d0\u30a4\u30c8\u306e\u751f\u6210\u304c\u5fc5\u8981\u3067\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u6253\u3064\u3001\u30de\u30a6\u30b9\u3092\u52d5\u304b\u3059\u3001<br \/>\n\u30c7\u30a3\u30b9\u30af\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306a\u3069\u306e\u4ed6\u306e\u64cd\u4f5c\u3092\u7d20\u6570\u751f\u6210\u306e\u9593\u306b\u884c\u3046\u3053\u3068\u3067\u3001\u4e71\u6570\u751f\u6210\u5668\u306b<br \/>\n\u5341\u5206\u306a\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u3092\u4f9b\u7d66\u3059\u308b\u6a5f\u4f1a\u3092\u4e0e\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\ngpg: \u9375CBCA1C1B\u3092\u7d76\u5bfe\u7684\u306b\u4fe1\u7528\u3059\u308b\u3088\u3046\u8a18\u9332\u3057\u307e\u3057\u305f<br \/>\n\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u4f5c\u6210\u3057\u3001\u7f72\u540d\u3057\u307e\u3057\u305f\u3002<br \/>\ngpg: \u4fe1\u7528\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u691c\u67fb<br \/>\ngpg: \u300c\u307e\u3041\u307e\u3041\u306e\u4fe1\u7528\u300d3\u3001\u300c\u5168\u9762\u7684\u4fe1\u7528\u300d1\u3001PGP\u4fe1\u7528\u30e2\u30c7\u30eb<br \/>\ngpg: \u6df1\u3055: 0 \u6709\u52b9\u6027: 1 \u7f72\u540d: 0 \u4fe1\u7528: 0-, 0q, 0n, 0m, 0f, 1u<br \/>\npub 4096R\/CBCA1C1B 2015-03-29<br \/>\n\u30d5\u30a3\u30f3\u30ac\u30fc\u30fb\u30d7\u30ea\u30f3\u30c8 = 1664 73E7 8E9F AA22 9601 E5BE B136 0589 CBCA 1C1B<br \/>\nuid [ \u7a76\u6975 ] ICT Lab (sun) &lt;ict-lab@example.com&gt;<br \/>\nsub 4096R\/CC14E3F8 2015-03-29<br \/>\n============================================================<\/p>\n<h2>\u5931\u52b9\u8a3c\u660e\u66f8\u306e\u4f5c\u6210<\/h2>\n<p>\"gpg --gen-revoke\"\u30b3\u30de\u30f3\u30c9\u3067\u3001\u79d8\u5bc6\u9375\u304c\u76d7\u307e\u308c\u3066\u9375\u3092\u5931\u52b9\u3059\u308b\u5fc5\u8981\u304c\u767a\u751f\u3057\u305f\u6642\u306e\u305f\u3081\u306b\u3001\u5931\u52b9\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\uff1c\u5b9f\u884c\u4f8b\uff1e<br \/>\n============================================================<br \/>\nD:\\&gt;gpg --output revoke_ict-lab.asc --gen-revoke ict-lab@example.com<br \/>\nsec 4096R\/CBCA1C1B 2015-03-29 ICT Lab (sun) &lt;ict-lab@example.com&gt;<br \/>\n\u3053\u306e\u9375\u306b\u305f\u3044\u3059\u308b\u5931\u52b9\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3057\u307e\u3059\u304b? (y\/N) y<br \/>\n\u5931\u52b9\u306e\u7406\u7531\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044:<br \/>\n0 = \u7406\u7531\u306f\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093<br \/>\n1 = \u9375(\u306e\u4fe1\u983c\u6027)\u304c\u640d\u306a\u308f\u308c\u3066\u3044\u307e\u3059<br \/>\n2 = \u9375\u304c\u3068\u308a\u304b\u308f\u3063\u3066\u3044\u307e\u3059<br \/>\n3 = \u9375\u306f\u3082\u306f\u3084\u4f7f\u308f\u308c\u3066\u3044\u307e\u305b\u3093<br \/>\nQ = \u30ad\u30e3\u30f3\u30bb\u30eb<br \/>\n(\u3053\u3053\u3067\u306f\u305f\u3076\u30931\u3092\u9078\u3073\u305f\u3044\u3067\u3057\u3087\u3046)<br \/>\n\u3042\u306a\u305f\u306e\u6c7a\u5b9a\u306f? 1<br \/>\n\u4e88\u5099\u306e\u8aac\u660e\u3092\u5165\u529b\u3002\u7a7a\u884c\u3067\u7d42\u4e86:<br \/>\n&gt;<br \/>\n\u5931\u52b9\u7406\u7531: \u9375(\u306e\u4fe1\u983c\u6027)\u304c\u640d\u306a\u308f\u308c\u3066\u3044\u307e\u3059<br \/>\n(\u8aac\u660e\u306f\u3042\u308a\u307e\u305b\u3093)<br \/>\n\u3088\u308d\u3057\u3044\u3067\u3059\u304b? (y\/N) y<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 CBCA1C1B\u4f5c\u6210\u65e5\u4ed8\u306f2015-03-29<br \/>\nASCII\u5916\u88c5\u51fa\u529b\u3092\u5f37\u5236\u3057\u307e\u3059\u3002<br \/>\n\u5931\u52b9\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<br \/>\n\u307f\u3064\u304b\u3089\u306a\u3044\u3088\u3046\u306b\u96a0\u305b\u308b\u3088\u3046\u306a\u5a92\u4f53\u306b\u79fb\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057_\u60aa\u8005_\u304c\u3053\u306e\u8a3c\u660e\u66f8\u3078\u306e<br \/>\n\u30a2\u30af\u30bb\u30b9\u3092\u5f97\u308b\u3068\u3001\u3042\u306a\u305f\u306e\u9375\u3092\u4f7f\u3048\u306a\u304f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u5a92\u4f53\u304c\u8aad\u51fa\u3057\u4e0d\u80fd\u306b\u306a\u3063\u305f\u5834\u5408\u306b\u5099\u3048\u3066\u3001\u3053\u306e\u8a3c\u660e\u66f8\u3092\u5370\u5237\u3057\u3066\u4fdd\u7ba1\u3059\u308b\u306e\u304c\u8ce2\u660e\u3067\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002\u3042\u306a\u305f\u306e\u30de\u30b7\u30f3\u306e\u5370\u5b57\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u4ed6\u306e\u4eba\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b<br \/>\n\u5834\u6240\u306b\u30c7\u30fc\u30bf\u3092\u304a\u304f\u3053\u3068\u304c\u3042\u308a\u307e\u3059!<br \/>\n============================================================<\/p>\n<h2>\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u306e\u78ba\u8a8d\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff09<\/h2>\n<p>\u4f5c\u6210\u3057\u305f\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n\u516c\u958b\u9375\u78ba\u8a8d\u7528\u30b3\u30de\u30f3\u30c9\uff1agpg --list-keys<br \/>\n\u79d8\u5bc6\u9375\u78ba\u8a8d\u7528\u30b3\u30de\u30f3\u30c9\uff1agpg --list-secret-keys<br \/>\n\uff1c\u5b9f\u884c\u4f8b\uff1e<br \/>\n============================================================<br \/>\nD:\\&gt;gpg --list-keys<br \/>\nC:\/Users\/mobadm001\/AppData\/Roaming\/gnupg\/pubring.gpg<br \/>\n----------------------------------------------------<br \/>\npub 4096R\/CBCA1C1B 2015-03-29<br \/>\nuid [ \u7a76\u6975 ] ICT Lab (sun) &lt;ict-lab@example.com&gt;<br \/>\nsub 4096R\/CC14E3F8 2015-03-29<br \/>\nD:\\&gt;gpg --list-secret-keys<br \/>\nC:\/Users\/mobadm001\/AppData\/Roaming\/gnupg\/secring.gpg<br \/>\n----------------------------------------------------<br \/>\nsec 4096R\/CBCA1C1B 2015-03-29<br \/>\nuid ICT Lab (sun) &lt;ict-lab@example.com&gt;<br \/>\nssb 4096R\/CC14E3F8 2015-03-29<br \/>\n============================================================<\/p>\n<h2>\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u306e\u78ba\u8a8d\uff08Windows\uff1aKleopatra\uff09<\/h2>\n<p>Windows\u306e\u5834\u5408\u3001Kleopatra\u3092\u8d77\u52d5\u3059\u308c\u3070\u9375\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2019\/06\/2015-301-002_kleopatra_show_keys_001.png\" alt=\"\" width=\"856\" height=\"282\" class=\"alignnone size-full wp-image-2174\" srcset=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2019\/06\/2015-301-002_kleopatra_show_keys_001.png 856w, https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2019\/06\/2015-301-002_kleopatra_show_keys_001-300x99.png 300w, https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2019\/06\/2015-301-002_kleopatra_show_keys_001-768x253.png 768w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/p>\n<h2>\u8a8d\u8a3c\u7528\u306e\u30b5\u30d6\u30ad\u30fc\u306e\u751f\u6210<\/h2>\n<p>\u3053\u306e\u5f8c\u3001\u9375\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u5f97\u3057\u307e\u3059\u306e\u3067\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u524d\u306b\u5fc5\u8981\u3068\u306a\u308b\u9375\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\"gpg --expert --edit-key\"\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u8a8d\u8a3c\u7528\u306e\u30b5\u30d6\u30ad\u30fc\u3092\u751f\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\uff1c\u5b9f\u884c\u4f8b\uff1e<br \/>\n============================================================<br \/>\nD:\\gpg&gt;gpg --expert --edit-key ict-lab@example.com<br \/>\ngpg (GnuPG) 2.0.27; Copyright (C) 2015 Free Software Foundation, Inc.<br \/>\nThis is free software: you are free to change and redistribute it.<br \/>\nThere is NO WARRANTY, to the extent permitted by law.<br \/>\n\u79d8\u5bc6\u9375\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<br \/>\npub 4096R\/CBCA1C1B \u4f5c\u6210: 2015-03-29 \u6709\u52b9\u671f\u9650: \u7121\u671f\u9650 \u5229\u7528\u6cd5: SC<br \/>\n\u4fe1\u7528: \u7a76\u6975 \u6709\u52b9\u6027: \u7a76\u6975<br \/>\nsub 4096R\/CC14E3F8 \u4f5c\u6210: 2015-03-29 \u6709\u52b9\u671f\u9650: \u7121\u671f\u9650 \u5229\u7528\u6cd5: E<br \/>\n[ \u7a76\u6975 ] (1). ICT Lab (sun) &lt;ict-lab@example.com&gt;<br \/>\ngpg&gt; addkey<br \/>\n\u9375\u306f\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u3059\u3002<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 CBCA1C1B\u4f5c\u6210\u65e5\u4ed8\u306f2015-03-29<br \/>\n\u3054\u5e0c\u671b\u306e\u9375\u306e\u7a2e\u985e\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044:<br \/>\n(3) DSA (\u7f72\u540d\u306e\u307f)<br \/>\n(4) RSA (\u7f72\u540d\u306e\u307f)<br \/>\n(5) Elgamal (\u6697\u53f7\u5316\u306e\u307f)<br \/>\n(6) RSA (\u6697\u53f7\u5316\u306e\u307f)<br \/>\n(7) DSA (\u7279\u6027\u3092\u3042\u306a\u305f\u81ea\u8eab\u3067\u8a2d\u5b9a)<br \/>\n(8) RSA (\u7279\u6027\u3092\u3042\u306a\u305f\u81ea\u8eab\u3067\u8a2d\u5b9a)<br \/>\n\u3042\u306a\u305f\u306e\u9078\u629e\u306f? 8<br \/>\n\u9375RSA\u306b\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Sign Encrypt Authenticate<br \/>\n\u73fe\u5728\u306e\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Sign Encrypt<br \/>\n(S) \u7f72\u540d\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(E) \u6697\u53f7\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(A) \u8a8d\u8a3c\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(Q) \u5b8c\u4e86<br \/>\n\u3042\u306a\u305f\u306e\u9078\u629e\u306f? A<br \/>\n\u9375RSA\u306b\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Sign Encrypt Authenticate<br \/>\n\u73fe\u5728\u306e\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Sign Encrypt Authenticate<br \/>\n(S) \u7f72\u540d\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(E) \u6697\u53f7\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(A) \u8a8d\u8a3c\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(Q) \u5b8c\u4e86<br \/>\n\u3042\u306a\u305f\u306e\u9078\u629e\u306f? S<br \/>\n\u9375RSA\u306b\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Sign Encrypt Authenticate<br \/>\n\u73fe\u5728\u306e\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Encrypt Authenticate<br \/>\n(S) \u7f72\u540d\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(E) \u6697\u53f7\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(A) \u8a8d\u8a3c\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(Q) \u5b8c\u4e86<br \/>\n\u3042\u306a\u305f\u306e\u9078\u629e\u306f? E<br \/>\n\u9375RSA\u306b\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Sign Encrypt Authenticate<br \/>\n\u73fe\u5728\u306e\u8a8d\u3081\u3089\u308c\u305f\u64cd\u4f5c: Authenticate<br \/>\n(S) \u7f72\u540d\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(E) \u6697\u53f7\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(A) \u8a8d\u8a3c\u7279\u6027\u3092\u53cd\u8ee2\u3059\u308b<br \/>\n(Q) \u5b8c\u4e86<br \/>\n\u3042\u306a\u305f\u306e\u9078\u629e\u306f? Q<br \/>\nRSA \u9375\u306f 1024 \u304b\u3089 4096 \u30d3\u30c3\u30c8\u306e\u9577\u3055\u3067\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u9375\u9577\u306f? (2048) 4096<br \/>\n\u8981\u6c42\u3055\u308c\u305f\u9375\u9577\u306f4096\u30d3\u30c3\u30c8<br \/>\n\u9375\u306e\u6709\u52b9\u671f\u9650\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n0 = \u9375\u306f\u7121\u671f\u9650<br \/>\n= \u9375\u306f n \u65e5\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\nw = \u9375\u306f n \u9031\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\nm = \u9375\u306f n \u304b\u6708\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\ny = \u9375\u306f n \u5e74\u9593\u3067\u671f\u9650\u5207\u308c<br \/>\n\u9375\u306e\u6709\u52b9\u671f\u9593\u306f? (0)0<br \/>\n\u9375\u306e\u6709\u52b9\u671f\u9593\u306f? (0)\u306f\u7121\u671f\u9650\u3067\u3059<br \/>\n\u3053\u308c\u3067\u6b63\u3057\u3044\u3067\u3059\u304b? (y\/N) y<br \/>\n\u672c\u5f53\u306b\u4f5c\u6210\u3057\u307e\u3059\u304b? (y\/N) y<br \/>\n\u305f\u304f\u3055\u3093\u306e\u30e9\u30f3\u30c0\u30e0\u30fb\u30d0\u30a4\u30c8\u306e\u751f\u6210\u304c\u5fc5\u8981\u3067\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u3092\u6253\u3064\u3001\u30de\u30a6\u30b9\u3092\u52d5\u304b\u3059\u3001<br \/>\n\u30c7\u30a3\u30b9\u30af\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306a\u3069\u306e\u4ed6\u306e\u64cd\u4f5c\u3092\u7d20\u6570\u751f\u6210\u306e\u9593\u306b\u884c\u3046\u3053\u3068\u3067\u3001\u4e71\u6570\u751f\u6210\u5668\u306b<br \/>\n\u5341\u5206\u306a\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc\u3092\u4f9b\u7d66\u3059\u308b\u6a5f\u4f1a\u3092\u4e0e\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\npub 4096R\/CBCA1C1B \u4f5c\u6210: 2015-03-29 \u6709\u52b9\u671f\u9650: \u7121\u671f\u9650 \u5229\u7528\u6cd5: SC<br \/>\n\u4fe1\u7528: \u7a76\u6975 \u6709\u52b9\u6027: \u7a76\u6975<br \/>\nsub 4096R\/CC14E3F8 \u4f5c\u6210: 2015-03-29 \u6709\u52b9\u671f\u9650: \u7121\u671f\u9650 \u5229\u7528\u6cd5: E<br \/>\nsub 4096R\/AC40F6E7 \u4f5c\u6210: 2015-03-29 \u6709\u52b9\u671f\u9650: \u7121\u671f\u9650 \u5229\u7528\u6cd5: A<br \/>\n[ \u7a76\u6975 ] (1). ICT Lab (sun) &lt;ict-lab@example.com&gt;<br \/>\ngpg&gt; save<br \/>\n============================================================<\/p>\n<h2>\u79d8\u5bc6\u9375\u3068\u516c\u958b\u9375\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u53d6\u5f97<\/h2>\n<p>\u79d8\u5bc6\u9375\u3068\u516c\u958b\u9375\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\n\u79d8\u5bc6\u9375\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff1agpg --export-secret-keys --armor<br \/>\n\u516c\u958b\u9375\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\uff1agpg --export --armor<br \/>\n\uff1c\u5b9f\u884c\u4f8b\uff1e<br \/>\n============================================================<br \/>\nD:\\gpg&gt;gpg --export-secret-keys --armor ict-lab@example.com &gt; secret-keys.backup<br \/>\nD:\\gpg&gt;gpg --export --armor ict-lab@example.com &gt; public-keys.backup<br \/>\n============================================================<\/p>\n<h2>\u516c\u958b\u9375\uff0f\u79d8\u5bc6\u9375\uff0f\u5931\u52b9\u8a3c\u660e\u66f8\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/h2>\n<p>\u516c\u958b\u9375\u3001\u79d8\u5bc6\u9375\u3001\u5931\u52b9\u8a3c\u660e\u66f8\u3092CD-R\u3042\u308b\u3044\u306fDVD-R\u306b\u53d6\u5f97\u3057\u3066\u3001\u5b89\u5168\u306a\u5834\u6240\u306b\u4fdd\u7ba1\u3057\u307e\u3059\u3002\u5408\u308f\u305b\u3066\u3001GnuPG(GPG)\u306e\u5b9f\u884c\u74b0\u5883\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3082\u53d6\u5f97\u3057\u3066\u304a\u304f\u3068\u3001\u305f\u3060\u3061\u306b\u5b9f\u884c\u74b0\u5883\u3092\u5143\u306b\u623b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u203b\u6b21\u56de\u306e\u3001\u300c<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>\u300d\u3092\u7d9a\u3051\u3066\u5b9f\u65bd\u3059\u308b\u5834\u5408\u306f\u3001\u6b21\u56de\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u5f97\u3057\u307e\u3059\u306e\u3067\u3001\u307e\u3060\u5b9f\u884c\u3057\u306a\u304f\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\uff1c\u53c2\u8003\uff1aGnuPG(GPG)\u306e\u5b9f\u884c\u74b0\u5883\uff1e<br \/>\nLinux\u306e\u5834\u5408\u3000\uff1a~\/.gnupg<br \/>\nWindows\u306e\u5834\u5408\uff1aC:\\Users\\&lt;\u30e6\u30fc\u30b6\u540d&gt;\\AppData\\Roaming\\gnupg<\/p>\n<h2>\u5931\u52b9\u8a3c\u660e\u66f8\u306e\u524a\u9664\u3068\u66f8\u9762\u3067\u306e\u4fdd\u7ba1<\/h2>\n<p>\u5931\u52b9\u8a3c\u660e\u66f8\u3092\u524a\u9664\u3057\u307e\u3059\u3002Windows\u3067\u3042\u308c\u3070\u3001\"cipher \/w\"\u30b3\u30de\u30f3\u30c9\u3001Linux\u3067\u3042\u308c\u3070\"shred\"\u30b3\u30de\u30f3\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u5b8c\u5168\u306b\u6d88\u53bb\u3057\u307e\u3059\u3002\u30e1\u30c7\u30a3\u30a2\u304c\u8aad\u307f\u51fa\u305b\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306e\u5bfe\u5fdc\u3068\u3057\u3066\u3001\u66f8\u9762\u3067\u3082\u5370\u5237\u3057\u3066\u5b89\u5168\u306a\u5834\u6240\u306b\u4fdd\u7ba1\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h2>\u88dc\u8db3\uff08\u9375\u306e\u7834\u68c4\u304a\u3088\u3073\u524a\u9664\u65b9\u6cd5\uff09<\/h2>\n<p>\u9375\u306e\u7834\u68c4\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff1agpg --import &lt;\u5931\u52b9\u8a3c\u660e\u66f8\u30d5\u30a1\u30a4\u30eb\u540d&gt;<br \/>\n\u516c\u958b\u9375\u30b5\u30fc\u30d0\u4e0a\u306e\u9375\u306e\u7834\u68c4\uff1agpg --keyserver &lt;\u516c\u958b\u9375\u30b5\u30fc\u30d0\u540d&gt; --send-keys &lt;\u7834\u68c4\u3057\u305f\u9375ID\u3084\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u7b49\u306e\u9375\u306e\u8b58\u5225\u60c5\u5831&gt;<br \/>\n\u516c\u958b\u9375\u306e\u524a\u9664\u3000\u3000\u3000\u3000\u3000\u3000\uff1agpg --delete-keys &lt;\u9375ID\u3084\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u7b49\u306e\u9375\u306e\u8b58\u5225\u60c5\u5831&gt;<br \/>\n\u79d8\u5bc6\u9375\u306e\u524a\u9664\u3000\u3000\u3000\u3000\u3000\u3000\uff1agpg --delete-secret-keys &lt;\u9375ID\u3084\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u7b49\u306e\u9375\u306e\u8b58\u5225\u60c5\u5831&gt;<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u306f\u3001\u4e8b\u524d\u306b\u9375\u4f5c\u6210\u306e\u305f\u3081\u306e\u60c5\u5831\u3092\u6c7a\u3081\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\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>GnuPG(GPG)\u3092\u4f7f\u7528\u3057\u3066\u3001\u6697\u53f7\u5316\u3068\u96fb\u5b50\u7f72\u540d\u3092\u884c\u3046\u305f\u3081\u306e\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u6700\u5927\u9650\u8003\u616e\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u9375\u306e\u751f\u6210\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u306a\u3044\u9375\u751f\u6210\u5c02\u7528\u306e\u30d1\u30bd\u30b3\u30f3\u4e0a\u306bGpg4win\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u306e\u751f\u6210\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,410,411,412],"class_list":["post-1270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gnupg","tag-gpg","tag-gpg4win","tag-411","tag-412"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1270","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=1270"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1270\/revisions"}],"predecessor-version":[{"id":12237,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/1270\/revisions\/12237"}],"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=1270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=1270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=1270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}