- 修改元数据
修改元数据
现在私钥已经被移动到 Yubikey 当中了,也是时候做一些基本的设置了。比如改变默认的管理员 PIN(GPG 中叫做 Admin PIN)和访问私钥时需要的普通 PIN。
❯ gpg --card-editgpg/card> adminAdmin commands are allowedgpg/card> passwdgpg: OpenPGP card no. … detected1 - change PIN2 - unblock PIN3 - change Admin PIN4 - set the Reset CodeQ - quitYour selection? 3PIN changed.1 - change PIN2 - unblock PIN3 - change Admin PIN4 - set the Reset CodeQ - quitYour selection? 1PIN changed.gpg/card> qgpg/card> loginfoobargpg/card> sexmgpg/card> nameCardholder\'s surname: BarCardholder\'s given name: Foogpg/card> langLanguage preferences: engpg/card> loginLogin data (account name): foobargpg/card> listgpg/card> quit
