Switching StoredId connector from base64 to base32 encoding

Cantor, Scott cantor.2 at osu.edu
Mon Feb 1 15:05:02 UTC 2021


On 2/1/21, 10:02 AM, "users on behalf of Etienne Dysli Metref" <users-bounces at shibboleth.net on behalf of etienne.dysli-metref at switch.ch> wrote:

>    What explodes if we just change the encoding attribute to "BASE32"?
>    Will it take effect only for newly-generated values where no
>    persistentID exists, or will it try to rewrite old persistentIDs in the
>    database with the new encoding?

The former is what I would expect. The code doesn't build a new value if there's already a row. I would be more worried about the error handling, I'm not sure if it's totally consistent about not producing any result if the database fails. It should but I'm not sure if it does or not.

It's easy enough to tell, just run a few aacli tests.

-- Scott




More information about the users mailing list