Skip to content

io.systemd.Report.Signer

Backend API for signing reports. This interface shall be implemented by services linked into /run/systemd/report.sign/.

Property Value
Go package github.com/rossedman/sdvarlink/systemd/latest/reportsigner
Available since systemd v262
Methods · types · errors 1 · 0 · 0

Methods

Sign

Sign a report, identified by a digest. This may return zero, one or more signatures, as appropriate. For example some backend might have multiple keys or algorithms available, that are appropriate, in which case it can generate multiple signatures.

func (c *Client) Sign(ctx context.Context, in SignIn) (*SignOut, error)

Parameters

Field Type Description
digest string The digest of the data to sign.
algorithm string The digest algorithm used for the digest field above. For now this is always SHA256, but this might be changed eventually.

Reply

Field Type Description
data []object An array of signature objects