Solved

PGP Outlook Express Plug-In Decryption Misses Line-Ends ..

Posted on 2004-08-16
3
278 Views
Last Modified: 2010-04-11
Users of the web site send HTML forms to a secure UNIX based server over HTTPS. The secure server translates the forms into emails and encrypts the emails using PGP before sending them (the emails) to a single PC running XP.

It works fine without the PGP encryption ..

The problem is that with the PGP (layer) enabled the decryption process on the XP machine seems to translate the line-end characters incorrectly. The result is that all input lines of data are appended to form a single output line. The single output line of data appears to contain vertical bars where the line-ends should have occurred.

This is the latest version of Desktop PgP (ie. 8.x) ...  ?

Thanks,

        ChrisColeman.  

   
0
Comment
Question by:ChrisColeman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 125 total points
ID: 11813820
The Unix standard is to end all lines with a newline (\n), while Windows ends all lines with cariage-return newline (\r\n).

Unix automatically adds the cariage-return to emails, but can't reach inside the PGP attachment to add them.

So, the solution is to add the cariage-returns to the HTML file before sending it to PGP (most Unix systems have a program called unix2dos or ux2dos to do this easily).

On the other other hand, since this is HTML, which doesn't require line-breaks, what's the problem?
0
 

Author Comment

by:ChrisColeman
ID: 11814274
 Ok, I guess from your reply that  UNIX is adding a carraige return to the complete PGP message after encryption, rather than adding the carraige returns to each line of input before encryption.

  Your suggestion to add \r\n to each line of the form input may solve the problem, because the \r\n could then be encrypted and decrypted by the Outlook Plug-in ..

   
0
 

Author Comment

by:ChrisColeman
ID: 11840877
Unfortunately adding \r\n to the form fields would not work.

Although I now have a solution, using the decrypt command twice from the OE plugin. On the first decrypt the message is decrypted with UNIX line-ends. On the second decrypt the missing ascii 13 is added and the message flows correctly down the page ..

Thanks.
0

Featured Post

Ready to trade in that old firewall?

Whether you need to trade-up to a shiny new Firebox or just ready to upgrade from whatever appliance you're using now, WatchGuard has the right appliance for you! Find your perfect Firebox today with appliance sizing tool!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
Let's recap what we learned from yesterday's Skyport Systems webinar.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question