[openstack-dev] [barbican] Use common openstack crypto from oslo ?
simo at redhat.com
Fri Jul 19 02:43:51 UTC 2013
On Thu, 2013-07-18 at 22:16 -0400, Simo Sorce wrote:
> I was taking a look at Barbican sources on github and I noticed there is
> an implementation of a crypto class there.
> I was wondering if Barbican can be made to use the crypto utils pushed
> to oslo-incubator instead of using a project specific version.
> I ask because the implementation seem incomplete plus it seem to me (but
> it is late) that _strip_pad will just fail when the plaintext is an
> exact multiple of the block_size.
NVM about this detail, _strip_pad is just fine, I knew I should not
trust my eyes this late :)
> Let me know if you need help using the (now) common crypto utils
> functions instead.
The suggestion to use the common code and offer for help stands though.
Simo Sorce * Red Hat, Inc * New York
More information about the OpenStack-dev