Skip to content

Add JSON endpoint #11

@aral

Description

@aral

Use case

A commandline tool wants to integrate lookup/validation based on the hash of an actual downloaded script.

Suggested API

https://should-i-pipe.it/<Blake2b-512 hash>

Returns: JSON:

{
  "known": /* false | */ {
     "type": "verification" /* | "warning" */,
     // … other fields are the same as in the verified-hashes data structure.
  }
}

Note: warning objects have not been implemented yet. See discussion in last paragraph here.

Reference: verified-hashes.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions