[Vimoutliner] gpg + vimoutliner
Steve Litt
slitt at troubleshooters.com
Fri Jul 25 19:08:33 EDT 2008
That's the most bizarre thing I've ever heard. In other words, gpg decrypts
to a different file than the one that was encrypted. Gpg just isn't supposed
to work that way.
I'd suggest you take the original, copy it somewhere else, encrypt and decrypt
it, and perform a diff. If there's a difference, this is a gpg issue. If
they're the same and you still see this symptom, it's the most bizarre VO
issue I've ever heard of.
SteveT
On Friday 25 July 2008 17:55, Henrik Holst wrote:
> Hi!
>
> When I create a gpg encrypted vimoutliner document the first folding
> does not work as it should.
>
> My document test.otl:
>
> cat > test.otl <<EOF
> BULLITIN BOARDS
> anothertest.com
> user holst
> pass asdf
> mail
>
> : To: holst <holst at matmech.com>
> : Subject: Welcome to "hidden.se"
> : ...
> : --
> : Thanks, The Management
>
> TEST 2
> this-is-a-test.org
> user apa
> mail
>
> : here it works. strange
> : ...
>
> TEST 3
> this-test.net
> mail
>
> : and here, it works as well...
> : ...
>
> vim: set foldmethod=expr foldlevel=1:
> EOF
>
> And encrypt with: gpg -e test.otl
>
> Try and unfold TEST 2 or TEST 3 and save. Then it refolds as it should.
> But not if you unfold the first one. Very strange. As I understand it,
> vim re-reads the file because of the gpg encryption, and therefor also
> re-folds everything.
>
> I would like to be able to save gpg encrypted documents without risking
> to display all my passwords to friends snooping over my sholder. :-)
More information about the VimOutliner
mailing list