Skip to content

Native support for CLA sign-off (starting with DCO) #326

@marshall007

Description

@marshall007

Description

https://en.m.wikipedia.org/wiki/Developer_Certificate_of_Origin

I believe the typical requirement for DCO commits is the same as committer verification in gitsign (i.e. that the identity matches the commit author).

I think there are two integration points worth considering:

  1. when a commit message contains a Signed-off-by line, enable gitsign.matchCommitter unless it is explicitly set to false
  2. add support for specifying well-known CLAs in the form of extra scopes requested during the OAuth flow

Perhaps these scopes could be specified in the form of URNs (ex. urn:sigstore:gitsign:cla:dco)? Sigstore can then present the requested CLA(s) to the developer on the OAuth consent screen.

TBD how we map the acceptance of requested scopes into the JWTs and ultimately the signing certificate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions