Skip to content

Remove legacy publicKey and privateKey property from UserDto #316

@SailReal

Description

@SailReal

Please agree to the following

Summary

When we release a new major release, we drop these properties to simplify and reduce the size of the response.

Motivation

See summary.

// Accept either "ecdhPublicKey" or the legacy "publicKey" on input
@Nullable @JsonProperty("ecdhPublicKey") @OnlyBase64Chars String ecdhPublicKey,
@Nullable @JsonProperty("publicKey") @OnlyBase64Chars String publicKey,
@Nullable @JsonProperty("ecdsaPublicKey") @OnlyBase64Chars String ecdsaPublicKey,
// Accept either "privateKeys" or the legacy "privateKey" on input
@Nullable @JsonProperty("privateKeys") @ValidJWE String privateKeys,
@Nullable @JsonProperty("privateKey") @ValidJWE String privateKey,

Considered Alternatives

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions