Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Global Environment: Decrypt failed: unrecognized string format #4121

Closed
2 of 4 tasks
ChrisJMacdonald opened this issue Feb 26, 2025 · 1 comment
Closed
2 of 4 tasks
Labels
bug Something isn't working

Comments

@ChrisJMacdonald
Copy link

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying

Bruno version

1.39.0-2

Operating System

6.13.4-arch1-1

Describe the bug

Bruno is starting fresh each time I close and open it, removing all my open collections and requiring them to be re-added.
Immediately on start up I am getting:

Preferences file is located at: {my home}/.config/bruno/preferences.json

(electron:5885): IBUS-WARNING **: 10:30:54.975: Unable to connect to ibus: The given address is empty
Error occurred in handler for 'renderer:ready': Error: Decrypt failed: unrecognized string format
    at decryptString (/usr/lib/bruno/src/utils/encryption.js:108:11)
    at /usr/lib/bruno/src/store/global-environments.js:35:58
    at Array.map (<anonymous>)
    at /usr/lib/bruno/src/store/global-environments.js:33:40
    at Array.map (<anonymous>)
    at GlobalEnvironmentsStore.decryptGlobalEnvironmentVariables (/usr/lib/bruno/src/store/global-environments.js:32:32)
    at GlobalEnvironmentsStore.getGlobalEnvironments (/usr/lib/bruno/src/store/global-environments.js:47:31)
    at /usr/lib/bruno/src/ipc/preferences.js:19:56
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:87039)
    at WebContents.emit (node:events:518:28)

A similar error happens when trying to add a global environment:

Error occurred in handler for 'renderer:create-global-environment': Error: Decrypt failed: unrecognized string format
    at decryptString (/usr/lib/bruno/src/utils/encryption.js:108:11)
    at /usr/lib/bruno/src/store/global-environments.js:35:58
    at Array.map (<anonymous>)
    at /usr/lib/bruno/src/store/global-environments.js:33:40
    at Array.map (<anonymous>)
    at GlobalEnvironmentsStore.decryptGlobalEnvironmentVariables (/usr/lib/bruno/src/store/global-environments.js:32:32)
    at GlobalEnvironmentsStore.getGlobalEnvironments (/usr/lib/bruno/src/store/global-environments.js:47:31)
    at GlobalEnvironmentsStore.addGlobalEnvironment (/usr/lib/bruno/src/store/global-environments.js:65:35)
    at /usr/lib/bruno/src/ipc/global-environments.js:11:31
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:87039)
    at WebContents.emit (node:events:518:28)

.bru file to reproduce the bug

No response

Screenshots/Live demo link

I have a recording, so please let me know if needed as I'd rather not upload unless its useful

@ChrisJMacdonald ChrisJMacdonald added the bug Something isn't working label Feb 26, 2025
@ChrisJMacdonald
Copy link
Author

Apologies I was using the AUR, but after using the App Image it works again now
Although on the AppImage I'm still seeing the Decrypt Issue:

Preferences file is located at: {my home}/.config/bruno/preferences.json
10:52:49.630 › AutoUpdater configured.
10:52:49.633 › Checking for update

(bruno:11814): IBUS-WARNING **: 10:52:49.637: Unable to connect to ibus: The given address is empty
Decrypt failed: unrecognized string format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant