Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there a way to use an encrypted password for RQMURLUtility?

I need to call the  RQMURLUtility in a PUB (RPE) template.

When doing the call I need top provide the user id and the password.
I do not want the user to provided them manual.
I can use the following PUB Internal Variable: _sessionInfo.getDatasourceProperty

When I get the password
_sessionInfo.getDatasourceProperty("aDataSource","password", "")
    
I get an encrypted version of the password.

Is there a way to use that encrypted password for the RQMURLUtility?
Or get a clear version of the password from _sessionInfo?

Thank you

0 votes



2 answers

Permanent link

 Please use clear version of the password. it can not accept encrypted version of the password.

0 votes

Comments
That defeat the whole purpose.

Doing this would mean that the user will need enter the password in clear in a PUB template variable.

Is the _sessionInfo.getDatasourceProperty can be set to return the clear password?

What is the purpose of getting a encrypted password? Who can consume it?


Permanent link
Currently there is no way to use an encrypted password for RQMURLUtility.

I have created en enhancement.

0 votes

Comments

Could you provide the link to the enhancement?

Hi Pierre

I've exactly the same problem
any news about encrypting the password with RQMURLUtility?
Can you pls provide the link for the enhancement request?
Thank You
Luca

I cannot find it anymore.
We could created a new one.
Because of security concern, I think it will be rejected.
(Like having the password in plain text in PUB template is a better option ...)

You can not encrypt the password. You could only obfuscate it. The same with the build engines or the SCM command line. 

You could use AES or something, but then you would have to know a common password, and that would have to be in the code or the script. If it was in the RQM code, it would easy enough to find it and un-obfuscate the passwords. 

Both ends need to know at least some key to use encryption and that does not go away..  

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,951

Question asked: May 05 '21, 10:30 a.m.

Question was seen: 1,602 times

Last updated: Aug 27 '24, 11:08 a.m.

Confirmation Cancel Confirm