Skip to content

Arbitrary batched tokens example reports Valid token: false #41

@hacklschorsch

Description

@hacklschorsch

Running the examples gives me all Valid token: true output but for the Arbitrary batched tokens example:

$ npm run examples
                                                                                                                                            > @cloudflare/privacypass-ts@0.7.1 examples
> tsc -b examples && node ./lib/examples/index.js

Arbitrary batched tokens
    Valid token: false
Private-Verifiable tokens
    Suite: VOPRF (P-384, SHA-384)
    Valid token: true
Public-Verifiable tokens
    Suite: RSABSSA-SHA384-PSS-Deterministic
    Valid token: true
Public-Verifiable tokens
    Suite: RSABSSA-SHA384-PSSZERO-Deterministic
    Valid token: true
Public-Verifiable With Metadata tokens
    Suite: RSAPBSSA-SHA384-PSS-Deterministic
    Valid token: true
Public-Verifiable With Metadata tokens
    Suite: RSAPBSSA-SHA384-PSSZERO-Deterministic
    Valid token: true

Please note the Valid token: false output above for arbitrary batched tokens.

Is that as intended?

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