Skip to content

Open-source document signature platform. Not affiliated with DocuSign.

TypeScript

Release 0.8.0: editable consent disclosure and security fixes

Claudef05d1cf4b1d3
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34fe053..d2e50bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,14 @@ release says when it does.
## [Unreleased]
+## [0.8.0] - 2026-11-21
+
+An administrator can now write the words signers agree to before signing,
+and this release closes a set of security gaps found in a review of the
+code. Upgrading matters most for installs that use Part 11 mode, single
+sign-on or backups. This release changes the database: see the end of this
+entry.
+
### Settings
- An administrator can write the disclosure signers read and agree to before
@@ -23,9 +31,65 @@ release says when it does.
they read. The hosted service keeps the standard text (PR #193 by
@carefulcomputer).
-This needs one migration, `20261119130000_consent_disclosure.sql`, which adds
-the `app_settings.consent_disclosure` column. Until it has run, the setting
-reads as empty and signers see the standard text.
+### Security
+
+- Single sign-on counts an email address as verified only when the identity
+ provider says so (`email_verified` set to true, or Microsoft Entra's
+ `xms_edov`). Before, a provider that left the claim out was trusted.
+- In Part 11 mode, an administrator's identity confirmation now holds the
+ name and email address that were confirmed, and it counts only while the
+ account still has both. Changing either one needs a new confirmation
+ before the person can sign. Sending refuses a signer name that does not
+ match the confirmed name, signatures are made in the confirmed name, and
+ each signature checks again.
+- Restoring a backup ends the sessions, sign-in codes, emailed signing codes,
+ signing links and open signing-provider sessions it brought back, so a
+ restore cannot bring an ended session or link back to life. Download links
+ keep working. Restoring an older backup also fills in the rows that later
+ migrations backfill.
+- A certificate seals the audit trail as it stands while the envelope is
+ held, so an event recorded at the same moment cannot be left out.
+- Wrong access codes are counted per signer and code over a week, across
+ every link and address: after 10, the signer has to wait or ask the sender
+ for a new code. Tries sent at the same moment cannot slip past the count.
+- Public signing and download links are limited to 1,000 requests per
+ address every 10 minutes, and the text-fit check is limited per link.
+- Off Vercel, the visitor's address is read from the end of
+ `X-Forwarded-For`, where the last trusted proxy put it, so a visitor
+ cannot choose the address that rate limits count against.
+- A PDF with more than 1,000 pages is refused at upload.
+- Sending refuses a dropdown whose box is too small to show its choices
+ readably, so the signer is never handed one they cannot read.
+- Failed sign-ins to addresses that have no account are recorded in the
+ site audit trail, up to 20 an hour per address.
+
+### Upgrading
+
+If you use Part 11 mode, people whose confirmation came before this release
+keep it: the migration records their current name and address as the
+confirmed ones. From then on, a change to either needs an administrator to
+confirm the person again.
+
+This release changes the database, in three migrations:
+
+- `20261119130000_consent_disclosure.sql` adds the
+ `app_settings.consent_disclosure` column. Until it has run, the setting
+ reads as empty and signers see the standard text.
+- `20261120100000_identity_verified_snapshot.sql` adds
+ `identity_verified_name` and `identity_verified_email` to the `user` table
+ and fills them for people already confirmed.
+- `20261120110000_repair_edited_migrations.sql` adds columns that a database
+ which ran an early copy of three 0.5 and 0.7 migrations lacks (a preview
+ deployment sharing the production database, for one). On a database that
+ ran the final copies it changes nothing.
+
+On Vercel the production build applies the migrations. On other hosts, run
+`npm run db:migrate` as on every deploy.
+
+Thank you to @carefulcomputer, who built the editable consent disclosure in
+#193: the setting, the version that follows the text, and the care to keep
+the hosted service on the standard words. It gave this release its headline
+feature, and the E-SIGN notice was added on top of their work.
## [0.7.0] - 2026-11-20
@@ -605,6 +669,7 @@ checked against the real services:
SignuDoc is software, not legal advice. See the README's legal disclaimer.
+[0.8.0]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.8.0
[0.7.0]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.7.0
[0.6.0]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.6.0
[0.5.2]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.5.2
diff --git a/package-lock.json b/package-lock.json
index 43ea64a..d0a5a04 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "signudoc",
- "version": "0.7.0",
+ "version": "0.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "signudoc",
- "version": "0.7.0",
+ "version": "0.8.0",
"license": "MIT",
"dependencies": {
"@pdf-lib/fontkit": "^1.1.1",
diff --git a/package.json b/package.json
index 27d7d40..6992dd7 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "signudoc",
- "version": "0.7.0",
+ "version": "0.8.0",
"license": "MIT",
"private": true,
"engines": {