Check for input error in sign/encrypt task
Sign encrypt on an empty input is completly ok so we don't get a job error in that case. But as the input might be a pre processing command like gpgtar the input can fail leading to an empty output. With removeInput set to true there is the possibility of data loss in that case. This fix checks for an inputError string even if the sign / encrypt operation has been successfull. This is mostly a gpg4win / w32 issue in conjunction with gpgtar. See: https://bugs.g10code.com/gnupg/issue1624 for the report on this issue
parent
6b1120c3
Please register or sign in to comment