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

at_activate on windows does not allow interactive mode #1650

Open
cconstab opened this issue Jan 13, 2025 · 0 comments
Open

at_activate on windows does not allow interactive mode #1650

cconstab opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cconstab
Copy link
Member

Describe the bug

Tried running through demo code and hit bug with at_activate on windows and checked with shipping Windows bins and saw the same issue.

Steps to reproduce

  1. Install NoPorts bins on Windows
  2. Try running at_activate interactive -a
  3. fails in heap

Expected behavior

Works

Screenshots

PS C:\Users\colin\Downloads\sshnp-windows-x64 (2)\sshnp> .\at_activate.exe interactive -a "@ssh_1"
Error for command interactive: Stack Overflow
#0      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#1      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#2      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#3      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#4      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#5      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#6      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#7      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#8      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#9      HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#10     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#11     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#12     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#13     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#14     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#15     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#16     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#17     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#18     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#19     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#20     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#21     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#22     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#23     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#24     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#25     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#26     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#27     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#28     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#29     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#30     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#31     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#32     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#33     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#34     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#35     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#36     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#37     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#38     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#39     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#40     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#41     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#42     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#43     HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
...
...
#55948  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55949  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55950  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55951  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55952  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55953  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55954  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55955  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55956  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55957  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55958  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55959  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55960  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55961  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55962  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55963  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55964  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55965  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55966  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55967  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55968  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55969  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55970  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55971  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55972  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55973  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55974  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55975  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55976  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55977  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55978  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55979  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55980  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55981  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55982  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55983  HomeDirectoryUtil.standardAtClientStorageDir (package:at_onboarding_cli/src/util/home_directory_util.dart)
#55984  createAtClient (package:at_onboarding_cli/src/util/create_at_client_cli.dart)
#55985  wrappedMain (package:at_onboarding_cli/src/cli/auth_cli.dart)
#55986  main (package:at_onboarding_cli/src/cli/auth_cli.dart)
#55987  main (file:///d:/a/noports/noports/packages/dart/sshnoports/bin/activate_cli.dart)
#55988  _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart)
#55989  _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart)

Usage: interactive

    -a, --atsign (mandatory)    The atSign
    -r, --rootServer            atDirectory (aka root) server's domain name
                                (defaults to "root.atsign.org")
    -k, --keys                  Path to atKeys file to create (onboard / enroll) or use (approve / deny / etc)
    -h, --help
    -v, --verbose               INFO-level logging
        --mca                   Max # attempts to make initial connection to atServer. Note: there is a 3-second delay
                                between connection attempts.
                                (defaults to "10")
    -P, --passPhrase            Pass Phrase to encrypt/decrypt the password protected atKeys file
        --hashingAlgoType       Hashing algorithm type. Defaults to argon2id
                                (defaults to "argon2id")
PS C:\Users\colin\Downloads\sshnp-windows-x64 (2)\sshnp>

Smartphones

  • Windows 11
  • SSHNP 5.8.0

Were you using an atApplication when the bug was found?

No response

Additional context

No response

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