1 |
Matt: |
2 |
> I don't have any thoughts on the pam module, but I make use of some |
3 |
> scripts that rely on pass as well. For my use case I just raised the |
4 |
> TTL setting of gpg-agent to match an eight hour work day or eight hour |
5 |
> evening period and ran with it. Feels fairly natural to "log in" to |
6 |
> the agent once a day at the first use. |
7 |
|
8 |
Doesn't this sort of defeat the purpose of using pass? I mean if it's |
9 |
always decryptable then is it really useful to have it encrypted in the |
10 |
first place (assuming you have full disk encryption set up)? I may be |
11 |
missing something crucial here so please let me know. |
12 |
|
13 |
Grant: |
14 |
> Can you re-architect this as a (pseudo) daemon so that you unlock it |
15 |
> once (or at least a LOT less often) and it stores the necessary |
16 |
> information in memory for subsequent re-use? |
17 |
|
18 |
This seems like the lesser of all evils to me. As I understand, you're |
19 |
suggesting that I lend the email password to the daemon at start and |
20 |
only have that password stored in memory instead of my actual gpg |
21 |
password, is that correct? |
22 |
|
23 |
> Could you re-configure things so that (a copy of) the requisite password |
24 |
> is accessible via a different set of GPG credentials specific to the |
25 |
> process that you're running? Then you could probably have just that set |
26 |
> of GPG credentials unprotected so that the script could use them as it |
27 |
> is today. |
28 |
|
29 |
Again, I may be missing something here, but does having your GPG |
30 |
credentials unprotected offer any real protection? |
31 |
|
32 |
> If neither of these options were possible I'd look into something like a |
33 |
> TPM and / or Yubikey wherein I could offload some of the GPG to it so |
34 |
> that the decryption key is physically tied to the source computer /and/ |
35 |
> *where* *it* *can't* *be* *copied*. |
36 |
|
37 |
I guess this is where I'll eventually be heading towards. |
38 |
|
39 |
By the way, thanks to both of you for your thoughts! |
40 |
|
41 |
-- |
42 |
All the best, |
43 |
Efe |
44 |
|
45 |
The funny quote of this email is trivial and left as an exercise. |