usebruno / bruno

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

Bruno 1.24.0 is very slow when obfuscating tokens #2842

Open Snotax opened 4 weeks ago

Snotax commented 4 weeks ago

I have checked the following:

Describe the bug

Whenerer the Auth panel is oben with a obfuscated token, the application is VERY slow. When the token is cleartext, everything is as fast as normal.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image

sanjai0py commented 4 weeks ago

Hey @Snotax, thanks for taking the time to report this bug. In order to reproduce this bug, we need more information. Could you please let us know what OS you are using? If possible, could you also share a video of the app when it is running slowly?

Snotax commented 4 weeks ago

Here is a quick demo: https://github.com/user-attachments/assets/11727bdc-b9d2-4408-9d78-6c6d602dab9d This slow behaviour is not happening when the token is cleantext instead of *****.

My OS is Win11.

kamzil commented 3 weeks ago

Can reproduce on MacOS 14.6 with Bruno v1.25.0. Managing environments is extremely slow at the moment and freezes the whole app. Copying and saving environments also.

sanjai0py commented 3 weeks ago

@kamzil Would it be possible for you to share a bruno collection that is causing this issue only after removing any sensitive data?

I suspect that this feature is causing this issue.

kamzil commented 3 weeks ago

It doesn't matter which collection it is. I tested with a new empty one, and the only thing that I noticed causing this was a long value for a secret in an environment.

valeriadibattista commented 2 days ago

It still appends with v1.28.0, both on mac 14.6.1 and Win11. It takes time also to open the environment windows.

veosar commented 1 day ago

This is a very big issue, makes Bruno basically impossible when you need to often login and set new JWT token on collection level