]> source.dussan.org Git - jgit.git/commit
Allow CommitCommand to sign commits 02/133402/14
authorGunnar Wagenknecht <gunnar@wagenknecht.org>
Wed, 5 Dec 2018 19:39:07 +0000 (20:39 +0100)
committerGunnar Wagenknecht <gunnar@wagenknecht.org>
Wed, 16 Jan 2019 09:05:09 +0000 (10:05 +0100)
commit2343c688b19d9bce4e75ada280be44043ad2dca2
tree061a681b16149286495972906d340c9bea8e51d4
parent159968abc4fad1546ff7651450067b8cbce3bf2a
Allow CommitCommand to sign commits

This change introduces the concept of a GpgSigner which will sign
commits. The GpgSigner will be of a specific implementation (eg.,
Bouncycastle or OpenPgP executable). The actual implementation is not
part of this change.

Bug: 382212
Change-Id: Iea5da1e885c039e06bc8d679d46b124cbe504c8e
Also-by: Medha Bhargav Prabhala <mprabhala@salesforce.com>
Signed-off-by: Medha Bhargav Prabhala <mprabhala@salesforce.com>
Signed-off-by: Gunnar Wagenknecht <gunnar@wagenknecht.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/CommitBuilderTest.java [new file with mode: 0644]
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/errors/UnsupportedSigningFormatException.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/CommitBuilder.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/GpgSignature.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/lib/GpgSigner.java [new file with mode: 0644]