Hi Ivan,
thanks for the great explanation, I really appreciate it.
2022-08-24 19:10 időpontban Ivan Kanakarakis ezt írta:
What we want to do is have the generation of the
public identifier
skip the hashing. Here is some code that does that on the current
frontend:
- code:
https://gist.github.com/c00kiemon5ter/69d5e2efeb8d657ed64b3111e996369c
- revision (to understand the changes):
https://gist.github.com/c00kiemon5ter/69d5e2efeb8d657ed64b3111e996369c/revi…
This code is overriding the current behaviour and replaces the subject
identifier factory with a custom one that does (hopefully) what you
want. I'd be happy to make this part of the frontend if somebody drops
a PR with this code including a new configuration option that controls
which subject identifier factory should be used.
Thank you for the suggestion, I also was thinking about overriding
HashBasedSubjectIdentifierFactory in SATOSA, since I did not want to
change pyop for the code and SATOSA for the configuration. It was
reassuring that in your suggestion you also did the override in SATOSA.
I've opened
https://github.com/IdentityPython/SATOSA/pull/407 for this.
Thanks again,
Kristof