I remember hearing about that proposal and that it sounded tough to do - sorry you're having to deal with it ๐
https://github.com/mholt/archiver came to mind, but looks like it doesn't support the encryption side of things. Can you use one of the options from the proposal's thread?