unix - Encryption of file using gpg failed -
i extracting data .psv files through script. these .psv files have encrypted , sftped antoher server location. extracted psv files not getting encrypted. throwing following error:
gpg: invalid option "--trust-model"
i using following command
gpg -r 'abc@def.com' --encrypt --trust-model $file_name
please help.
thanks.
i've never seen --trust-model always
option myself, think need specify file name last (or @ least following --encrypt
option). so, try this:
gpg -r 'abc@def.com' --trust-model --encrypt $file_name
i have seen, never used --always-trust
option, here's thing can try:
gpg -r 'abc@def.com' --always-trust --encrypt $file_name
i add "trust" every key add ring i'm not familiar either of these options.
Comments
Post a Comment