{"id":825,"date":"2015-11-02T13:34:02","date_gmt":"2015-11-02T12:34:02","guid":{"rendered":"http:\/\/www.hauweele.net\/~gawen\/blog\/?p=825"},"modified":"2015-11-02T13:37:40","modified_gmt":"2015-11-02T12:37:40","slug":"data-signing-failed","status":"publish","type":"post","link":"https:\/\/hauweele.net\/~gawen\/blog\/?p=825","title":{"rendered":"Data signing failed"},"content":{"rendered":"<p>I got the following error while trying to send a signed (GPG) e-mail using claws-mail:<\/p>\n<pre>Signature failed: Data signing failed, General error<\/pre>\n<p>Turns out it was a path problem. The GPG agent uses <i>pinentry<\/i> to ask for your private key password. The agent was configured with the absolute path to <code>pinentry-gtk-2<\/code> on Linux. But this happened on FreeBSD and executables are located in <code>\/usr\/local<\/code>, not <code>\/usr<\/code>.<\/p>\n<p>So I changed in <code>~\/.gnupg\/gpg-agent.conf<\/code>:<\/p>\n<pre>\r\n- pinentry-program \/usr\/bin\/pinentry-gtk-2\r\n+ pinentry-program \/usr\/local\/bin\/pinentry-gtk-2\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I got the following error while trying to send a signed (GPG) e-mail using claws-mail: Signature failed: Data signing failed, General error Turns out it was a path problem. The GPG agent uses pinentry to ask for your private key &hellip; <a href=\"https:\/\/hauweele.net\/~gawen\/blog\/?p=825\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[631,634,155,389,633,567,635,569,636,632],"class_list":["post-825","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-claws-mail","tag-data-signing-failed","tag-error","tag-freebsd","tag-general-error","tag-gpg","tag-gpg-agent","tag-pgp","tag-pinentry","tag-signing"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=825"}],"version-history":[{"count":0,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/825\/revisions"}],"wp:attachment":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}