Skip to content
Snippets Groups Projects
Commit e8d15072 authored by Elvin Sindrilaru's avatar Elvin Sindrilaru
Browse files

Fix the order of the tokens used for getting the signature of the opaque information

for a d2d transfer. The way the tokens are concatenated is important and should follow
the order specified in xrootd/XrdxCastor2Acc.cpp:BuildToken.
parent 3d27965e
Branches
Tags
No related merge requests found
......@@ -62,9 +62,9 @@ def buildXrootURL(self, diskserver, path, transferId, transferType):
# sign opaque part obtained by concatenating the values
opaque_token = ''.join([opaque_dict['castor.pfn1'],
opaque_dict['castor.pfn2'],
opaque_dict['castor.txtype'],
opaque_dict['castor.accessop'],
opaque_dict['castor.exptime']])
opaque_dict['castor.exptime'],
opaque_dict['castor.txtype']])
signature = signBase64(opaque_token, key)
opaque = ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment