Skip to content

Bug in get_api_key_info #150

@b1n4r9

Description

@b1n4r9

Debbuged and found an issue why I cant test my api key.

With headscale v0.25.1 seems like it returns first 7 chars.

In get_api_key_info your code:

key_prefix = str(api_key[0:10])

Please, check different versions of headscale or use another checking mehtod

Working version:

key_prefix = str(api_key[0:7])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions