gobuffalo / packr

The simple and easy way to embed static files into Go binaries.
MIT License
3.41k stars 196 forks source link

Feature request: encryption #247

Open bjwschaap opened 5 years ago

bjwschaap commented 5 years ago

Would it be possible to implement optional encryption of a box?

My use case for this is that I would like to encrypt a box during build time, so that my binary is distributed with encrypted data at rest. During runtime, I would provide packr with a decryption key, so assets can be decrypted/extracted from the box at runtime.

RobertoMalatesta commented 5 years ago

Just discovered packr right now and about to open the same issue! :smiley: