Differences between revisions 2 and 9 (spanning 7 versions)
Revision 2 as of 2012-04-17 22:26:48
Size: 982
Editor: rwc-vpn
Comment:
Revision 9 as of 2012-05-04 16:11:06
Size: 1484
Editor: c-76-126-113-81
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
This extension allows the factotum facility on Plan 9 from Bell Labs platforms
to provide authentication information for HTTP access. Configuration entries
specified in the {{{auth}}} section as well as authentication information provided
in the repository URL are fully supported. If no prefix is specified, a value
of {{{*}}} will be assumed.
This extension allows the [[http://plan9.bell-labs.com/magic/man2html/4/factotum|factotum(4)]] facility on [[http://www.plan9.bell-labs.com/|Plan 9 from Bell Labs]] platforms to provide authentication information for HTTP access. Configuration entries specified in the {{{auth}}} section as well as authentication information provided in the repository URL are fully supported. If no prefix is specified, a value of {{{*}}} will be assumed.
Line 15: Line 11:
  proto=pass service=hg prefix=<prefix> user=<username> !password=<password> proto=pass service=hg prefix=<prefix> user=<username> !password=<password>
Line 18: Line 14:
If the factotum extension is unable to read the required key, one will be If the {{{factotum}}} extension is unable to read the required key, one will be
Line 27: Line 23:
mount = /mnt/factotum
path = /bin/auth/factotum
executable = /bin/auth/factotum
mountpoint = /mnt/factotum
Line 30: Line 26:
}}} }}}

The executable entry defines the full path to the factotum binary. The mountpoint entry defines the path to the factotum file service. Lastly, the service entry controls the service name used when reading keys.

While not explicitly supported, the [[http://swtch.com/plan9port|plan9port]] version of factotum should provide a viable alternative for POSIX-compatible platforms.
Line 37: Line 37:
CategoryBundledExtension CategoryBundledExtension CategoryPlan9

Factotum extension

This extension is currently being distributed along with Mercurial.

Author: Steven Stallion

Overview

This extension allows the factotum(4) facility on Plan 9 from Bell Labs platforms to provide authentication information for HTTP access. Configuration entries specified in the auth section as well as authentication information provided in the repository URL are fully supported. If no prefix is specified, a value of * will be assumed.

By default, keys are specified as:

proto=pass service=hg prefix=<prefix> user=<username> !password=<password>

If the factotum extension is unable to read the required key, one will be requested interactively.

Configuration

[extensions]
factotum =

[factotum]
executable = /bin/auth/factotum
mountpoint = /mnt/factotum
service = hg

The executable entry defines the full path to the factotum binary. The mountpoint entry defines the path to the factotum file service. Lastly, the service entry controls the service name used when reading keys.

While not explicitly supported, the plan9port version of factotum should provide a viable alternative for POSIX-compatible platforms.

Usage

This extension doesn't require user interaction to work.


CategoryBundledExtension CategoryPlan9

FactotumExtension (last edited 2012-05-04 16:11:06 by c-76-126-113-81)