git-annex/P2P
Joey Hess e89bb4361b
distinguish between cached and uncached creds
p2p and multicast creds are not cached the same way that s3 and webdav
creds are. The difference is that p2p and multicast obtain the creds
themselves, as part of a process like pairing. So they're storing the
only extant copy of the creds. In s3 and webdav etc the creds are
provided by the cloud storage provider.

This is a fine difference, but I do think it's a reasonable difference.
If the user wants to prevent s3 and webdav etc creds from being stored
unencrypted on disk, they won't feel the same about p2p auth tokens
used for tor, or a multicast encryption key, or for that matter their
local ssh private key.

This commit was sponsored by Fernando Jimenez on Patreon.
2018-12-04 14:09:18 -04:00
..
Address.hs distinguish between cached and uncached creds 2018-12-04 14:09:18 -04:00
Annex.hs comment typo 2018-11-12 11:53:44 -04:00
Auth.hs distinguish between cached and uncached creds 2018-12-04 14:09:18 -04:00
IO.hs simplify 2018-10-22 15:54:12 -04:00
Protocol.hs Fixed some other potential hangs in the P2P protocol 2018-11-06 14:52:32 -04:00