IronCoreLabs/ironhide

Confirmation message on encrypt/decrypt uses the wrong filename

zmre opened this issue · 1 comments

zmre commented

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

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