Calculate ComputedId value outside of shibboleth idp

Paul B. Henson henson at cpp.edu
Thu Jan 21 13:59:07 EST 2016


We are using the ComputedId as the source for eduPersonTargetedId. Due to an SP screwup whose details I won't get into, I need to batch generate a list of eduPersonTargetedId's for a bunch of our users. Per the documentation, the ComputedId is a base 64 encoding of the SHA-1 hash of the attribute requester's entity ID, a value of a given attribute, and a salt. I tried calculating that using standard commandline tools and it doesn't seem to match what the idp is sending. Before I start digging through the idp source code to find out exactly what it is doing and try to replicate it, I thought I would ask to see if anybody knew offhand of an easy way to generate the same value off-line?

Thanks...

--
Paul B. Henson  |  (909) 979-6361  |  http://www.cpp.edu/~henson/
Operating Systems and Network Analyst  |  henson at cpp.edu
California State Polytechnic University  |  Pomona CA 91768




More information about the users mailing list