在计算机-a生成密钥,并将其链接到电子邮件[电子邮件保护],使用命令
gpg --gen-key
然后使用命令导出
gpg --export -a --output public.asc [email protected]
文件已传输至计算机-b使用命令
scp public.asc root@computer-b:/root
在计算机-b导入密钥时出现问题(导入被跳过):
# gpg --import public.asc
gpg: key 92310EFCC934E2FB was created 133 seconds in the future (time warp or clock problem)
gpg: key 92310EFCC934E2FB was created 133 seconds in the future (time warp or clock problem)
gpg: key 92310EFCC934E2FB was created 133 seconds in the future (time warp or clock problem)
gpg: key 92310EFCC934E2FB was created 133 seconds in the future (time warp or clock problem)
gpg: key 92310EFCC934E2FB: new key but contains no user ID - skipped
gpg: Total number processed: 1
gpg: w/o user IDs: 1
显然用户身份(IE[电子邮件保护]) 是预期的,但我不知道如何提供它。
我是 gpg 新手,我在网上搜索过,没有找到类似的问题。也许原因太明显了?
谢谢你的帮助。