Skip to content

Data integrity and audit controls#

This page maps the app's security and record-keeping features to the topics that data-integrity guidance usually asks about: 21 CFR Part 11, EU Annex 11 and the ALCOA+ principles. It describes the features the app provides and their limits.

Not a compliance claim

NucleI has not had a formal compliance assessment and is not certified against 21 CFR Part 11, EU Annex 11 or any other standard. This page is not a statement of conformity. Whether a controlled-use setup meets a regulation depends on procedures, configuration, the installation and validation, and validation is the customer's responsibility.

Features that need more than the app are described under Gaps to plan for, which doubles as the list of known limits. Profiles, signing and review are explained task by task in Security and review.

Control map#

Topic What the app does Where to read more
Audit trail Every operation the backend handles is recorded as an entry: the profile that did it, a start time (UTC with offset), duration, success flag, the operation name, attributes and events. Machine-generated traffic such as temperature polling, pings and list refreshes is excluded. Entries are numbered and chained, so removal or editing of an entry can be detected. Audit log
Audit trail protection Each entry is encrypted with the administrator's public key, so only the administrator can read it. Verify chain on the Audit page (administrator password) checks every entry and names the first broken entry. A record of the latest entry is also kept outside the audit folder, so replacing or rolling back the whole audit folder is detected. A background self-check runs at startup and during schedules, needs no password, and writes any damage it finds to the log, never as a popup. It does not prove the chain is valid. Audit log
Audit trail forwarding Optionally, every audit entry is also sent to the connected gateway, exactly as written locally: still encrypted to the administrator's key, with its number and hash. The gateway stores entries append-only for each installation, cannot read them, refuses an entry that does not continue its stored chain, and records its own receive time. Entries wait in a queue on the computer while the gateway is unreachable and are sent in order, from the background, when it returns. The local trail is always kept as well. The Audit page shows Forwarding to gateway: up to date, N waiting or chain mismatch, and the gateway's Audit trails page lists each installation's chain status and exports its encrypted entries for the auditor. Forwarding is on by default when a gateway that accepts forwarded trails is connected; a machine policy can turn it on or off and lock it. Forwarding the audit trail
Access control and roles Four roles: Admin, User, Read-only and, only when an administrator turns on Teaching features, Operator (a student at a shared lab PC). While a profile is open, every request from the interface passes a permission check before its handler runs: a Read-only profile reaches only a reviewed list of viewing, export and review requests, an Operator only the requests the administrator's operator policy allows, and administrator requests are refused to every other role. With no profile open there is nothing to check a request against, so the check does not run; see the known limits below. The role settings and the operator policy are protected against editing by other roles. Profiles created by directory sign-in get their role from the organisation's group mapping. The Audit page is Admin only. An Admin changes the role of an existing local profile, grants or removes Admin and revokes authorised devices in Manage profiles. Each change asks for the administrator password and is audited, and the last administrator cannot be removed. Profiles and roles
Password policy 8 to 256 characters; a common-password list, keyboard and repeating patterns and the profile name are rejected. Checked when a password is set or changed, not at sign-in. After five wrong passwords, at sign-in or when re-entering a password to sign, the profile is locked for 30 seconds, doubling up to 15 minutes. An administrator can set a password expiry in days (off by default); a profile whose password is older must set a new, different one at sign-in and is read-only until it does. Passwords and encryption
Two-step verification Optional 6-digit code from an authenticator app. After five failed codes entry is locked for 30 seconds, doubling up to 15 minutes. Ten single-use recovery codes are issued at setup. The state is stored in the encrypted profile. Two-step verification
Encryption at rest A profile with a password is encrypted. Its files are encrypted with a key that is protected by the password, and the key is held in the operating-system keyring while the profile is open. A 48-digit recovery key can also unlock it. Passwords and encryption
Record signing A digital signature covers the record, the signer's profile name, a UTC timestamp and the reason. It is stored beside the record in a .sig file with the signer's display name and an optional comment. Verification recomputes the hash; if the record changed, the signature is reported invalid. For a report, the hash also covers a digest of each rendered scan's data (its name, group and plot artwork excluded), the processing settings and the requested reviewer, and the signature records which scans these are, so a failed check names the scan that changed. A signature verifies only with a key of a profile on the computer, or a key pinned earlier for the same signer. Explicit signatures require the password again. Review, approval and responsibility signatures are refused on a profile without a password. Signing and review
Verified signer identity A signature is shown as Verified only when its key carries a certificate from an issuer the computer knows: the TQT Connect portal, or a gateway after directory sign-in or an LMS link. The certificate names the account the person signed in with and the key. A signature without one is a local signature. Verified identities
Signature meanings The reason is part of the signed payload and is shown with the signature: authorship (I created this record), review (I have reviewed this record), approval (I approve this record for use). A fourth reason, responsibility, exists in the backend; the review workflow does not use it. Signing and review
Review workflow Draft, In review, Changes requested, Approved. Each step is allowed by role and state. By default the author cannot also mark reviewed or approve; a profile that may modify data can change this per project in Review rules. Requesting changes and reopening an approved record require a reason. From the review request on, a report's signatures cover the template, the data of the scans it renders and the project processing settings; reviewers sign the data the request recorded, and approval is refused once that data changes. An approved report is locked: its content cannot be edited, replaced by another template or regenerated once its approval no longer verifies, or while it would render a scan the approval does not cover. Reopening it is audited with the profile and reason. The approved revision is kept intact in the review record (content, signatures, who reopened it, when and why), and the report continues as the next revision, a draft with no approval. Comments are threaded and can be resolved. Signing and review
Processing history Processed signals and spectra carry a list of the processing steps applied, shown on the History tab of the plot. Acquisition
Data retention See below.

ALCOA+ at a glance#

Principle Related features
Attributable Audit entries and signatures name the profile. Signatures also keep the display name at signing time.
Legible The Audit page shows a timeline, attributes and events per operation; signatures show their meaning in words.
Contemporaneous Audit entries and signatures are time-stamped when written. Signature and audit timestamps are UTC with an offset; the Audit page shows them in local time. Entries written by earlier versions carry local time without a zone and are kept unchanged, since the hash chain covers them as written.
Original Acquired scans are stored as recorded; processing is kept as a recorded list of steps.
Accurate Hash-based change detection for signed records, and the processing history. The app does not validate instrument calibration.
Complete, consistent, enduring, available See retention and the gaps below.

Forwarding the audit trail#

When forwarding is on, the app sends each audit entry to the gateway it is connected to, in addition to writing it locally. The gateway keeps one chain per installation and can check that each entry continues the chain, but it holds no key to read the entries. Decryption stays with the administrator key, offline.

  • Online: each entry is sent from a background thread shortly after it is written. Forwarding does not delay the operation that produced the entry.
  • Offline: entries wait in a queue in the audit folder, in the order they were written, and are sent when the gateway is reachable again. Nothing is dropped or reordered while it is away. Until an entry has been stored on the gateway it exists only on the computer.
  • Detection: the gateway refuses an entry that does not follow the last stored entry of the installation, and records the refusal. The app compares its newest entry with the gateway's from time to time. A difference, a gap, a trail that is behind the gateway's copy, or a gateway that lost entries it had confirmed is shown as chain mismatch on the Audit page and is reported by the background self-check as a suspect result. Queued entries are kept while a mismatch stands.
  • Local copy: the local trail is always kept. A setting that sends the trail to the gateway only, without a local copy, is not offered. The local trail is what the Audit page, Verify chain and the self-check read, and it records operations when no gateway is connected.
  • Settings: the Forwarding to gateway switch on the Audit page (administrator) and the audit section of the machine policy. On the gateway, audit.accept_forwarded and audit.retention_days (settings reference).

Data retention#

The app defines no retention period for scans or projects:

  • The local audit file is only appended to. The app does not rotate, prune or delete it.
  • The gateway's copy of a forwarded audit trail is kept for ever by default. The gateway setting audit.retention_days deletes forwarded entries older than the given number of days, keeping the newest entry of each installation.
  • Application logs, which are a separate file from the audit trail, rotate every 2 days and are deleted after 1 month by default.
  • Scans and projects stay until a user with modify rights deletes them. Deleting a profile removes its data.

Backup, archival and retention periods are procedures the site has to provide.

Gaps to plan for#

These are known limits, listed so that a site can decide on compensating procedures.

  • No audit entries are written until the first administrator exists. Entries are encrypted to the administrator's key, so the first-run steps that create that administrator, and anything done before, leave no entry.
  • The permission check needs an open profile. With none open (at start-up, after sign-out, or at the profile picker) it is skipped. Creating a profile in that state is limited to Read-only profiles. Until the first administrator exists the backend accepts only the first-run setup requests. Treat a PC left at the profile picker as unattended.
  • Without forwarding, the audit trail is a file on the computer. The hash chain, the anchor and the self-check make removal, editing or replacing the trail detectable. They do not prevent it, and someone who replaces both the audit folder and the anchor in the security store together is not detected. A clean self-check is not proof.
  • With forwarding on and a gateway that accepts it, replacing the audit folder and the anchor is detected, because the gateway holds the chain. What remains: entries not yet stored on the gateway (while it is unreachable, until it reconnects) exist only on the computer; entries written before forwarding was first on, or before the first administrator exists, are not on the gateway; forwarding applies only while a gateway that accepts forwarded trails is connected, and the app reports when it does not; and the gateway's copy is protected by how the gateway itself is administered and backed up.
  • The role of a directory profile comes only from the organisation's group mapping, and Manage profiles shows it read-only. Adding a device to the authorised-device registry has no screen in the app; listing the registry and revoking a device is in Manage profiles.
  • A profile without a password is not encrypted. It can still request a review, which records authorship, but cannot review or approve.
  • Two-step verification protects against a leaked password, not against copying the profile files.
  • A signing key belongs to a profile. It is tied to a named account only when it carries a certificate (see Verified signer identity above); the certificate names the account that signed in and does not establish the person's real-world identity, and a signature without a certificate is local. Identity checking when profiles are created is outside the app.
  • The password lock-out is in the app. The protected key file is on disk, so someone who copies it can still try passwords offline; the password-based protection only slows that down, so use a strong password.
  • When a template reads values that cannot be traced to particular scans (qNMR, DOSY, series, QC, custom or plugin values), its signatures cover every scan in the project and the project processing settings. They do not cover the computed values themselves.
  • Signatures made before report signatures covered scan data cover the template only. They are labelled Not bound to data and are not upgraded.
  • The local audit trail is not rotated or pruned, and retention periods for scans and projects are not defined by the app. The gateway's copy follows audit.retention_days when it is set.

What the customer is responsible for#

Intended-use validation, installation and operational qualification, written procedures for account management, backup and archival, training, and deciding which profiles hold which role. The app provides the controls above; it does not make a site compliant.