linux:gnupg

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:gnupg [2024/04/14 11:08] – [公開鍵が作成されている事を確認] ともやんlinux:gnupg [2024/04/14 11:20] (現在) – [環境初期化] ともやん
行 129: 行 129:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --list-secret-keys+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--list-secret-keys</font>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
行 136: 行 136:
 sec   ed25519 2022-09-21 [SC] sec   ed25519 2022-09-21 [SC]
       1B17304715C521A86114C9BC505637156AB1EBE8       1B17304715C521A86114C9BC505637156AB1EBE8
-uid            究極  ] TomoYan (TomoYan's GPG Key ED25519) <tomoyan596@gmail.com>+uid            究極  ] TomoYan (TomoYan&apos;s GPG Key ED25519) &lt;tomoyan@tomoyan.net&gt;
 ssb   cv25519 2022-09-21 [E] ssb   cv25519 2022-09-21 [E]
  
行 146: 行 146:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --export -a 1B17304715C521A86114C9BC505637156AB1EBE8 | tee  ~/RPM-GPG-KEY-tomoyan-36+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--export</font> <font color="#A347BA">-a</font> 1B17304715C521A86114C9BC505637156AB1EBE8 <font color="#12488B"><b>|</b></font> <font color="#26A269">tee</font>  ~/RPM-GPG-KEY-tomoyan-39
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
行 170: 行 170:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --export-secret-keys --armor | tee gpg-private-keys.backup+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--export-secret-keys</font> <font color="#A347BA">--armor</font> <font color="#12488B"><b>|</b></font> <font color="#26A269">tee</font> gpg-private-keys.backup
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
-パスフレーズ: <b class=HIY><- パスフレーズを入力</b>+パスフレーズ: <b class=HIY>&lt;- パスフレーズを入力</b>
 -----BEGIN PGP PRIVATE KEY BLOCK----- -----BEGIN PGP PRIVATE KEY BLOCK-----
  
行 198: 行 198:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --export --armor | tee gpg-public-keys.backup+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--export</font> <font color="#A347BA">--armor</font> <font color="#12488B"><b>|</b></font> <font color="#26A269">tee</font> gpg-public-keys.backup
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result_long><html><pre> <WRAP color_result_long><html><pre>
行 438: 行 438:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --import gpg-private-keys.backup +<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--import</font> gpg-private-keys.backup 
-<b class=GRN>$</b> gpg2 --import gpg-public-keys.backup+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--import</font> gpg-public-keys.backup
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 457: 行 457:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --list-secret-keys+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--list-secret-keys</font>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
行 464: 行 464:
 sec   ed25519 2022-09-21 [SC] sec   ed25519 2022-09-21 [SC]
       1B17304715C521A86114C9BC505637156AB1EBE8       1B17304715C521A86114C9BC505637156AB1EBE8
-uid            究極  ] TomoYan (TomoYan's GPG Key ED25519) <tomoyan596@gmail.com>+uid            究極  ] TomoYan (TomoYan's GPG Key ED25519) &lt;tomoyan596@gmail.com&gt;
 ssb   cv25519 2022-09-21 [E] ssb   cv25519 2022-09-21 [E]
  
行 473: 行 473:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --delete-secret-keys 1B17304715C521A86114C9BC505637156AB1EBE8+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--delete-secret-keys</font> 1B17304715C521A86114C9BC505637156AB1EBE8
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
-gpg (GnuPG) 2.3.7; Copyright (C) 2021 Free Software Foundation, Inc.+gpg (GnuPG) 2.4.4; Copyright (C) 2024 g10 Code GmbH
 This is free software: you are free to change and redistribute it. This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law. There is NO WARRANTY, to the extent permitted by law.
  
  
-sec  ed25519/505637156AB1EBE8 2022-09-21 TomoYan (TomoYan's GPG Key ED25519) <tomoyan596@gmail.com>+sec  ed25519/505637156AB1EBE8 2022-09-21 TomoYan (TomoYan's GPG Key ED25519) &lt;tomoyan596@gmail.com&gt;
  
-この鍵を鍵リングから削除しますか? (y/N) y <b class=HIY><- 入力</b> +この鍵を鍵リングから削除しますか? (y/N) y <b class=HIY>&lt;- 入力</b> 
-これは秘密鍵です! 本当に削除しますか? (y/N) y <b class=HIY><- 入力</b>+これは秘密鍵です! 本当に削除しますか? (y/N) y <b class=HIY>&lt;- 入力</b>
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 491: 行 491:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --list-keys+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--list-keys</font>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
行 498: 行 498:
 pub   ed25519 2022-09-21 [SC] pub   ed25519 2022-09-21 [SC]
       1B17304715C521A86114C9BC505637156AB1EBE8       1B17304715C521A86114C9BC505637156AB1EBE8
-uid            究極  ] TomoYan (TomoYan's GPG Key ED25519) <tomoyan596@gmail.com>+uid            究極  ] TomoYan (TomoYan's GPG Key ED25519) &lt;tomoyan596@gmail.com&gt;
 sub   cv25519 2022-09-21 [E] sub   cv25519 2022-09-21 [E]
  
行 507: 行 507:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> gpg2 --delete-keys 1B17304715C521A86114C9BC505637156AB1EBE8+<font color="#FF8700"><b>$</b></font> <font color="#26A269">gpg2</font> <font color="#A347BA">--delete-keys</font> 1B17304715C521A86114C9BC505637156AB1EBE8
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
-gpg (GnuPG) 2.3.7; Copyright (C) 2021 Free Software Foundation, Inc.+gpg (GnuPG) 2.4.4; Copyright (C) 2024 g10 Code GmbH
 This is free software: you are free to change and redistribute it. This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law. There is NO WARRANTY, to the extent permitted by law.
  
  
-pub  ed25519/505637156AB1EBE8 2022-09-21 TomoYan (TomoYan's GPG Key ED25519) <tomoyan596@gmail.com>+pub  ed25519/505637156AB1EBE8 2022-09-21 TomoYan (TomoYan's GPG Key ED25519) &lt;tomoyan596@gmail.com&gt;
  
-この鍵を鍵リングから削除しますか? (y/N) y <b class=HIY><- 入力</b>+この鍵を鍵リングから削除しますか? (y/N) y <b class=HIY>&lt;- 入力</b>
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 526: 行 526:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<b class=GRN>$</b> rm -r ~/.gnupg +<font color="#FF8700"><b>$</b></font> <font color="#26A269">rm</font> <font color="#A347BA">-r</font> <u style="text-decoration-style:single">~/.gnupg</u>
-</pre></html></WRAP> +
-<WRAP color_result><html><pre>+
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
  • linux/gnupg.1713060500.txt.gz
  • 最終更新: 2024/04/14 11:08
  • by ともやん