GlitterWare / Passy

Offline password manager with cross-platform synchronization
https://glitterware.github.io/Passy/
GNU General Public License v3.0
143 stars 22 forks source link

[Bug]: "Couldn't add account!" #124

Open that1cutie opened 2 weeks ago

that1cutie commented 2 weeks ago

Bug description

I am using Windows 11 IoT Enterprise LSTC 2024. I downloaded the software, installed it, and tried to make an account, and it fails to do this every time. I use Passy on another Windows 10 computer and on my Android phone and it works fine.

Expected outcome

Make a local account.

Steps to reproduce

Input account name and password, click the right arrow button.

Error log

[DArgon2ErrorCode.ARGON2_MEMORY_TOO_LITTLE] Memory cost is too small
#0      DArgon2Native.hashPasswordBytesSync (package:dargon2_core/src/native/dargon2_native.dart:74)
#1      DArgon2Native.hashPasswordBytes (package:dargon2_core/src/native/dargon2_native.dart:131)
#2      DArgon2Desktop.hashPasswordBytes (package:dargon2_flutter_desktop/src/argon2.dart:34)
#3      DArgon2.hashPasswordString (package:dargon2_interface/src/argon2.dart:56)
#4      argon2ifyString (package:passy/passy_data/common.dart:160)
#5      PassyData.createAccount (package:passy/passy_data/passy_data.dart:245)
#6      _AddAccountScreen._addAccount (package:passy/screens/add_account_screen.dart:74)
#7      _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1183)
#8      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:315)
#9      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:652)
#10     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:309)
#11     BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:242)
#12     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:670)
#13     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98)
#14     PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143)
#15     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633)
#16     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141)
#17     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127)
#18     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:495)
#19     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:475)
#20     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:430)
#21     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:420)
#22     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:383)
#23     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:330)
#24     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:299)
#25     _invoke1 (dart:ui/hooks.dart:328)
#26     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:429)
#27     _dispatchPointerDataPacket (dart:ui/hooks.dart:262)

App version

v1.8.0 - Entry Tags

Submission checklist

GleammerRay commented 2 weeks ago

Good afternoon @that1cutie !

It appears as though automatic Argon2 password hashing has failed due to ill-selected parameters. Passy requires at least 64 megabytes of free RAM for operation (in theory, in reality it needs around 100-200 mb). Are you sure that you've had enough free RAM available on your system at that moment?

Cheers!

that1cutie commented 1 week ago

My computer had at that moment over 55GB of free RAM.