Yes, I later tracked down in the code where this was happening: https://github.com/openstack/barbican/blob/master/barbican/plugin/crypto/simple_crypto.py#L142-L165
No idea why one is PEM and the other is DER. The code used to look different when we were using PyCrypto before this commit: https://github.com/openstack/barbican/commit/64d3da630726882878dba2ad438e4a60b9d28185#diff-edd1621ed033d9571dc3e1190e1a8bbc
Yes, I later tracked down in the code where this was happening: https:/ /github. com/openstack/ barbican/ blob/master/ barbican/ plugin/ crypto/ simple_ crypto. py#L142- L165
No idea why one is PEM and the other is DER. The code used to look different when we were using PyCrypto before this commit: https:/ /github. com/openstack/ barbican/ commit/ 64d3da630726882 878dba2ad438e4a 60b9d28185# diff-edd1621ed0 33d9571dc3e1190 e1a8bbc