Print

Print


@olifre - coming back to this.

I was able to reverse-engineer the hash algorithm that OpenSSL uses (and hence Xrootd uses).  The code is here:

https://github.com/opensciencegrid/topology/blob/0a0cb488ba1ea8c4c28807faefd5dde3e4e008da/src/stashcache.py#L44-L81

With this, you can translate a DN to an equivalent hash and generate the appropriate Authfile.

It's pretty gross code -- gives you a feel for how fragile DNs are (and why they were a bad idea originally!).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/712#issuecomment-440905304

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1