Hi
I'm trying to get aespipe to automatic "decrypting" a "--stored" gpgkey
without asking for the nonexisting password. And/Or how i can do this
automatically when the gpgkey actually has a password. And/Or providing
a "plain-text" key existing as a file or not.
It's not as easy as it is with e.g. "mount" or "losetup" because with
aespipe "stdin" is blocked and aespipe doesn't seam to provide a means
to NOT use stdin for providing the data to en-/decrypt.
For the "--store"-gpgkey-case i've helped myself with using an dummy
"-p3" option to specify a nonexisting filehandle.
This actually works, but i don't think this is what i would call a
"clean" solution, i'd call it a workaround.
And it not usable when the key is encrypted or if i wanted to pipe a
plain-text key to aespipe.
Is there a way, other than writing a helper-program or patching aespipe
to accept a "--file"-parameter, to get the data (to en- or decrypt) and
the key over to aespipe?
aespipe -p3 -d < <data> 3< <key>
didn't seam to work for me. :-(
Bis denn
--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/