I'm trying to quietly import a PKCS#12 object with an empty passphrase with gpgsm, but it produces quite a bit of noise on stderr, despite my providing the --quiet option:
$ gpgsm --pinentry-mode=loopback --passphrase-fd 4 4<<<'' --homedir=$(mktemp -d) --batch --quiet --import <test.p12 gpgsm: 992 bytes of 3DES encrypted text gpgsm: processing certBag gpgsm: issuer certificate (#/CN=Sample LAMPS Certificate Authority) not found gpgsm: 872 bytes of 3DES encrypted text gpgsm: processing certBag gpgsm: 1224 bytes of 3DES encrypted text gpgsm: DBG: keygrip= D3 E5 44 6E 1D 01 22 86 F3 97 4B F4 BB CD 56 19 4A 2B E5 FC $
--quiet is apparently not doing the job it is supposed to do here.
I've attached the test.p12 file i'm working with if anyone wants to try to replicate.