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

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

Open
2 tasks done
that1cutie opened this issue Nov 6, 2024 · 4 comments
Open
2 tasks done

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

that1cutie opened this issue Nov 6, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@that1cutie
Copy link

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

  • I have specified the problem in the issue title
  • I have provided a verbose description of the problem
@that1cutie that1cutie added the bug Something isn't working label Nov 6, 2024
@GleammerRay
Copy link
Collaborator

GleammerRay commented Nov 7, 2024

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
Copy link
Author

that1cutie commented Nov 8, 2024

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

@that1cutie
Copy link
Author

I'm beginning to wonder if IoT Enterprise LSTC simply doesn't have everything Passy needs to run. It is a very stripped down version of Windows.

@GleammerRay
Copy link
Collaborator

GleammerRay commented Nov 22, 2024

That might very much be the case. I would see to automatically disabling this safety check if I had access to debugging under Windows IoT Enterprise LSTC, and will look into it in the future.

Currently, I am planning to implement a special parameter to disable this check entirely in global app settings, which will be available in the next release.

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

2 participants