Skip to content

Signing asset policiesπŸ”—

Asset policies control access to your data and are stored on the Federation Orchestrator. The Apheris product offers the option for you to sign those policies if this option has been selected for this Compute Gateway upon deployment.

Signing is a cryptographic operation that ensures the policies used on your Compute Gateway cannot be tampered with.

Requirements for using asset policy signingπŸ”—

Signing an asset policyπŸ”—

Signing stepsπŸ”—

  1. You use your private signing key (existing or freshly generated) to create the digital signature in the Governance Portal.
  2. The policy and signature are sent to the Orchestrator via the Governance Portal.
  3. Upon evaluation of an asset policy, the Compute Gateway retrieves the asset policy and its signature from the Orchestrator.
  4. The Gateway verifies the integrity of the asset policy by verifying the signature with the respective certificate.

Obtaining Signing KeysπŸ”—

We require signing keys to be RSA in PKCS 8 format, and the Compute Gateway requires an X.509 certificate to verify signatures. You can create both with OpenSSL:

openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out private-key-pkcs8.pem
openssl req -new -x509 -key private-key-pkcs8.pem -out certificate.pem -days 3650 -subj "/CN=asset-policy-signing"

Then:

Viewing Signatures in the Governance PortalπŸ”—

Navigate to the Asset Policy Overview tab.

Within the overview tab, a closed black lock icon will indicate a properly signed asset policy (see image below).

If an asset has not been properly signed, you will see an open lock icon colored red.

asset-policies-signature.png

Signing via the Governance PortalπŸ”—

The most convenient way is to sign via the β€œin the browser” option. For this option, you must import your private key into the Apheris Governance Portal. The private key is stored via the native web crypto API in a read-only storage. It is never uploaded to a server.

signing-via-governance-portal.png

The key will be stored in your browser until you delete it. You can sign multiple asset policies without importing the key again. Please make sure that your browser is secure when using this option.

Updating signed asset policiesπŸ”—

You can update signed asset policies at any time. Asset policies will be signed automatically once you have imported your private key into the Governance Portal.

Signing for organizations with multiple gatewaysπŸ”—

When your organization has multiple gateways set up that have mixed requirements for signing asset policies your asset policies can have the following status:

  • signing is not required
  • the signature is missing
  • the signature is not valid
  • the signature is valid

Asset Policies with different signing stati

When selecting datasets, the lock icon indicates if a dataset is located on a gateway that requires signing. When such a dataset is added, the signing widget will appear below.

Lock icon on dataset indicates signing required during asset policy creation