Re: decrypt aes256 encrypted file without gpg-agent

2020-06-26 Thread vedaal via Gnupg-users



On 6/26/2020 at 4:54 AM, "Fourhundred Thecat" <400the...@gmx.ch> wrote:
>
>Hello,
>
>I have file encrypted with symmetric cipher (aes256) and not 
>signed.
>
>How can I decrypt it without using gpg agent ?
>
>I get these errors:
>
>$ gpg -d file.gpg
>gpg: failed to start gpg agent
>...
>gpg: decryption failed: no secret key

=

Also can't get it without using agent.  
Tried using option of --no-use-agent  and gpg2 says 'obsolete option, has no 
effect'.
The option of --no-default-keyring doesn't help if the home directory is not 
open.

Agent will not start unless home directory is open  ( my home directory is in 
an encrypted container)
Once the home directory is there (when I unencrypted mine), agent starts, and a 
pinentry window opens asking for the symmetric passphrase, 

When I unencrypt the home directory, but not the keyring, 
gpg will still decrypt when using the option of --no-default-keyring

(feature request:  can GPG2 be made to work from only the command-line without 
a pine entry window, and without gpg-agent?)

TIA

vedaal


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Specifying smartcard reader when multiple readers attached

2020-06-26 Thread Jared Vacanti via Gnupg-users
Using gpg (GnuPG) 2.2.19, is there a way to specify a reader when multiple
readers are available? For example:

$ gpg --card-status --reader FEITIAN
gpg: WARNING: "--reader-port" is an obsolete option - it has no effect
except on scdaemon

I seem to only be able to interact with smartcards or the Yubikey 5 NFC
OpenPGP applet when the device is the only one available.

Any feedback would be really appreciated.

Jared
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

decrypt aes256 encrypted file without gpg-agent

2020-06-26 Thread Fourhundred Thecat

Hello,

I have file encrypted with symmetric cipher (aes256) and not signed.

How can I decrypt it without using gpg agent ?

I get these errors:

$ gpg -d file.gpg
gpg: failed to start gpg agent
...
gpg: decryption failed: no secret key

as I said above, there is no secret key involved here. It is symmetric
and not signed.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users