Skip to content

having _danger-local-https may result in insecure payjoin-cli build if built with --all-features #451

Description

@nothingmuch

the _danger-local-https feature allows skipping certificate validation for testing purposes.

we should make sure it's not possible, or at least not easy to inadvertently build a payjoin-cli binary that has this feature enabled

note: i did not verify that --all-features doesn't skip features with leading underscores

possible approaches:

  • remove need for bypassing certificate checks in tests?
  • hide this behind a dev dependency somehow?
  • ...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions