Azure / packer-azure

Packer for Azure
MIT License
115 stars 50 forks source link

Support serializing to the PKCS#12 file format. #212

Closed boumenot closed 8 years ago

paulmey commented 8 years ago

Can we remove everything that is not necessary for encoding? We should be using the x/crypto package for decoding.

boumenot commented 8 years ago

I removed all of the top level decoding pieces. The lower level decoding pieces are useful for unit testing because it's easier to assert that something round trips rather than it just encrypts. I moved all decoding routines into the _test files to make the intent clearer.