From mboxrd@z Thu Jan 1 00:00:00 1970 From: gershman@dagertech.net Subject: Re: org-crypt: Secure encrypted message against inadvertent change Date: Sun, 23 Aug 2015 15:32:52 -0700 Message-ID: References: <3216867.MOJ3RImYQA@linux-k2bd.site> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTdoz-0006Tt-Uq for emacs-orgmode@gnu.org; Sun, 23 Aug 2015 18:33:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTdov-0000nE-HE for emacs-orgmode@gnu.org; Sun, 23 Aug 2015 18:33:01 -0400 Received: from dagertech.net ([64.183.98.170]:56561 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTdov-0000ma-Bf for emacs-orgmode@gnu.org; Sun, 23 Aug 2015 18:32:57 -0400 In-Reply-To: <3216867.MOJ3RImYQA@linux-k2bd.site> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: AW , emacs-orgmode@gnu.org If it helps, though aside from the question, all GPG lines (except the la= st 2) are 64 chars(if memory serves). A little scripting and decryption = should be plausible (possible in reasonable time), especially if chars we= re only added and not deleted/changed. On August 23, 2015 2:31:26 PM PDT, AW wro= te: >I'm using org-crypt. All text below a heading with the tag :crypt: >becomes=20 >encrypted with saving the file and looks like this: > >-----BEGIN PGP MESSAGE----- >Version: GnuPG v2 > >hQEOAxn9DjwjX2oYEAQAgLl/58dss1VVgmRb1rGIaNV2I5P+smcDjhWa5/arTMPE >9wjxHUpU/HSflCwnV5609H3J9ZSVubCpaUbV3Da0jnDUJuljFbSqapRym1PW0hFn >ApfLwze3HTj+A3eODf+p3kbDjFnII9Rfn7lWQ/6OmMrisQbvbsWzS3K/crgqu+cD >/j6m3nDURonKGStv5h7sgaSRuLGzqXvHXEnS+d1ad1ZomgTD4abZNvDYt9Y039FE >xYwRphWSBs+vtQ34resZewCa4s7h5SES5j839vQPWI4VyA4uRrfzYATHnHtoxfwA >RQWzUTeS16FFBxnjqqTXGXqH9go25Ovnl1Np9c2H7veH0lQB/hpwGbUJRnYCx5Nd >UlZ/U+aKQJl3aD+ulgOxJhTQNb9ToXxMpwS3FitsZHVh8OaRBLdgjRVFstWw3NhT >RTQ3Og0+ts34iKW+u+2ock/LqiDYFx4=3D >=3D+xma >-----END PGP MESSAGE----- > >I really hope this example will not irritate your email software. > >My notebook has one of those large touchpads and once in a while I hit >it and=20 >go on with typing, but the cursor shifted to text somewhere else and >I'm=20 >adding letters to a completely different paragraph, before I notice and > >correct it. > >Well, this evening I added some letters inadvertently inside a PGP >message,=20 >because the touchpad shifted to cursor to an encrypted paragraph. If I >saved=20 >the file, the encrypted paragraph would have become un-decryptable (I >tested=20 >this: decrypting no longer is possible). > >Unfortunately I won't always realise what happened, e.g. if I don't >watch=20 >while dictating into a speech recognition (Dragon Nat. Speak.). >=20 >And the encrypted parts are not needed often. So the destroyed PGP >message=20 >might make it into my backups and if I try to encrypt it a year >later... > >Why isn't the text between=20 > >-----BEGIN PGP MESSAGE----- > >and > >-----END PGP MESSAGE----- > >read-only as a default ? > >Really, an inadvertent change can destroy valuable information and it i --=20 Sent from my Android device with K-9 Mail. Please excuse my brevity.