[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    ssh-add like behavior with gpg?
From:       Cameron Elliott <cameron () cameronelliott ! com>
Date:       2019-09-26 6:53:32
Message-ID: CAMyc9bV73VX7FwfgPCXKmd6+khiNzttAVMZ0O48_SuEz0JaCyQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Please CC me directly on the response.

Okay, I am new, but I have read the FAQ and looked at the archive, but
can't figure this out.
I am using gpg 2.2.4


I am trying to use Apache sops, and I have a little experience with 'pass'
and gpg 2 now.

My issue is this:
if I run
$ sops -d file.yml

And my pass phrase is not in the cache, the sops command will fail, which
is okay, and understandable.

There are two ways I know how to get the pass phrase into the cache:
1. pass abcd
or
2. gpg -s >/dev/null dummy_file

Both those cases will prompt for the passphrase and cache it for a while.

But isn't there a more intuitive command to prompt for my pass phrase and
cache it for a while?

Something like 'ssh-add', where I just get asked for my pass phrase and it
gets cached?

Thanks in advance for any ideas.


Cameron

[Attachment #5 (text/html)]

<div dir="ltr"><div>Please CC me directly on the \
response.</div><div><br></div><div>Okay, I am new, but I have read the FAQ and looked \
at the archive, but can&#39;t figure this out.</div><div>I am using gpg \
2.2.4</div><div><br></div><div><br></div><div>I am trying to use Apache sops, and I \
have a little experience  with &#39;pass&#39; and gpg 2 \
now.</div><div><br></div><div>My issue is this:</div><div>if I run</div><div>$ sops \
-d file.yml</div><div><br></div><div>And my pass phrase is not in the cache, the sops \
command will fail, which is okay, and understandable.</div><div><br></div><div>There \
are two ways I know how to get the pass phrase into the cache:</div><div>1. pass \
abcd</div><div>or</div><div>2. gpg -s &gt;/dev/null \
dummy_file</div><div><br></div><div>Both those cases will prompt for the passphrase \
and cache it for a while.</div><div><br></div><div>But isn&#39;t there a more \
intuitive command to prompt for my pass phrase and cache it for a \
while?</div><div><br></div><div>Something like &#39;ssh-add&#39;, where I just get \
asked for my pass phrase and it gets cached?</div><div><br></div><div>Thanks in \
advance for any ideas.</div><div><br></div><br clear="all"><div><div dir="ltr" \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><div \
dir="ltr"><div style="font-size:12.8px"><span \
style="font-size:12.8px">Cameron</span><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>




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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic