Open-source document signature platform. Not affiliated with DocuSign.
TypeScript
Bring the README up to date with sign-in security, backups and admin features
Claudec0e893a52ba7
diff --git a/README.md b/README.mdindex fd3433f..0910d39 100644--- a/README.md+++ b/README.md@@ -60,11 +60,11 @@ For documents that need more than an email link, ask a signer for an access code### Follow every envelope-The dashboard shows each document as a card with its first page, its status (draft, sent, completed, declined, voided or expired) and who it waits on, with search and a status filter. Each envelope has its own signing deadline, from 3 to 90 days, which you can change while it is out, and automatic reminders every 1, 2, 3 or 7 days, on top of the reminder you can send by hand.+The dashboard shows each document as a card with its first page, its status (draft, sent, completed, declined, voided or expired) and who it waits on, with search and a status filter. Each envelope has its own signing deadline, from 3 to 90 days, which you can change while it is out, and automatic reminders every 1, 2, 3 or 7 days, on top of the reminder you can send by hand. If a signer's email address was wrong, correct it after sending: the old link stops working and the new address gets a fresh invitation. A finished envelope can be copied into a new draft with the same document, signers and fields.-+-+### Templates for the documents you send every week@@ -86,6 +86,17 @@ Signers see your organization, not SignuDoc. Give the install your name, logo anThe first account is the administrator, and you can make more. Choose who may create an account: people at your email domains, nobody, or anyone. People who only sign never need one. Set how long finished documents are kept, and answer a signer who asks for their data with a built-in export or erasure tool.+Administrators see every member's sent and finished envelopes in an "Everyone's" view of the dashboard, and can delete a finished one: it is deleted 14 days later, after the sender has been emailed, and any administrator can cancel in between. Drafts stay private to the person writing them.++### Sign-in security, backups and audits++- **Single sign-on** over OpenID Connect, with Okta, Microsoft Entra ID, Google Workspace and others, and password sign-in turned off if you want.+- **Two-step sign-in** with an authenticator app and backup codes, which administrators can require of everyone.+- **Session limits and lockout**: sign people out after a time without use, and stop sign-in for an address after ten wrong passwords.+- **A site audit trail** of sign-ins, role changes, deletions and settings, also written to the function logs as JSON so a Vercel log drain can deliver it to your SIEM.+- **Daily backups** of the database and files to a second private Blob store, with a script that restores them. See [Backup and restore](docs/backup-and-restore.md).+- **A SOC 2 pack** for organizations that put their install in an audit: a control map, vendor duties, questionnaire answers and sample policies, in [docs/soc2](docs/soc2/README.md).+### On your phoneSignuDoc works on small screens as well as large ones: check on your documents from your phone, and signers sign from theirs.@@ -99,7 +110,7 @@ SignuDoc works on small screens as well as large ones: check on your documents fDocuSign does more, and charges for it per user. SignuDoc does the everyday signing loop well, and it's yours. DocuSign's plans are as [DocuSign listed them](https://ecom.docusign.com/plans-and-pricing/esignature) in November 2026, for the US.<p align="center">- <img src="docs/images/compare.png" alt="SignuDoc and DocuSign eSignature side by side, each with a green check for: signing without an account; signing order and copy recipients; signature, initials, date, text and checkbox fields; dropdown and radio button fields (on DocuSign: Business Pro, $45 a seat); reusable templates; deadlines and automatic reminders; your own logo and brand color (on DocuSign: from Standard, $30 a seat); accounts for your whole team (on DocuSign: from Standard); consent to electronic records; audit trail and certificate of completion; a tamper-evident seal on the finished PDF; and working on a phone. To tick every box on DocuSign you need Business Pro at $45 per user a month.">+ <img src="docs/images/compare.png" alt="SignuDoc and DocuSign eSignature side by side, each with a green check for: signing without an account; signing order and copy recipients; signature, initials, date, name, text and checkbox fields; dropdown and radio button fields (on DocuSign: Business Pro, $45 a seat); reusable templates; deadlines and automatic reminders; your own logo and brand color (on DocuSign: from Standard, $30 a seat); accounts for your whole team (on DocuSign: from Standard); consent to electronic records; audit trail and certificate of completion; a tamper-evident seal on the finished PDF; working on a phone; two-step sign-in; and single sign-on (on DocuSign: Enhanced, priced by sales). To tick every box on DocuSign you need Enhanced; Business Pro, at $45 per user a month, ticks all but single sign-on."></p><p align="center">@@ -130,10 +141,12 @@ DocuSign does more, and charges for it per user. SignuDoc does the everyday sign| **Access code and emailed one-time code** | ✅ | ✅ plus SMS, phone, knowledge-based questions and ID checks, as paid add-ons || **Consent to electronic records** | ✅ versioned, recorded in the audit trail | ✅ || **Sealed PDF and certificate of completion** | ✅ PAdES seal, self-signed by default or your own trusted certificate, long-term validation (B-LTA) with a timestamp server | ✅ seal trusted by PDF readers |-| **Audit trail** | ✅ hash-chained | ✅ |+| **Audit trail** | ✅ hash-chained, and sent to your SIEM through a log drain | ✅ || **Checking a signed copy** | ✅ the seal in a PDF reader, and a public Verify page on your own site | ✅ the seal in a PDF reader || **Retention rules and signer data requests** | ✅ built in | ✅ || **Phones** | ✅ in the browser | ✅ native iPhone and Android apps |+| **Two-step sign-in** | ✅ authenticator app, and administrators can require it | ✅ |+| **Single sign-on** | ✅ OpenID Connect, in every install | ✅ SAML, on Enhanced, priced by sales |### Where DocuSign does more@@ -145,9 +158,8 @@ DocuSign does more, and charges for it per user. SignuDoc does the everyday sign| **API and webhooks** | — not yet | ✅ API plans from $50 a month || **Integrations** | — | ✅ 1,000+, including Salesforce, Microsoft and Google || **Languages** | — signing pages in English | ✅ signing in 44 languages |-| **Single sign-on** | — email and password | ✅ SAML SSO on Enhanced || **Advanced and qualified signatures (eIDAS)** | With a provider you add: eID Easy or a CSC remote signing service | ✅ |-| **HIPAA, 21 CFR Part 11, certifications** | Part 11 mode; you validate | ✅ on Enhanced or as add-ons |+| **HIPAA, 21 CFR Part 11, certifications** | Part 11 mode and a SOC 2 pack; you validate and get audited | ✅ on Enhanced or as add-ons || **Support** | GitHub issues | ✅ 24/7 on Enhanced |If your agreements run through Salesforce, need SMS checks or ID document checks, or go out by the thousand in bulk, DocuSign earns its price. If you want to send everyday agreements, keep the evidence, and own the whole thing, SignuDoc is built for you.@@ -180,6 +192,8 @@ Each free plan has its own monthly allowance, and the smallest one sets the limi| **Database**, on [Neon](https://neon.com/faqs/free-plan-limits-and-quotas) | 1 GB and 100 compute hours | About 400 hours a month with the database awake. It sleeps when nobody is using the site. || **Hosting**, on Vercel Hobby | More than the rows above will use | Any number of people. Vercel [limits Hobby to personal, non-commercial use](https://vercel.com/docs/limits/fair-use-guidelines). |+Daily backups are off unless you turn them on. On Vercel Hobby a backup store in the same account shares the same free Blob storage, so turning them on halves how many finished documents the free plan keeps.+None of these plans bills you for going over. It stops instead: files cannot be read, email is not sent, or the database pauses. The monthly allowances come back when the month turns over. The two 1 GB limits do not, because stored files and database rows stay until they are deleted: make room by deleting old documents, or by setting how long finished documents are kept under Settings, Organization. Better still, move up before you reach a limit, not after.### Past the free plans@@ -222,8 +236,8 @@ Files stay on disk and emails are written to `.data/outbox` instead of being sen## Built on Vercel-- **Vercel-native from end to end.** Next.js 16 on Vercel Functions, Neon Postgres and Resend from the Vercel Marketplace, private Vercel Blob storage with direct browser uploads, a daily Vercel cron job for reminders and cleanup, and optional [Vercel BotID](https://vercel.com/docs/botid).-- **Secure by default.** Private file storage with no public URLs, a strict Content Security Policy, rate limits kept in Postgres, signing links that are hashed at rest, and a setup page that only the first visitor, or the holder of a `SETUP_TOKEN`, can use.+- **Vercel-native from end to end.** Next.js 16 on Vercel Functions, Neon Postgres and Resend from the Vercel Marketplace, private Vercel Blob storage with direct browser uploads, daily Vercel cron jobs for reminders, cleanup and backups, and optional [Vercel BotID](https://vercel.com/docs/botid).+- **Secure by default.** Private file storage with no public URLs, a strict Content Security Policy, rate limits kept in Postgres, signing links that are hashed at rest, sign-in lockout, and a setup page that only the first visitor, or the holder of a `SETUP_TOKEN`, can use.- **Tested.** Unit tests, database tests against a real Postgres, and a browser test that sets up a fresh install, sends a document and signs it, run on every pull request.## Using SignuDoc for real agreements@@ -244,7 +258,10 @@ Your install carries your organization's name, and your organization is responsi## Learn more-- [Self-hosting guide](docs/self-hosting.md): deploying, first-run setup, what it costs, your own domain, updates, the EU, the seal, cleanup, rate limits, bot protection and every optional setting.+- [Self-hosting guide](docs/self-hosting.md): deploying, first-run setup, what it costs, your own domain, updates, sign-in security and single sign-on, the EU, the seal, cleanup, rate limits, bot protection and every optional setting.+- [Backup and restore](docs/backup-and-restore.md): daily backups to a second Blob store, and restoring one.+- [SOC 2 pack](docs/soc2/README.md) and [Part 11 validation pack](docs/part11/README.md): starting documents for an audit or a validation.+- [Deploying with an AI agent](docs/deploy-with-an-agent.md): every screen of the deploy, for an agent that uses your browser.- [Development](docs/development.md): running SignuDoc locally, storage, the database, email, tests and the code's layout.- [Contributing](CONTRIBUTING.md) and [Security](SECURITY.md).diff --git a/docs/images/compare.png b/docs/images/compare.pngindex 2b9b806..0d37196 100644Binary files a/docs/images/compare.png and b/docs/images/compare.png differdiff --git a/docs/images/dashboard.png b/docs/images/dashboard.pngindex 57a9a1d..aefeaff 100644Binary files a/docs/images/dashboard.png and b/docs/images/dashboard.png differdiff --git a/docs/images/envelope.png b/docs/images/envelope.pngindex c8c4e70..73354fb 100644Binary files a/docs/images/envelope.png and b/docs/images/envelope.png differdiff --git a/docs/images/prepare.png b/docs/images/prepare.pngindex daf36e5..a7bf8c3 100644Binary files a/docs/images/prepare.png and b/docs/images/prepare.png differ