Skip to content

hpke mode in default tsp test cli (0.9-alpha) #232

@wenjing

Description

@wenjing

The TSP spec Rev 2 has removed hpke-auth mode.

However the default cli test program seems to be still using it as the default. It probably should use hpke-base with essr for default.

For example: this is the output of receiver showing it uses hpke-auth:

% tsp -w walletB receive bob1
 INFO tsp: listening for messages...
 INFO tsp: received relationship request from did:webvh:QmVte2wD6AgzjjpzhSx4kDuHAEEoEB3KpiBsNbCytkdJku:did.teaspoon.world:endpoint:alice1, thread-id '7qNeiLiH0myUZtrEP82qBhJFkUImGaojNW1OOzmJKoU'
did:webvh:QmVte2wD6AgzjjpzhSx4kDuHAEEoEB3KpiBsNbCytkdJku:did.teaspoon.world:endpoint:alice1	7qNeiLiH0myUZtrEP82qBhJFkUImGaojNW1OOzmJKoU
 INFO tsp: received confidential message (12 bytes) from did:webvh:QmVte2wD6AgzjjpzhSx4kDuHAEEoEB3KpiBsNbCytkdJku:did.teaspoon.world:endpoint:alice1 (HPKE Auth, Ed25519 signature)
hello alice

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