Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 872 Bytes

File metadata and controls

21 lines (13 loc) · 872 Bytes

SecRandom SecAgent Plugin

This is the native SecRandom plugin that provides the local loopback API consumed by the SecRandom SecAgent connector.

It replaces the former built-in SecAgent services in the SecRandom application:

  • http://127.0.0.1:3910/api/secagent/v1/students
  • http://127.0.0.1:3910/api/secagent/v1/draw/students
  • best-effort installation/update of the secrandom connector in a running SecAgent

The plugin is packaged as srpx/SecRandom.SecAgentPlugin.srpx.

Build

dotnet build -c Release -p:CreateSrpx=true

The published build uses SecRandom.PluginSdk 3.0.0-alpha.2. For a checkout that also contains the SecRandom host source, use -p:UseLocalPluginSdk=true -p:LocalSecRandomRoot=<path-to-SecRandom>.

Copy the generated SRPX package into SecRandom's data/cache/plugin-packages directory and restart SecRandom.