Skip to content

Python 3.14 incompatibility when creating jwtconf.ini #142

Description

@win3zz

Description:

jwt_tool 2.3.0 fails on Python 3.14 during first run:

configparser.InvalidWriteError

The issue occurs in createConfig() where ConfigParser.write() is called with dictionary keys beginning with # (used as comments).

As a result, jwtconf.ini is not fully created and subsequent runs fail with:

KeyError: 'argvals'

Removing the comment-style keys from the config dictionaries fixes the issue.

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