Directories
¶
| Path | Synopsis |
|---|---|
|
Package blob defines the object store that holds PDFs and artifacts, and a registry of drivers selected by URL scheme.
|
Package blob defines the object store that holds PDFs and artifacts, and a registry of drivers selected by URL scheme. |
|
blobtest
Package blobtest is the conformance suite every blob driver must pass.
|
Package blobtest is the conformance suite every blob driver must pass. |
|
disk
Package disk registers the default blob driver for URLs of the form file:PATH (file:blobs, file:/var/lib/inkless/blobs).
|
Package disk registers the default blob driver for URLs of the form file:PATH (file:blobs, file:/var/lib/inkless/blobs). |
|
s3
Package s3 registers a blob driver for S3-compatible stores, selected by URLs of the form
|
Package s3 registers a blob driver for S3-compatible stores, selected by URLs of the form |
|
Package client is the Go client for the Inkless API v1 and a helper for receiving its Standard Webhooks events.
|
Package client is the Go client for the Inkless API v1 and a helper for receiving its Standard Webhooks events. |
|
cmd
|
|
|
inkless
command
Command inkless runs the Inkless service and verifies its evidence packages and sealed PDFs.
|
Command inkless runs the Inkless service and verifies its evidence packages and sealed PDFs. |
|
inkless-fixture
command
Command inkless-fixture writes a synthetic evidence package and the public trust data needed to verify it.
|
Command inkless-fixture writes a synthetic evidence package and the public trust data needed to verify it. |
|
Package evidence defines the Inkless evidence package v1 (evidence.zip): its types, canonicalisation, event hash chain, key list and builder.
|
Package evidence defines the Inkless evidence package v1 (evidence.zip): its types, canonicalisation, event hash chain, key list and builder. |
|
examples
|
|
|
client
command
Command client shows an integration with a running Inkless using only the public client package: upload a PDF, create and issue a signing request, open a signer session and receive webhooks.
|
Command client shows an integration with a running Inkless using only the public client package: upload a PDF, create and issue a signing request, open a signer session and receive webhooks. |
|
e2e
command
Command e2e runs a complete signing flow against an in-process Inkless: two synthetic signers sign in sequence through the hosted pages, webhooks are received and verified, and the artifacts pass verification.
|
Command e2e runs a complete signing flow against an in-process Inkless: two synthetic signers sign in sequence through the hosted pages, webhooks are received and verified, and the artifacts pass verification. |
|
internal
|
|
|
ceremony
Package ceremony serves the hosted signing pages: open link, email code, review of the stored PDF, consent, sign or decline, return.
|
Package ceremony serves the hosted signing pages: open link, email code, review of the stored PDF, consent, sign or decline, return. |
|
devpki
Package devpki generates ephemeral keys, certificates and a local RFC 3161 timestamp authority for tests and synthetic fixtures.
|
Package devpki generates ephemeral keys, certificates and a local RFC 3161 timestamp authority for tests and synthetic fixtures. |
|
fixture
Package fixture builds synthetic, fully valid evidence packages for tests and demos, optionally with a single injected fault.
|
Package fixture builds synthetic, fully valid evidence packages for tests and demos, optionally with a single injected fault. |
|
httpapi
Package httpapi serves the Inkless API v1 (api/openapi.yaml).
|
Package httpapi serves the Inkless API v1 (api/openapi.yaml). |
|
mail
Package mail sends Inkless's own emails (signing codes only).
|
Package mail sends Inkless's own emails (signing codes only). |
|
pack
Package pack produces evidence packages and signed key lists in the format defined by package evidence.
|
Package pack produces evidence packages and signed key lists in the format defined by package evidence. |
|
pdf
Package pdf inspects uploaded PDFs: limits, encryption, existing signatures, and whether Inkless can seal them.
|
Package pdf inspects uploaded PDFs: limits, encryption, existing signatures, and whether Inkless can seal them. |
|
seal
Package seal applies the Inkless platform seal to a PDF as one incremental update: an optional signing summary page and a certification signature with an RFC 3161 signature timestamp (PAdES baseline B-T).
|
Package seal applies the Inkless platform seal to a PDF as one incremental update: an optional signing summary page and a certification signature with an RFC 3161 signature timestamp (PAdES baseline B-T). |
|
server
Package server assembles the HTTP handler: API, ceremony pages, health check and, in development, a local timestamp authority.
|
Package server assembles the HTTP handler: API, ceremony pages, health check and, in development, a local timestamp authority. |
|
service
Package service implements signing requests, the ceremony state machine, events, webhooks and artifacts on any storage.Store.
|
Package service implements signing requests, the ceremony state machine, events, webhooks and artifacts on any storage.Store. |
|
signer
Package signer holds the service's signing keys behind crypto.Signer and the public key material it publishes.
|
Package signer holds the service's signing keys behind crypto.Signer and the public key material it publishes. |
|
signer/awskms
Package awskms provides a crypto.Signer backed by AWS KMS.
|
Package awskms provides a crypto.Signer backed by AWS KMS. |
|
testenv
Package testenv runs an in-process Inkless with a throwaway database, dev keys, a local TSA and a capturing mailer, plus a scripted browser for the ceremony.
|
Package testenv runs an in-process Inkless with a throwaway database, dev keys, a local TSA and a capturing mailer, plus a scripted browser for the ceremony. |
|
tsa
Package tsa is an RFC 3161 timestamp client.
|
Package tsa is an RFC 3161 timestamp client. |
|
Package storage defines the persistence interface the Inkless service uses and a registry of drivers selected by URL scheme.
|
Package storage defines the persistence interface the Inkless service uses and a registry of drivers selected by URL scheme. |
|
mysql
Package mysql registers the storage driver for mysql://user:password@host:port/database URLs, using go-sql-driver/mysql.
|
Package mysql registers the storage driver for mysql://user:password@host:port/database URLs, using go-sql-driver/mysql. |
|
postgres
Package postgres registers the storage driver for postgres:// and postgresql:// URLs, using pgx.
|
Package postgres registers the storage driver for postgres:// and postgresql:// URLs, using pgx. |
|
sqlite
Package sqlite registers the default storage driver for URLs of the form sqlite:PATH (sqlite:inkless.db, sqlite:///var/lib/inkless.db).
|
Package sqlite registers the default storage driver for URLs of the form sqlite:PATH (sqlite:inkless.db, sqlite:///var/lib/inkless.db). |
|
sqlstore
Package sqlstore implements storage.Store on database/sql.
|
Package sqlstore implements storage.Store on database/sql. |
|
storagetest
Package storagetest is the conformance suite for storage drivers.
|
Package storagetest is the conformance suite for storage drivers. |
|
Package verify checks an Inkless evidence package or sealed PDF offline.
|
Package verify checks an Inkless evidence package or sealed PDF offline. |
Click to show internal directories.
Click to hide internal directories.