Ticket Hash: | e3b54f438ced8e08a49b73698d675d6924033806 | |||
Title: | Channels to and from gpg use "-encoding binary" instead of "-translation binary" | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2016-04-26 11:19:49 | |||
Version Found In: | ||||
User Comments: | ||||
anonymous added on 2016-04-26 10:22:52:
When binary encoding is specified, the channels between Tcl and gpg are fconfigured with "-encoding binary". However, this means that new-line translation still takes place and so binary data containing 0x0d bytes will be corrupted. For binary data, the channels should be fconfigured with "-translation binary". J. sgolovan added on 2016-04-26 11:19:49: Hi! You're right, setting translation to binary when the encoding is binary would be better. I've committed the fix in check-in [0e03edca40]. |