blob: 57bf0fb3987000e8a4e6ec044cb110e07c0acac7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<tt>
<html><br>
<head><br>
<meta content="text/html; charset=ISO-8859-1"<br>
http-equiv="Content-Type"><br>
</head><br>
<body text="#000000" bgcolor="#FFFFFF"><br>
Hello, <br><br>
<br><br>
I do not know your code but could you check that you save (open(..,<br>
'w<b>b</b>')) and load the file (open(..., 'r<b>b</b>')) in the<br>
binary mode instead of text mode without 'b'?<br><br>
<br><br>
Greetings!<br><br>
<br><br>
<div class="moz-cite-prefix">Am 22.01.2014 11:30, schrieb Dave<br>
Pawson:<br><br>
</div><br>
<blockquote<br>
cite="mid:CAEncD4cNyTLicEMuucaJUmaBv-Rx+DgyVnKQ7Fe-pWM0NWxyQA@mail.gmail.com"<br>
type="cite"><br>
<pre wrap="">I want to share an encrypted file across Windows / Linux (say by<br>
saving the file to Dropbox).<br>
<br>
When I encrypt using Linux and decrypt using Windows, the<br>
line ending differences screw up the decryption.<br>
<br>
I think it's a Python issue, but I'm unsure. Has anyone addressed<br>
this please?<br>
<br>
TiA<br>
<br>
</pre><br>
</blockquote><br>
<br><br>
</body><br>
</html><br>
</tt>
|