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

Error while decrypting the chipertext provided to safeStorage.decryptString #417

Closed
2 of 7 tasks
SkullHex2 opened this issue May 2, 2023 · 19 comments
Closed
2 of 7 tasks
Assignees
Labels
status:patch-released Patched in current stable release type:bug Something isn't working

Comments

@SkullHex2
Copy link

Aknowledgements

  • I have checked that there is no other issue describing the same or
    similar problem that I currently have, regardless if it has been
    closed or open.

  • This bug affects Discord website.

  • This issue is confirmed to be reproduceable when WebCord is packaged
    on at least all three latest supported Electron major releases.

  • This issue is reproduceable in Chrome, Chromium or any
    Chromium-based browser, e.g Brave or Edge (please write in
    Additional Context which browser you have used if it is neither
    Chrome nor unmodified Chromium).

  • There are no fixes done to master which resolves this issue.

  • My issue describes one of the unstable and/or not fully implemented
    features.

  • I have found a workaround to mitigate or temporarily fix this issue
    in affected releases (please write it in Additional context section
    below).

Operating System / Platform

🪟️ Windows

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

Can't run it, so whatever's packaged with v4.2.0

Application version

v4.2.0

Bug description

I'm getting the following error when installing:

image

This is a fresh Windows 11 installation, so I might be missing some dependencies, even low-level ones. I remember everything was working fine before re-installing Windows, which is basically the only reason why I think I might be missing something.

Additional context

No response

@SkullHex2 SkullHex2 added the type:bug Something isn't working label May 2, 2023
@K0vah1911
Copy link

A temporary fix that I found is to delete the windowState file, located at %AppData%/WebCord/ in Windows.

@ghost
Copy link

ghost commented May 6, 2023

This is also happening to me, but I'm using Kubuntu Kinetic.
This happened after I've enable "Developer Mode" for bot developing on "Advanced" options in my Discord account, but I don't know if this have any relation with the problem.

@ghost
Copy link

ghost commented May 6, 2023

I've just installed it on Kali Linux on VM, and it's working normal there.
Installed both with .deb package, but also tried to install AppImage, and it has the same problem.

@ghost
Copy link

ghost commented May 6, 2023

Why is this refering for Windows file paths?
webcord

@SpacingBat3
Copy link
Owner

Why is this refering for Windows file paths? webcord

WinStateKeeper is a class name in program, this is a stack that points where it happens in code (file:line:character).

@ghost
Copy link

ghost commented May 7, 2023

Why is this refering for Windows file paths? webcord

WinStateKeeper is a class name in program, this is a stack that points where it happens in code (file:line:character).

Btw, it stopped working after some hours in my VM also, with the same error.

@bclouthier
Copy link

I'm having the same issue on Fedora 38 Workstation.
Screenshot from 2023-05-07 22-19-31

@Kabouik
Copy link

Kabouik commented May 15, 2023

I'm having the same issue on Droidian, a mobile Linux OS, with Webcord installed as a flatpak. Any idea where are the configuration files for Webcord, see if deleting them helps as @K0vah1911 reported above? I couldn't find anything in ~/.config/ or ~/.local/share/, I suspect those are not the configuration directories for flatpaks?

[Edit] Found it in ~/.var/app/io.github.spacingbat3.webcord/config/WebCord. Deleting windowState did help indeed. Not sure how long it will last.

@candlebrae
Copy link

candlebrae commented May 15, 2023

Same issue on Arch Linux, both in the webcord and webcord-bin packages (config files not purged in-between testing both packages, which may explain why the issue persisted on an otherwise fresh install of webcord). Deleting windowState in ~/.config/WebCord seems to have resolved the problem for now.

Worth noting that I was not having this issue prior to updating today.

@Merlin04
Copy link

Just had this issue when trying to open webcord - deleting ~/.config/WebCord/windowState fixed the issue temporarily. I'm on openSUSE Tumbleweed if that's relevant.

@totaltommygun

This comment was marked as spam.

@LazyJ

This comment was marked as spam.

@fortunefox

This comment was marked as spam.

@BarrelledBiscuit

This comment was marked as spam.

@SpacingBat3
Copy link
Owner

SpacingBat3 commented Feb 10, 2024

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

@totaltommygun
Copy link

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

Sorry about that! kinda weird on the maintainer to link to this github page to report issues but I guess I should've read the description.
44ce1953-0300-4b36-9a65-367e429c6db2

@SpacingBat3
Copy link
Owner

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

Also, I think I wanted to work on this at some point, but given Electron developers were planning to implement a special API to preserve window bounds, I stopped working on this and waited once this will be resolved. Honestly right now I'm not sure if it's been already implemented or will be implemented at all, I guess I need to either search for that in API docs or Electron's bug tracker to find out how that ended.

@liluzibird
Copy link

Same issue on Arch Linux, both in the webcord and webcord-bin packages (config files not purged in-between testing both packages, which may explain why the issue persisted on an otherwise fresh install of webcord). Deleting windowState in ~/.config/WebCord seems to have resolved the problem for now.

Worth noting that I was not having this issue prior to updating today.

This fixed it for me. Thank you, I just had to delete .config/webcord just like you said. Though, I fixed this on my own and came to this issue to post my solution. Should've read this post first but thanks anyways.

@Inky1003
Copy link

Inky1003 commented Mar 15, 2024

A temporary fix that I found is to delete the windowState file, located at %AppData%/WebCord/ in Windows.

Confirming this works. I've basically changed from GNOME to KDE Plasma in Arch Linux and It seems the only problem in WebCord because I've moved was that file (why?)

(The file was ~/.config/WebCord/windowState)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:patch-released Patched in current stable release type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests