Skip to content

Only serialize public keys by default to prevent inadvertent leaking of private keys #99

@geigerzaehler

Description

@geigerzaehler

At the moment it is quite easy to inadvertently leak a private key when using BaseKey.as_dict() or KeySet.as_dict(). These method return private key information by default. To prevent this I'd suggest changing the default of the private param for as_dict() to False instead of None (which is True effectively).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions