Differences between revisions 3 and 14 (spanning 11 versions)
Revision 3 as of 2007-01-17 21:21:41
Size: 823
Editor: mon69-3-82-235-37-168
Comment: fix typo
Revision 14 as of 2013-01-23 04:45:24
Size: 1216
Editor: rcl
Comment: updated style
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== GPG extension == = GPG extension =
Line 4: Line 4:
=== Overview ===
This extension allows to sign mercurial revisions, checking them or list the signed changesets.
''Author: Benoit Benissot''
Line 7: Line 6:
=== Configuration === <<TableOfContents>>

== Overview ==
This extension allows for signing of Mercurial revisions, checking them or listing of signed [[ChangeSet|changesets]].

== Configuration ==
Line 12: Line 16:
gpg= hgext.gpg=
Line 15: Line 19:
Use the '[gpg]' stanza for optional configuration tweaks for the extension: Use the `[gpg]` stanza for optional configuration tweaks for the extension:
Line 21: Line 25:
key=/path/to/key key=KEYID
Line 24: Line 28:
=== Usage === == Usage ==
Line 35: Line 39:
Use {{{hg help}}} for additional options. Use `hg help` for additional options.

(!) If you want to make sure only signed changesets are pushed to a repository, you could use the [[http://code.google.com/p/hghooklib/wiki/CheckGpgSig|CheckGpgSig]] hook which is part of [[http://code.google.com/p/hghooklib|HgHookLib]] project.

== See also ==
 * [[CommitsigsExtension]]

----
CategoryBundledExtension

GPG extension

This extension is currently being distributed along with Mercurial.

Author: Benoit Benissot

Overview

This extension allows for signing of Mercurial revisions, checking them or listing of signed changesets.

Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
hgext.gpg=

Use the [gpg] stanza for optional configuration tweaks for the extension:

[gpg]
# if cmd is not provided it defaults to gpg
cmd=/path/to/gpg-command-to-use
# key is optional and can be provided on the command line
key=KEYID

Usage

Sign one or more revisions: hg sign [OPTION]... [REVISION]...

Check signed revision: hg sigcheck REVISION

List signed revisions: hg sigs

Use hg help for additional options.

(!) If you want to make sure only signed changesets are pushed to a repository, you could use the CheckGpgSig hook which is part of HgHookLib project.

See also


CategoryBundledExtension

GpgExtension (last edited 2013-09-03 03:39:42 by KevinBot)