ubuntu - GPG : ify: skipped: public key not found when I made the encryption myself

标签 ubuntu encryption terminal gnupg

我现在正在尝试使用私钥和公钥设置自己的加密。我正在关注本教程:

http://wooledge.org/~greg/crypto/node41.html

当我尝试使用时

gpg -verify message.asc,

它说

gpg: ify: skipped: public key not found gpg: message.asc: encryption

failed: public key not found

当我查看我的公钥时,它会显示

MYNAME@ubuntu:~/.gnupg$ gpg --list-keys /home/MYNAME/.gnupg/pubring.gpg ---------------------------------------- pub 2048R/FF713BDB 2016-02-04 uid MY NAME sub 2048R/9168A1D6 2016-02-04

我尝试导入我的公钥,但什么也没得到。我确信这是一个基本问题,但我不知道该怎么办。

最佳答案

找到了答案,教程说

-verify message.asc

它应该在哪里

--verify message.asc

关于ubuntu - GPG : ify: skipped: public key not found when I made the encryption myself,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35213905/

相关文章:

Java错误: java -v command throws errors

linux - 在 Ubuntu 16.04 中,如果没有 sudo 用户,则无法运行 Docker 命令

java - 在将类的变量存储在java中之前对其进行加密

javax.crypto.IllegalBlockSizeException :Cipher functions:OPENSSL_internal:WRONG_FINAL_BLOCK_LENGTH

macos - 整个目录上的 YUI 压缩器 - os x

ubuntu - Xming 在 Windows 7 上无法连接

python - django教程: unexpected indent error

java - Java 和 Objective-c 中的 SHA1 输出在循环内变化

ios - 从终端运行用于自动化的 Apple 仪器

Perl qx() 命令未按预期工作