Skip to content

Expose journalist public key to sd-app #2817

@legoktm

Description

@legoktm

Currently sd-client uses qubes-split-gpg to encrypt journalist replies, in the new app we are shifting to doing the encryption in the app itself; this is because we don't actually need access to the private key to encrypt a message, we just need the public key.

In dom0/sd-gpg we have access to the private key, we would need to extract the public key out of it.

Some potential options:

  1. During provisioning, export the public key and set it in QubesDB for sd-app
  2. In sd-app, export the public key from sd-gpg using qubes-split-gpg (as a persistent thing? on boot?)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready to go

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions