SenseCrypt eID v3.0.7
  • Introduction
    • Privacy Preserving Biometric Verifiability
    • Principles of Privacy Preserving Face Verification
  • SenseCrypt Server
    • Licensing and Authorization
    • Starting the server
    • Using the Swagger Docs page
      • Authorization
      • Generating your first SensePrint eID QR
      • Generating a raw SensePrint
      • Decrypting a raw SensePrint
    • Accessing the server for testing
    • Liveness Image Requirements
  • SenseCrypt Mobile SDKs
    • Licensing and Authorization
    • Android SDKs
    • iOS SDKs
  • Conclusion
Powered by GitBook
On this page
  1. SenseCrypt Server

Starting the server

How to start the Docker container

Our Docker images can run on either CPU or on GPU.

If you have been provided the CPU image, you can choose to run it either on Intel processors or x86-64 compatible processors such as those from AMD.

Our software is highly optimised to run on the latest Intel CPUs (4th Gen Xeon - Sapphire Rapids or later).

As the first step, you need to load the Docker image from the provided file.

For Intel CPUs:

docker load -i sensecrypt-server-sdk-ov.tar

For non-Intel CPUs:

docker load -i sensecrypt-server-sdk.tar

For NVIDIA GPUs:

docker load -i sensecrypt-server-sdk-cuda.tar

Assuming you have followed the previous section and have a server.lic file and a secrets.json file in the root folder, you can start the server via the script below. This script will start a docker container of the Server SDK image and copy the license and secrets information into that container:

Linux:

./start-docker-with-license.sh

Windows:

start-docker-with-license.bat

Once the server is running, you can access the OpenAPI Swagger Docs page by going to a browser on the local machine via:

http://localhost:7777/docs

The Swagger Docs page is useful to test the web APIs from your browser. The Swagger framework allows developers to create interactive, machine and human-readable API documentation. It is the framework that REST API developers are most familiar with.

We also provide RapiDoc documentation that is better looking and easier to read:

http://localhost:7777/rapidoc

Every time a Docker container is restarted, it assumes a new ID. Since only 5 concurrent IDs are allowed (by default) in the license, you might encounter an error if you frequently start/stop the Docker images. Thus, it is recommended to start a Docker image only once and let it run.

PreviousLicensing and AuthorizationNextUsing the Swagger Docs page

Last updated 1 year ago