$ gpg --export -a test@example.com > testpublickey.asc $ gpg --export-secret-key -a test@example.com > testsecretkey.asc 如果我们将 的内容嵌入testpublickey.asc到您的代码中并进行编译,它现在可以正常运行...$ go build $ ./gpgtest [] ...虽然它似乎没有产生有用的输出。但那是因为你忽...