| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" /> |
| 7 |
<title>factotum</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="factotum"> |
| 12 |
<span id="ext-factotum"></span> |
| 13 |
<h1 class="title">factotum</h1> |
| 14 |
|
| 15 |
<div class="contents htmlonly topic" id="contents"> |
| 16 |
<p class="topic-title"><a class="reference internal" href="#top">Contents</a></p> |
| 17 |
<ul class="simple"> |
| 18 |
<li><a class="reference internal" href="#description" id="toc-entry-1">Description</a></li> |
| 19 |
</ul> |
| 20 |
</div> |
| 21 |
<p>http authentication with factotum</p> |
| 22 |
<div class="section" id="description"> |
| 23 |
<h1><a class="toc-backref" href="#contents">Description</a></h1> |
| 24 |
<p>This extension allows the factotum(4) facility on Plan 9 from Bell Labs |
| 25 |
platforms to provide authentication information for HTTP access. Configuration |
| 26 |
entries specified in the auth section as well as authentication information |
| 27 |
provided in the repository URL are fully supported. If no prefix is specified, |
| 28 |
a value of "*" will be assumed.</p> |
| 29 |
<p>By default, keys are specified as:</p> |
| 30 |
<pre class="literal-block"> |
| 31 |
proto=pass service=hg prefix=<prefix> user=<username> !password=<password> |
| 32 |
</pre> |
| 33 |
<p>If the factotum extension is unable to read the required key, one will be |
| 34 |
requested interactively.</p> |
| 35 |
<p>A configuration section is available to customize runtime behavior. By |
| 36 |
default, these entries are:</p> |
| 37 |
<pre class="literal-block"> |
| 38 |
[factotum] |
| 39 |
executable = /bin/auth/factotum |
| 40 |
mountpoint = /mnt/factotum |
| 41 |
service = hg |
| 42 |
</pre> |
| 43 |
<p>The executable entry defines the full path to the factotum binary. The |
| 44 |
mountpoint entry defines the path to the factotum file service. Lastly, the |
| 45 |
service entry controls the service name used when reading keys.</p> |
| 46 |
</div> |
| 47 |
</div> |
| 48 |
</body> |
| 49 |
</html> |