# India, employee key custody and FreeTSA — research, 2026-11-18

Research only: no key generation, LDAP changes, service integration, document
uploads or product requirement changes. Complements `.scratch/pdf-signatures.md`.

## Key custody recommendation

PAdES uses CMS/X.509 certificate-based signatures, not OpenPGP/GPG signature
packets. Reusing a cryptographic algorithm does not make GPG keys/certification
or an OpenPGP signature directly interoperable with PAdES. An X.509 issuing and
trust process is needed for the proposed interoperable PDF signature design.

LDAP can publish the employee's PUBLIC X.509 certificate using the standard
`userCertificate;binary` attribute (RFC4523 section4.1), plus nonsecret IDs or
key handles. LDAP ACLs/TLS and disk encryption do not by themselves make it an
employee-controlled private-key signing device: directory admins, backups and
server credentials may expose/use the key; if Signet can decrypt/use a key
without the employee, it can sign without them. Encrypted software key stores
exist but must not be conflated with hardware non-exportability or legal key
control requirements. Do not introduce private key blobs into LDAP as a
security shortcut.

For an Indian employee DSC workflow, investigate a CCA-licensed CA-issued
certificate with the required token/key-storage policy, or a CCA-framework
remote eSign provider providing signer authentication/consent. HSM storage is
not sufficient on its own: identity verification, per-signature authorization,
key control, revocation/renewal and audit also matter. A single organisational
signing key has a different meaning than a personal employee signature.

## India: format vs legal status

PAdES is a PDF signature format, not an Indian CA licence or blanket legal
approval. The CCA guidance identifies licensed CAs for DSC issuance and a
rooted India PKI; eSign guidance describes licensed providers, signer consent,
e-KYC, certificate issuance and signatures under the IT Act. Merely generating
keys/self-issued certificates and producing a conforming PAdES-B-T file does
not establish compliance with that recognised DSC/eSign framework.

No source reviewed here declares all PAdES-B-T documents accepted for every
Indian transaction or mandates PAdES-B-T for this payroll acknowledgement.
Use it as an interoperable engineering target with the appropriate licensed
DSC/eSign process if recognised Indian digital signatures are required. Check
specific accepting-system/document and employment-record requirements. Internal
self-issued signatures may provide integrity/evidence but must not be advertised
as equivalent to the regulated DSC route; admissibility/presumptions are not
settled by a format choice. This is technical research, not a legal opinion.

## FreeTSA suitability

The service advertises RFC3161 timestamps and publishes its own TSA/CA
certificates. Its first-party usage policy explicitly says:

- Public endpoint: maximum ONE timestamp request/second/IP.
- Commercial use permitted without a separate commercial licence.
- Best effort, NO availability/uptime/response/restoration guarantee or SLA.
- Even dedicated instances are described as best effort without formal SLA.

A timestamp binds a trusted time to a hash; it does not establish employee
identity/consent or upgrade a self-issued employee certificate to an Indian
licensed-CA DSC. For PAdES B-T the signature timestamp must be incorporated in
the required structure (normally a timestamp of the signature value), not just
an arbitrary whole-file `.tsr` stored alongside the PDF.

Timestamp trust depends on certificate chain, policy, algorithms and verifier
trust configuration. Publishing a root certificate is not proof that ordinary
PDF viewers or Indian recipients trust it. No AATL/EUTL/India-PKI recognition
for FreeTSA was established in this research; do not claim it is absent from
all trust programs merely because these sources do not establish it.

CCA's time-stamping guidance points subscribers to CA time-stamping services,
notes these services are mandated for CAs, and specifies NPLI time sourcing for
reliability. FreeTSA was not established as equivalent to that framework.
For production Indian regulated signatures, prefer a licensed CA/provider's
appropriate timestamp service and confirm recipient requirements; FreeTSA is a
reasonable RFC3161 interoperability/prototype candidate, not an unqualified
compliance/availability dependency.

A production B-T requirement introduces a network dependency. Validate timestamp
responses and expected hash/nonce/policy/chain, retain evidence and historical
trust material, obey rate limits, and make unavailable timestamps retryable.
Never silently release a B-B signature labelled B-T. Do not send the real PDF
or private key to a TSA; RFC3161 uses a hash imprint. Hash-only submission still
reveals request timing/network metadata and may enable correlation of known
content; avoid claiming it reveals nothing.

## Primary sources consulted

- LDAP X.509 public certificate attribute: RFC4523 section4.1:
  https://www.rfc-editor.org/rfc/rfc4523
- Timestamp protocol, hash-only service and verification requirements:
  https://www.rfc-editor.org/rfc/rfc3161
- CCA DSC issuance and key-storage policy references:
  https://cca.gov.in/digital_signature.html
- CCA India PKI explanation:
  https://cca.gov.in/india_pki.html
- CCA eSign explanation (consent/e-KYC/licensed providers/HSM one-use keys):
  https://cca.gov.in/eSign.html
- CCA licensed CA list (consulted, not reproduced as a frozen list):
  https://cca.gov.in/licensed_ca.html
- CCA time-stamping guidance:
  https://cca.gov.in/time_stamping_service.html
- FreeTSA service/protocol and certificates:
  https://freetsa.org/index_en.php
- FreeTSA published usage/availability/commercial policy:
  https://freetsa.org/freetsa.html

These primary pages were retrieved this session; public copies are outside the
repository in `~/.local/var/signet-work/`. The normative current India CP and all
applicable legal/rule texts were NOT exhaustively reviewed. Before selecting a
provider, confirm current CCA policy, licence scope, certificate/key-storage
requirements, TSA policy and intended recipient validation. No signing component
was selected, installed, benchmarked or certified against Signet's60MB target.
