question

dclaar avatar image
dclaar Suspended asked dclaar Suspended posted

password decryption doesn't work in tcl session

If I open a SSH session, I can pass it the password, and it is unencrypted. But if I open a tcl session, the password stays encrypted.

call get_param.fftc#get_param ${arg[1]} password
   save as password, has a RM query, value()
open ssh device
command typeset a=\
command [query password value()]
   perform substitutions
   Command field contains an encrypted value
command echo $a
==>password
open tcl shell
command set a \
command [query password value()]
   perform substitutions
   Command field contains an encrypted value
command puts $a
==>encrypted=

 

iTestbug
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PaulD avatar image
PaulD answered PaulD posted

On those two steps, are you setting the checkbox "Command field contains an encrypted value (such as a masked parameter substitution)"?

 

If so, then another possibility is that you have an extra bit of whitespace in the command field which, I think, may screw up the decryption.  (If this is true, we could do a better job of telling you about it, of course!)

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

dclaar avatar image dclaar commented ·

Well, I basically copied the tcl line to the ssh one. But just in case, I re-typed the line. Still doesn't work. Testcase attached; Just change the LinuxGen1_cli to any SSH session that has a password.

0 Likes 0 ·
sp_web_http.fftc (13.4 KiB)
PaulD avatar image PaulD dclaar commented ·

Well, I don't see anything wrong with this.  We need to create an equivalent test case and find out what is going on.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.