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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -