Skip to content

Bug: Exception: Password not found Instance of 'BadDecryption' #1080

Open

Description

@akvlad

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

the application shows "Unable to sync" monero wallet after it was closed and reopened:

showLoading caught: Exception: Password not found Instance of 'BadDecryption', #0 StorageCryptoHandler.decryptValue (package:stack_wallet_backup/secure_storage.dart:303)
flutter:
flutter: #1 DesktopSecureStore.read (package:stackwallet/utilities/flutter_secure_storage_interface.dart:95)
flutter:
flutter: #2 SecureStorageWrapper.read (package:stackwallet/utilities/flutter_secure_storage_interface.dart:163)
flutter:
flutter: #3 LibMoneroWallet.open (package:stackwallet/wallets/wallet/intermediate/lib_monero_wallet.dart:202)
flutter:
flutter: #4 _DesktopWalletSummaryRowState._onPressedSingleWalletDesktop. (package:stackwallet/pages_desktop_specific/my_stack_view/wallet_summary_table.dart:143)
flutter:
flutter: #5 showLoading (package:stackwallet/utilities/show_loading.dart:71)
flutter:
flutter: #6 _DesktopWalletSummaryRowState._onPressedSingleWalletDesktop (package:stackwallet/pages_desktop_specific/my_stack_view/wallet_summary_table.dart:147)
flutter:
flutter:
flutter: #0 LibMoneroWallet.open (package:stackwallet/wallets/wallet/intermediate/lib_monero_wallet.dart:206)
flutter:
flutter: #1 _DesktopWalletSummaryRowState._onPressedSingleWalletDesktop. (package:stackwallet/pages_desktop_specific/my_stack_view/wallet_summary_table.dart:143)
flutter:
flutter: #2 showLoading (package:stackwallet/utilities/show_loading.dart:71)
flutter:
flutter: #3 _DesktopWalletSummaryRowState._onPressedSingleWalletDesktop (package:stackwallet/pages_desktop_specific/my_stack_view/wallet_summary_table.dart:147)
flutter:

Expected Behavior

the monero wallet should sync after the pc reboot

Reproduce Steps

  1. Run the application
  2. Restore monero wallet from a 25 words passphrase
  3. Resync the wallet
  4. Close the application
  5. Reboot the PC
  6. Start the application
  7. Go to monero wallet
  8. Click "Resync"

Environment

  • Operating system and version: ubuntu linux 24, sw-v2.1.10
  • Device platform and version: n/a
  • Real device or emulator/simulator: real device

Logs

No response

Further Information

No response

Activity

  1. funkemunky commented on Feb 7, 2025

    @funkemunky

    I also have the same issue on Fedora 41 using LTC

  2. zquestz commented on Jun 4, 2025

    @zquestz

    I am also seeing this for Bitcoin Cash.

    Exception rethrown from _checkReceivingAddressForTransactions(Instance of 'Bitcoincash'): Instance of 'BadDecryption'
    

    Also seeing it for secure storage:

    StorageCryptoHandler.decryptValue (package:stack_wallet_backup/secure_storage.dart:303)
    
  3. zquestz commented on Jun 4, 2025

    @zquestz

    Issue was fixed by reinstalling and importing my wallets again.

  4. julian-CStack commented on Oct 21, 2025

    @julian-CStack
    Collaborator

    Was the desktop app password ever changed before this happened?

  5. akvlad commented on Oct 21, 2025

    @akvlad
    Author

    As far as I remember, it was a first time use:

    • I installed and successfully added a couple of my wallets
    • Rebooted the PC
    • Started the wallet again
    • The error appeared.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions