Directories
¶
| Path | Synopsis |
|---|---|
|
Package adminauth authenticates admin API calls with FIDO2 assertions.
|
Package adminauth authenticates admin API calls with FIDO2 assertions. |
|
Package adminclient is the client of the admin API: it builds the signed envelope of each mutating call and asks a Signer (a FIDO2 key) to sign it.
|
Package adminclient is the client of the admin API: it builds the signed envelope of each mutating call and asks a Signer (a FIDO2 key) to sign it. |
|
Package adminsrv implements the admin gRPC API and the local enrolment API.
|
Package adminsrv implements the admin gRPC API and the local enrolment API. |
|
Package attest verifies the attestation of an admin credential at enrolment.
|
Package attest verifies the attestation of an admin credential at enrolment. |
|
Package fidotest is a software FIDO2 authenticator for tests, so that CI needs no hardware.
|
Package fidotest is a software FIDO2 authenticator for tests, so that CI needs no hardware. |
|
Package githttp serves git clone and fetch over smart HTTP, protocol version 2 only, anonymously and for public repositories only (gitprotocol-http, gitprotocol-v2).
|
Package githttp serves git clone and fetch over smart HTTP, protocol version 2 only, anonymously and for public repositories only (gitprotocol-http, gitprotocol-v2). |
|
Package gitpush is the forge side of git push (git-receive-pack, gitprotocol-pack): it decides, in process, who may move which ref, from the parsed command list and the received pack, BEFORE any ref moves.
|
Package gitpush is the forge side of git push (git-receive-pack, gitprotocol-pack): it decides, in process, who may move which ref, from the parsed command list and the received pack, BEFORE any ref moves. |
|
Package gitrepo maps a repository name received from a git client to a bare repository on disk, decides who may read it, and bounds how many fetches run at once.
|
Package gitrepo maps a repository name received from a git client to a bare repository on disk, decides who may read it, and bounds how many fetches run at once. |
|
Package gitssh serves git clone and fetch (protocol v2, git-upload-pack) and push (git-receive-pack, through package gitpush) over SSH, in process, with golang.org/x/crypto/ssh.
|
Package gitssh serves git clone and fetch (protocol v2, git-upload-pack) and push (git-receive-pack, through package gitpush) over SSH, in process, with golang.org/x/crypto/ssh. |
|
Package gittest makes bare repositories with history for tests, with the real git binary.
|
Package gittest makes bare repositories with history for tests, with the real git binary. |
|
Package gitview reads a bare repository for the web pages: a commit's tree, a blob, the log, one commit's diff.
|
Package gitview reads a bare repository for the web pages: a commit's tree, a blob, the log, one commit's diff. |
|
Package secretbox encrypts the few secrets the forge stores (the OIDC client secret) at rest: AES-256-GCM, a fresh random nonce per seal, and additional data naming what the secret is, so a ciphertext copied into another row or purpose does not open.
|
Package secretbox encrypts the few secrets the forge stores (the OIDC client secret) at rest: AES-256-GCM, a fresh random nonce per seal, and additional data naming what the secret is, so a ciphertext copied into another row or purpose does not open. |
|
Package sshkeys parses and classifies the SSH public keys users register.
|
Package sshkeys parses and classifies the SSH public keys users register. |
|
Package sshtest makes SSH keys for tests.
|
Package sshtest makes SSH keys for tests. |
|
Package store is the forge's SQLite storage (pure Go, no cgo), with schema migrations.
|
Package store is the forge's SQLite storage (pure Go, no cgo), with schema migrations. |
|
Package web is the forge's web listener: OIDC sign-in through the identity bridge, server-side sessions, and the read-only repository pages.
|
Package web is the forge's web listener: OIDC sign-in through the identity bridge, server-side sessions, and the read-only repository pages. |
Click to show internal directories.
Click to hide internal directories.