On 11/11/21 13:59, Simão Afonso wrote:
On 2021-11-11 13:47:41, Vasi Vilvoiu wrote:
AFAIK, tmpfs can reach swap under some circumstances, which is a no-no. I'd
personally still see this ideally implemented in the tool as there would be
less stuff between the encrypted and decrypted data (gpg -> pipe -> memory
versus gpg -> tmpfs -> memory/disk -> tmpfs -> memory.

I wasn't aware of this, probably under very high memory pressure. Not
something common on a desktop.

What about a pipe?

decrypt command <~/.config/mbsyncrc.encrypted | mbsync -c "/dev/stdin" "$@"

Oh, that's great! Did not know it supported stdin for -c.

That should be pretty much enough for my use case. Thanks!


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to