Skip to content

Failed to sign commit with passphrase #10

@crazy-max

Description

@crazy-max

If you try to create a commit with this action, it will fail if your GPG key has a passphrase:

$ git add .
$ git commit -S -m "Signed commit"
error: gpg failed to sign the data
fatal: failed to write commit object
##[error]Process completed with exit code 128.

gpg-preset-passphrase seeds the internal cache of gpg-agent as expected with this action but looks like there is something wrong with cache lookup or maybe pinentry-program needs to be tuned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions