stack_wallet icon indicating copy to clipboard operation
stack_wallet copied to clipboard

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

Open akvlad opened this issue 11 months ago • 5 comments

Is there an existing issue for this?

  • [x] 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

akvlad avatar Feb 02 '25 22:02 akvlad

I also have the same issue on Fedora 41 using LTC

funkemunky avatar Feb 07 '25 01:02 funkemunky

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)

zquestz avatar Jun 04 '25 01:06 zquestz

Issue was fixed by reinstalling and importing my wallets again.

zquestz avatar Jun 04 '25 02:06 zquestz

Was the desktop app password ever changed before this happened?

julian-CStack avatar Oct 21 '25 15:10 julian-CStack

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.

akvlad avatar Oct 21 '25 15:10 akvlad