IronCoreLabs / ironhide

Tool to easily encrypt and decrypt files to users and groups. Similar to GPG, but usable at scale.
GNU Affero General Public License v3.0
44 stars 6 forks source link

Confirmation message on encrypt/decrypt uses the wrong filename #16

Closed zmre closed 5 years ago

zmre commented 5 years ago

On encrypt, if I specify a filename for output, it works as expected, but the screen message uses the assumed filename instead of the specified one, which is incorrect:

% ironhide file:encrypt -d plaintext.txt -o ciphertext.iron                                   
Encrypted file successfully written to plaintext.txt.iron.
% ls plain*                                                                                              
zsh: no matches found: plain*
% ls cipher*
ciphertext.iron
% ironhide file:decrypt -d ciphertext.iron -o plaintext.txt                                              
File successfully decrypted and written to ciphertext.
% ls cipher*
zsh: no matches found: cipher*
% ls plain*
plaintext.txt
zmre commented 5 years ago

Obviously, the problem is the same on decrypt as on encrypt.