On Tue, May 26, 2020 at 01:46:36PM -0700, Robert Spigler wrote:
> I tried the command with '--output OutPutFilePath.asc':
> 
> qubes-gpg-client --output /home/user/Documents/Final.asc --encrypt 
> --recipient --trusted-key <C2C60E279E86F10D5697782535CE0FE6C2141823> 
> '/home/user/Documents/Test_Encryption.txt'
> 
> Resulted in the error:
> 
> bash: C2C60E279E86F10D5697782535CE0FE6C2141823: No such file or directory
> 
> Tried again, realizing I mistook formatting:
> 
> qubes-gpg-client --output /home/user/Documents/Final.asc --encrypt 
> --recipient --trusted-key C2C60E279E86F10D5697782535CE0FE6C2141823 
> '/home/user/Documents/Test_Encryption.txt'
> 
> Resulted in the same error I've been getting:
> 
> Only '-' argument supported for --output option
> 
> Tried with just '-o':
> 
> qubes-gpg-client -o /home/user/Documents/Final.asc --encrypt --recipient 
> --trusted-key C2C60E279E86F10D5697782535CE0FE6C2141823 
> '/home/user/Documents/Test_Encryption.txt'
> 
> Results in error:
> 
> qubes-gpg-client: invalid option -- 'o'
> 
> 
> I should probably note that besides encryption not working, the SplitGPG 
> interface doesn't even pop up when qubes-gpg-client is called, like it does 
> for decryption, signing, and verifying.
> Apologizes if I'm doing something stupid.
> 

It's a convention that angle brackets are used to show a parameter to
be substituted. So <key> indicates that you should type the key there.

<> are redirects - When you used the "<" in the first case, it attempted
to INPUT C2C60E279E86F10D5697782535CE0FE6C2141823 to the
qubes-gpg-client command - of course, there is no such file.

I know realise that you are trying to use qubes-gpg-client directly.
Can you try using the wrapper script, as I suggested?

qubes-gpg-client-wrapper -r alice --trusted-key <alice's key id> -e target -o 
target.gpg

See if that works for you.

unman

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200527011136.GA19827%40thirdeyesecurity.org.

Reply via email to