p-sherratt / sagecipher

Uses SSH agent to encrypt/decrypt arbitrary data
Other
11 stars 5 forks source link

tip of "Reading from STDIN..." pollute the stdout result #4

Closed gzm55 closed 3 years ago

gzm55 commented 3 years ago

the tip of "Reading from STDIN..." is written to stdout, which cause the stdout result cannot be decrypted correctly. when write the tip to stderr, the pipeline result can be decrypted:

echo secret | sagecipher encrypt | sagecipher decrypt