{"id":905,"date":"2010-02-09T04:43:51","date_gmt":"2010-02-09T12:43:51","guid":{"rendered":"http:\/\/www.curlybrace.com\/words\/?p=905"},"modified":"2010-08-08T13:21:22","modified_gmt":"2010-08-08T20:21:22","slug":"gnupg-not-working-under-cygwin","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2010\/02\/gnupg-not-working-under-cygwin\/","title":{"rendered":"GnuPG Not Working Under Cygwin"},"content":{"rendered":"<p>I was having trouble using the <a href=\"http:\/\/www.vim.org\/scripts\/script.php?script_id=661\">GnuPG plugin for vim<\/a> under Cygwin.  The GnuPG plugin allows seamlessly integrated decryption, editing, and re-encryption of GPG-encrypted content within vim.  However, on my Windows 7 box, it just showed gibberish.  Attempting to edit my encrypted password file resulted in a rather vague error message:<\/p>\n<blockquote>\n<pre class=\"bash\">$ vim Documents\/passwords.gpg\r\n\r\n\"Documents\/passwords.gpg\" [Incomplete last line][converted] 7 lines,\r\n2547 characters\r\nPress ENTER or type command to continue<\/pre>\n<\/blockquote>\n<p>Pressing enter simply resulted in gibberish, likely the raw data of the encrypted file.<\/p>\n<p>The solution was to turn on vim&#8217;s filetype plugin processing:<\/p>\n<blockquote>\n<pre class=\"bash\">:filetype plugin on<\/pre>\n<\/blockquote>\n<p>To make this setting persistent, add it to your <tt>~\/.vimrc<\/tt> file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was having trouble using the GnuPG plugin for vim under Cygwin. The GnuPG plugin allows seamlessly integrated decryption, editing, and re-encryption of GPG-encrypted content within vim. However, on my Windows 7 box, it just showed gibberish. Attempting to edit &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2010\/02\/gnupg-not-working-under-cygwin\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,283],"tags":[],"class_list":["post-905","post","type-post","status-publish","format-standard","hentry","category-technology","category-windows-technology"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=905"}],"version-history":[{"count":11,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/905\/revisions"}],"predecessor-version":[{"id":1238,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/905\/revisions\/1238"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}