Skip to content

Fail trying to create an identity with an empty password #24

@MrMatAP

Description

@MrMatAP

It is currently possible to create an identity (of type password) with an empty password. We might wish to fail that. We can't just declare min_length in the pydantic schema for this because it's perfectly valid to create an identity of type pubkey which will have a NULL password.
Unless we wish to check for that condition in code we'll need to split the schemas (e.g. IdentityCreatePubkeySchema and IdentityCreatePasswdSchema)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions