Skip to content

Using sign and verify is better #3

Description

@yamatatsu

It is better using sign and verify instead of encrypt and decrypt.

The difference is here: https://stackoverflow.com/questions/454048/what-is-the-difference-between-encrypting-and-signing-in-asymmetric-encryption.

In AWS, users are limited to access KMS by IAM role. So, This implementation is not so bad Immediately.

But If AWS account owner mistake to managing IAM role and allow that unintentional user can access public key, JWT become tamperable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions