Do any of the `package` goals support encryption? ...
# general
w
Do any of the
package
goals support encryption? Like if I wanted to output a symmetrically (or maybe asymmetrically) encrypted pex or tar for deployment somewhere?
I haven't seen it anywhere, and I don't think it's particularly difficult to do. I have two applications where I need it (encrypting an embedded firmware binary, and encrypting a pex (or tar) for deployment to an open server)
h
There is no such support right now. So the idea is to deploy an encrypted blob that the server decrypts into a pex?
w
Well, they're stored encrypted, and retrieved and then decrypted by the client. To use the embedded example: The decryption keys are stored in hardware trusted keystores (usually on the final device), and all firmware transferred is encrypted (because this firmware may land in the hands of "untrusted" manufacturers)
So, currently, this is just a simple, nay, trivial post-build script So, the idea is that I can still use that via the script target in Pants. Just wondering if there were other use cases