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

update of public:publickey through at_client.put fails due to regex mismatch #664

Open
murali-shris opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@murali-shris
Copy link
Member

murali-shris commented Sep 18, 2024

Describe the bug

Update of

public:publickey@alice

through at_client.put method fails.
Underlying cause is regex issue in at_commons

Steps to reproduce

run the below unit test

 test('Validate reserved publickey', () {
      String key = 'public:publickey@alice';
      var type = RegexUtil.keyType(key, false);
      expect(type, KeyType.reservedKey);
      var match = RegexUtil.matchAll(Regexes(false).reservedKey, key);
      expect(match, true);
    });

Expected behavior

The key should be considered as a reserved key and the unit test should pass

Screenshots

No response

Smartphones

No response

Were you using an atApplication when the bug was found?

No response

Additional context

No response

@murali-shris murali-shris added the bug Something isn't working label Sep 18, 2024
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