]> git.notmuchmail.org Git - sup/commit
bugfix: gpg signing failures because when no trailing newlines
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 19 May 2008 21:11:11 +0000 (14:11 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 19 May 2008 21:11:11 +0000 (14:11 -0700)
commit70ab511c171700bc435978eb505d15022ee91084
tree6666edf09e6f92d04c136cdbdf633f49f4b9e3c1
parent692cd5119c0cd2d1455577c3e61eba27a3de89b2
bugfix: gpg signing failures because when no trailing newlines

when :edit_signature was false, and a non-empty signature file was used,
message bodies didn't end in a newline. for some reason GPG produces
signature output that assumes a trailing newline, even if you don't
have one.

so, now we force one if it ain't there.
lib/sup/crypto.rb
lib/sup/modes/edit-message-mode.rb