Comment 2 for bug 1642988

Revision history for this message
Lance Bragstad (lbragstad) wrote : Re: Avoid encoding of project id in fernet tokens

Hi Jose,

For context, we opted to convert the UUID hex format to bytes *before* message packing it because it results in a smaller token length over all. Allowing a configuration option to opt out of that optimization would results in larger tokens.

Are you unpacking the tokens somewhere and wanting to inspect the values? I was able to do that and convert the UUID byte representation back to hex:

http://cdn.pasteraw.com/ahkn83bbsuoq2m5ffho3ydd2kcc6oba

Thoughts?