Skip to content

Add macaroon-specific tests #284

@aakselrod

Description

@aakselrod

The macaroon code needs some tests! Some ideas for things to test include:

  • Authenticating to one macaroon service with the macaroon of another service, with no macaroon, or with an invalid macaroon
  • Authenticating using permissions that are denied or allowed in various ways
  • Authenticating with macaroons containing expired and non-expired TimeBeforeCaveat
  • Doing all of the above in both lnd integration tests (with and without lncli, thanks @mrwhythat) and package-level unit tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4low prioauthenticationbeginnerIssues suitable for new developersgRPCmacaroonssecurityGeneral label for issues/PRs related to the security of the software

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions