PHPackages                             mitid-digital-signature/os2forms\_dig\_sig\_server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mitid-digital-signature/os2forms\_dig\_sig\_server

ActiveDrupal-module

mitid-digital-signature/os2forms\_dig\_sig\_server
==================================================

This module provides Digital signature server functionality for Digital Signature clients

021[1 issues](https://github.com/MitID-Digital-Signature/os2forms_dig_sig_server/issues)PHP

Since Mar 11Pushed 1w agoCompare

[ Source](https://github.com/MitID-Digital-Signature/os2forms_dig_sig_server)[ Packagist](https://packagist.org/packages/mitid-digital-signature/os2forms_dig_sig_server)[ RSS](/packages/mitid-digital-signature-os2forms-dig-sig-server/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

OS2Forms Digital Signature server module
========================================

[](#os2forms-digital-signature-server-module)

Module purpose
--------------

[](#module-purpose)

This module provides Digital signature server functionality for Digital Signature clients, implemented by this module ([https://github.com/OS2Forms/os2forms/tree/develop/modules/os2forms\_digital\_signature](https://github.com/OS2Forms/os2forms/tree/develop/modules/os2forms_digital_signature)) and have to be installed on a server along with this backend component ()

How does it work
----------------

[](#how-does-it-work)

This module is passively waiting for the requests on endpoint `/sign`. The request type is identified by the `action` argument. Supported operations:

- `getcid`: Retrieves a correlation ID (randon UUID)
- `sign`: Initiates a signing process for the specified `URI`, `forward URL`, and `hash`.
- `cancel` or `result`: Processes the result or cancels an operation using information from the specified file.
- `download`: Send the file for downloading, optionally retaining it based on the `leave` parameter.

Settings page
-------------

[](#settings-page)

The module provides a configuration form at `/admin/os2forms_dig_sig_server/settings`The following settings are available:

- **Signing server URL**

    The base URL of the signing service. Example: `https://signering.bellcom.dk`
- **Allowed domains**

    A comma-separated list of allowed domains from which signing requests are accepted. Example: `sign.localhost, sign.local, localhost, example.vhost.com`
- **Files working directory**

    Directory where the source and signed PDF files will be stored. For security reasons, use `private://` or a path outside the Drupal web root.
- **Hash Salt used for signature**

    Secret string used when generating and verifying hashes. Must match the hash salt configured on the signature client.
- **Enable debug mode**

    When enabled, debug messages about signing operations are logged to Drupal watchdog.

Nginx configuration
===================

[](#nginx-configuration)

The installation implementing Digital Signature must have this canonical redirect for /sign.php

```
if ($request_uri ~* ^/sign\.php(?:\?|$)) {

    return 301 /sign?$args;

}

```

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance64

Regular maintenance activity

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/134c42b216718e3d28298bcec8772eeb309c8c94afff3462dac1245b06c06cc5?d=identicon)[stanbellcom](/maintainers/stanbellcom)

---

Top Contributors

[![stankut](https://avatars.githubusercontent.com/u/1537807?v=4)](https://github.com/stankut "stankut (11 commits)")[![ds-bellcom](https://avatars.githubusercontent.com/u/139229719?v=4)](https://github.com/ds-bellcom "ds-bellcom (2 commits)")[![skifter](https://avatars.githubusercontent.com/u/827308?v=4)](https://github.com/skifter "skifter (1 commits)")

### Embed Badge

![Health badge](/badges/mitid-digital-signature-os2forms-dig-sig-server/health.svg)

```
[![Health](https://phpackages.com/badges/mitid-digital-signature-os2forms-dig-sig-server/health.svg)](https://phpackages.com/packages/mitid-digital-signature-os2forms-dig-sig-server)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
