Pular para o conteúdo principal

All capabilities

The overview says what TrustBridge does in a page. This one lists every capability in detail, under the same four headings. Which release brought each one is in the Changelog, and which Server and Workstation releases work together is under The three components.

Sign from any Windows program, or from your application​

  • Desktop certificates for any Windows program. An Administrator can grant a Vault Certificate to one Windows account on one machine. That account then signs with it from any program that signs through Windows (a browser signing in to gov.br or e-CAC, Acrobat, Word, signtool) through TrustBridge's Key Storage Provider, while the key never leaves the Server. Each grant is protected by a Grant PIN or is Unattended. A certificate on the holder's own machine is not granted: Windows programs sign with it locally, without TrustBridge. See Desktop certificates.
  • CPF-bound Signing Sessions. A client supplies a CPF and the holder's PIN once. TrustBridge confirms the PIN against a certificate for that CPF, either by opening a Vault Certificate or through a PIN Proof from the holder's workstation, and answers an opaque session id. Every later call names the session by that id.
  • Sessions for a Company, signed with its e-CNPJ. A client that also sends a cnpj gets a session that signs only with that Company's e-CNPJ held by that person. A session without one never signs with an e-CNPJ, so an integration that never sends one sees nothing new.
  • Synchronous document signing, single or batch. POST /v1/signatures signs one PDF inside the request. POST /v1/signatures/batch signs up to 50 in one call. Documents are held only in transit: TrustBridge signs hashes and never stores documents.
  • Lacuna Signer or REST PKI Core does the document work. Hash computation, PDF assembly and download of the signed document are delegated to Lacuna Signer, or, for a Client Application an Administrator switches to it, to REST PKI Core, which keeps the signed documents. The API is the same either way.
  • Hash Signing for integrators that build their own signatures. A Client Application an Administrator granted it can have the holder's key sign digests it computed itself, with POST /v1/signatures/hashes, around the certificate and chain a session answers.
  • Storage Grants for Lacuna.CertificateStorage applications. An Administrator can let one Client Application sign with one Workstation Certificate, with no Signing Session, with the holder's consent at the Tray App, unattended, or with the PIN on each call. A Storage Grant may also name a Vault Certificate, which the Server signs with itself. See Storage Grants.

The private key stays where it is​

  • Two custodies for a certificate, one API. A Workstation Certificate is on a token or in the Windows store of a machine, and its key never leaves that machine. A Vault Certificate is held by the Server's Certificate Vault, which a deployment turns on: an A1 file an Administrator imported, or a key in a Key Store (below). A client application calls the same endpoints either way and never learns which custody answered.
  • An A1 on a workstation can sign. The holder sets an A1 PIN for the certificate at the Tray App, and a client application's PIN is checked against it the way a token's PIN is.
  • Key Stores: server-held keys in an HSM or cloud key service. A Vault Certificate's private key may live in an Azure Key Vault, an AWS KMS or an Amplia, where it signs in place and never leaves. A key is adopted, imported from a PFX, moved from a file, or generated there as a Pending Key that issues CSRs for a CA, and a certificate is renewed over the same key or a new one. See Key Stores.

Every signature is authorized and on record​

  • The PIN never leaves the Server. No workstation is sent the PIN a client application supplied. The Server challenges each candidate machine with a nonce, and the machine answers with a PIN Proof, an HMAC keyed by the PIN its holder typed at the Tray App. The Server decides whether the proof matches. A wrong value from a client cannot burn the token's retry counter.
  • Failed attempts are budgeted. Wrong PINs lock a CPF out of session creation for a while. Separately, each workstation may give only so many PIN Proofs for one holder that do not check, and the Certificate Vault may try only so many passwords for one holder that open nothing, before that machine or the vault is passed over for that holder until its failures age out.
  • Per-Transaction PIN, per Client Application. An Administrator can make a Client Application ask for the holder's PIN on every signing call: the holder authorizes each call at the Tray App, which names the application and what it signs, or, for a Vault Certificate, the application sends the PIN with each call. Such an application can also be allowed to create its sessions without a PIN, so that the holder types it at the Tray App and nowhere else.
  • A Signature Allowance per Client Application. An Administrator can bound how many signing calls each session an application creates may make; an allowance of 1 gives single-use sessions.
  • Allow Lists. An Administrator can restrict where a Windows account's desktop certificates sign, to named programs and websites; a signature no entry can be shown to match is refused. See Allow Lists.
  • Real certificate validation. Trust chain, validity period and revocation are checked, with a configurable grace window when a certification authority cannot be reached. Only an ACTIVE certificate can open a session or sign.
  • Administered trust. An Administrator adds a Trusted CA from a screen. It takes effect on the running Server with no restart and is pushed to every admitted workstation.
  • An append-only Audit Log of API access, session and signing lifecycle, workstation and PIN events and every administrative action, with a configurable retention. Each API call's row shows the error code it was answered with.
  • A record of who asked and what was on screen. Every Desktop Signature's Audit Log row names the program that asked for it, with its Authenticode publisher, and, unless an Administrator turns the reading off, what the grantee's screen showed: the window's title, the page address in a browser, and whether the session was locked or remote.

One console runs the Server and the whole fleet​

  • Machine admission with no shared secret. A workstation mints its own key, ideally in the TPM, announces itself and waits in a queue. An Administrator admits it, and can later revoke it or remove it from the fleet. Nothing an installer writes to a machine can join the fleet by itself.
  • Server-delivered Workstation updates. An Administrator uploads a signed Workstation Release on the Workstation Releases screen and offers it to the machines they choose. A machine downloads it, checks its signature against the signer list compiled into the Service it already runs, and installs it at its first idle moment. Group Policy can turn this off.
  • One PKI licence, held by the Server. The Lacuna PKI SDK licence is a Server setting. The Server hands it to every admitted machine each time the machine connects, so renewing it is a change on the Server and a visit to no machine.
  • Group Policy support for the fleet. An ADMX template publishes the Server URL to every machine and can turn Server-delivered updates, the PIN asked for at insertion, reader restarts and the machine's report off.
  • A signed installer. The MSI and every TrustBridge executable in it carry Lacuna Software's timestamped Authenticode signature, so Windows names the publisher and a policy that requires one accepts it.
  • Workstations that report their own condition. Each machine tells the Server about its tokens and how close each PIN is to locking, its middleware, readers Windows could not start and the errors it logged, and the admin console shows it to support. The Workstation Service also restarts a USB smart-card reader Windows failed to start. The report also names the Console Account, the Windows account signed in at the machine, and says whether its Tray App is running.
  • A Workstation's problems, spotted on the admin console. The Workstations screen shows who is at each machine's console and picks out the machines where somebody is signed in with no Tray App running, before anyone's signing call fails. It counts each machine's refusals of the last 24 hours, and its panel says each one in words, with what to ask the holder. The Signing Sessions and Signing Operations screens name the holder, the Client Application and the machine, and say why a run failed.
  • A machine moved to another Server from the console. An Administrator can transfer a connected machine to another TrustBridge Server: the machine checks the target, leaves behind what it held from the old Server, and asks the new one for admission with the same key.
  • For the holder at the machine. The Tray App can take a token's PIN as it is inserted, so the signatures that follow need no prompt. A TrustBridge shortcut in the Start menu reopens the Tray App, and replaces one that stopped answering. The Tray App's icon is badged once the machine has had no connection to the Server for 15 seconds, or the Tray App cannot reach its Workstation Service. See Workstation installation.
  • A Test Signature from a browser. An Administrator can sign a one-page document end to end from the admin console to prove a deployment works, and a deployment can offer the same form on its Landing Page. One run can sign up to 50 copies in a single batch call, the way an integrator would, the form keeps what was typed so that the next run is one press, and a run says how long each of its steps took, so a slow deployment can be told apart from a broken one.
  • Admin console in English or Brazilian Portuguese, with a Dashboard of Signing Activity and of what needs an Administrator. Admin console goes through it screen by screen.
  • Local admin accounts with a mandatory second factor. Two roles, Administrator and Auditor, TOTP enrollment, recovery codes stored hashed, and a deployment-level break-glass.
  • Optional Certificate Sign-In for administrators. Where a deployment turns it on, an Administrator or Auditor signs in with an ICP-Brasil e-CPF read through Lacuna Web PKI, matched against the Bound CPF another Administrator set on the account. A deployment can then switch password sign-in off.
  • No writable state on local disk. Both of the Server's key rings live in its own database, SQL Server or, on Docker, PostgreSQL 16 or later, sealed under a certificate you supply. A deployment is an image, a connection string, a Key Ring Protector and a PKI licence; an upgrade is a new image tag, and the Server applies its own schema migrations at start.
  • One instance, or several. A deployment runs one Server instance by default. It may run several behind a load balancer, joined by a Redis the deployment names: the instances agree through the database, Redis holds no state, and the API and the workstation protocol are the same whatever the count. See One instance, or several.
View as Markdown