Comment 13 for bug 1799746

Revision history for this message
Corey Bryant (corey.bryant) wrote : Re: PY3: when uploading file as secret: TypeError: a bytes-like object is required, not 'str'

So it would seem that secret_dto.secret is not encoded on the call to:

  opaque_data.OpaqueData(secret_dto.secret)