Skip to content

FR: Sequoia-PGP (sq) signing backend #8530

@dallinhuff

Description

@dallinhuff

I use sq for creating & managing my PGP keys and would like to use it as a signing backend for my jj changes/commits, but it is not compatible with any existing signing backend that jj provides.

I would like a SqBackend in jj-lib that uses the sq CLI to verify and sign commits.


Describe alternatives you've considered

  • Configuring the gpg backend to use sq instead (doesn't work, CLI arguments are different)
  • Exporting my sequoia keys for use with gpg/gpg-agent. While this technically works as a workaround, it means having to use both sq and gpg which is undesirable.

Additional context

I'm happy to contribute a PR to add this functionality. The existing GpgBackend and tests look very instructive as to what would be needed for a SqBackend. The SigningBackend trait looks flexible enough to be easily implemented with the sq CLI as a backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions