Bug 1293076 - alpine mangled email content - breaking pgp signature
Summary: alpine mangled email content - breaking pgp signature
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: alpine
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joshua Daniel Franklin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-19 23:29 UTC by Paul Wouters
Modified: 2016-07-19 18:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 18:36:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul Wouters 2015-12-19 23:29:23 UTC
I sent email containg this text:

* Bugtracker bugs fixed:
   #216 No longer require :RSA entries for X.509 certs in ipsec.secrets [Matt]
   #233 pluto sends delete SAs in wrong order and reconnection issues 

note three spaces follow by # and a three digit number.

this content was inline signed with gpg

pine (not the editor for which I use vim) mangled the 3 spaces to 4 spaces.

The email in my FCC: contains 4 spaces (along with emails received by the recipients.

Comment 1 Eduardo Chappa 2016-01-31 21:28:31 UTC
(In reply to Paul Wouters from comment #0)
> I sent email containg this text:
> 
> * Bugtracker bugs fixed:
>    #216 No longer require :RSA entries for X.509 certs in ipsec.secrets
> [Matt]
>    #233 pluto sends delete SAs in wrong order and reconnection issues 
> 
> note three spaces follow by # and a three digit number.
> 
> this content was inline signed with gpg
> 
> pine (not the editor for which I use vim) mangled the 3 spaces to 4 spaces.

The reason for the extra space is called "space-padding" and it is necessary to add when lines begin with a space. This is because Alpine is sending your message using the  format=flowed format. In order to have Alpine not add the space, you either have to send it without using the format=flowed format, or you have to make PGP sign a space-padded message.

-- 
Eduardo

Comment 2 Fedora End Of Life 2016-07-19 18:36:59 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.