Skip to content

Commit 4d01715

Browse files
committed
fix sanitize warning
1 parent 48769be commit 4d01715

6 files changed

Lines changed: 4 additions & 2 deletions

File tree

clkeys

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ A country name, a common name and an email address are mandatory.
184184

185185
#-----------------------------------------------------------#
186186
def sanitize(data):
187-
forbidden = "\!\"§$%()[]{}=?*+~,<>|\\"
187+
forbidden = "!\"§$%()[]{}=?*+~,<>|\\"
188188
good = ""
189189
for i in range(len(data)) :
190190
if (data[i] not in forbidden) and (ord(data[i]) < 128):

clkeys.sig

0 Bytes
Binary file not shown.

clsmime

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def clean_envelope():
476476

477477
#-----------------------------------------------------------#
478478
def sanitize(data):
479-
forbidden = "\!\"§&$%()[]{}=?*+~,<>|\\"
479+
forbidden = "!\"§&$%()[]{}=?*+~,<>|\\"
480480
good = ""
481481
for i in range(len(data)) :
482482
if (data[i] not in forbidden) and (ord(data[i]) < 128):

clsmime.sig

0 Bytes
Binary file not shown.

man/claes.1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ Without any options claes produces OpenPGP (base64-encoded) encrypted messages u
6464
It can decrypt any messages (ascii or binary) produced by GnuPG with the following ciphers:
6565
AES, AES192, AES256, 3DES and CAST-128.
6666

67+
To mangle the password correctly the option --s2k-digest-algo SHA256 must be used with gpg.
68+
6769
.TP
6870
\fBopenssl\fR
6971

pdf/claes-manual.pdf

151 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)