Skip to content

Token Attenuator should show explicit message if token already sealed #131

@malcolmstill

Description

@malcolmstill

If I pass a sealed token to https://www.biscuitsec.org/docs/tooling/token-attenuator/ and attempt to add a block you get an error message that says An error has happened:

Screenshot 2024-04-01 at 18 07 31

It would be great if the error message stated that the token was sealed and so can't be attenuate.

Example token (test020_sealed.bc from testsuite):

EqcBCj0KBWZpbGUxCgVmaWxlMhgDIg0KCwgEEgMYgAgSAhgAIg0KCwgEEgMYgQgSAhgAIg0KCwgEEgMYgAgSAhgBEiQIABIgEFXHULGhUFk3rxU3xia6MmOZXDOmR1iqr7EnWwMS4oQaQHWVoRKh61uBpuOYhS5hGLf1uMu_9FJ3jmVRAOX7T6qNOir1L-LE-VJIeWBWdfriatvEeD4Mr8Q1IvqCOF85bAMalQEKKwoBMBgDMiQKIgoCCBsSBwgCEgMIgggSBggDEgIYABILCAQSAwiCCBICGAASJAgAEiDUQk0eEpEzoUeX40zcX6nap0wrG2eq_k-10bM-vdpa0RpARfTBT52ej6BE1ovnouyM3bg19XXHuRPsWb1jbHCsrpqQ25BkugswhCkO0MQiu7cXAJKohPXgICsx6SNbvMFlDSJCEkCfIpa5yKK-ahepkwhc6RvDyntWIW_VMsGtUkqV47nLtsU8Y7kjVdFJBJGfc-ijQ23RAEcD5tGR54nVtqdgbpYE

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