usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.62k stars 1.28k forks source link

Secrets unmasked in global Envs #3399

Open tlaloc911 opened 3 weeks ago

tlaloc911 commented 3 weeks ago

I have checked the following:

Describe the bug

In global enviroments editor, when you open it and the selected env that contains a secret variable or you add a new secret variable , it is shown correctly masked

image

But if you select another enviroment and come back, it shows unmasked

image

EDIT: Other thing may be related, "empty" variables at some point become "undefined" when alternating between environments

image

.bru file to reproduce the bug

not applicable

Screenshots/Live demo link

screens already included

ganesh-bruno commented 2 weeks ago

Hey @tlaloc911,

I tried to reproduce the issue, and everything seems to be working as expected on my end. When I select a different environment and then return, the masking appears correctly.

Could you provide more details on which version you're using? I would recommend upgrading to the latest version and testing again to see if the issue persists.

Let me know if you still face any issues.