Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-08-16
3
Medium Priority
?
281 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
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 250 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Considering today’s continual security threats, which affect Information technology networks and systems worldwide, it is very important to practice basic security awareness. A normal system user can secure himself or herself by following these simp…
Experts Exchange expands question security options for members.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

916 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