Linux:Pass Store:修订间差异

来自WHY42
Riguz留言 | 贡献
建立內容為「<syntaxhighlight lang="bash"> apt install gnupg2 gpg2 --expert --full-gen-key ls ~/.gnupg/ </syntaxhighlight> * https://www.fpcomplete.com/blog/2016/05/stack-s…」的新頁面
 
Riguz留言 | 贡献
无编辑摘要
 
第4行: 第4行:
ls ~/.gnupg/
ls ~/.gnupg/


gpg2 --list-key
gpg2 --list-secret-key
gpg --edit-key FDAC3DB25DE310266F3B3F7E87E06D3EC09C10BC
# addkey
# sign only
# --delete-keys、--delete-secret-keys --delete-secret-and-public-key
pass init FDAC3DB25DE310266F3B3F7E87E06D3EC09C10BC
pass git init
pass insert kingsoft/oa
pass kingsoft/oa      # 显示密码
pass -c kingsoft/oa # 拷贝到剪切板
</syntaxhighlight>
</syntaxhighlight>




* https://www.fpcomplete.com/blog/2016/05/stack-security-gnupg-keys/
* https://www.fpcomplete.com/blog/2016/05/stack-security-gnupg-keys/
* https://gnupg.org/gph/en/manual.html


[[Category:Linux/Unix]]
[[Category:Linux/Unix]]

2021年11月3日 (三) 11:29的最新版本

apt install gnupg2
gpg2 --expert --full-gen-key
ls ~/.gnupg/

gpg2 --list-key
gpg2 --list-secret-key

gpg --edit-key FDAC3DB25DE310266F3B3F7E87E06D3EC09C10BC
# addkey
# sign only

# --delete-keys、--delete-secret-keys --delete-secret-and-public-key

pass init FDAC3DB25DE310266F3B3F7E87E06D3EC09C10BC
pass git init
pass insert kingsoft/oa
pass kingsoft/oa      # 显示密码
pass -c kingsoft/oa # 拷贝到剪切板