more work on the text of the web site homepage.
[monkeysphere.git] / website / index.mdwn
1 [[!template id="nav"]]
2
3 [[toc ]]
4
5 The Monkeysphere project's goal is to extend OpenPGP's web of trust to
6 new areas of the Internet to help us securely identify each other
7 while we work online.
8
9 Specifically, monkeysphere currently offers a framework to leverage
10 the OpenPGP web of trust for OpenSSH authentication.
11
12 In other words, it allows you to use secure shell as you normally do,
13 but to identify yourself and the servers you administer or connect to
14 with your OpenPGP keys.  OpenPGP keys are tracked via GnuPG, and
15 monkeysphere manages the `known_hosts` and `authorized_keys` files
16 used by OpenSSH for authentication, checking them for cryptographic
17 validity.
18
19 ## Conceptual overview ##
20
21 Everyone who has used secure shell is familiar with the prompt given
22 the first time you log in to a new server, asking if you want to trust
23 the server's key by verifying the key fingerprint.  Unfortunately,
24 unless you have access to the server's key fingerprint through a
25 secure out-of-band channel, there is no way to verify that the
26 fingerprint you are presented with is in fact that of the server your
27 really trying to connect to.
28
29 Many users also take advantage of OpenSSH's ability to use RSA or DSA
30 keys for authenticating to a server (known as
31 "`PubkeyAuthentication`"), rather than relying on a password exchange.
32 But again, the public part of the key needs to be transmitted to the
33 server through a secure out-of-band channel (usually via a separate
34 password-based SSH connection or a (hopefully signed) e-mail to the
35 system administrator) in order for this type of authentication to
36 work.
37
38 [OpenSSH](http://openssh.com/) currently provides a functional way to
39 manage the RSA and DSA keys required for these interactions through
40 the `known_hosts` and `authorized_keys` files.  However, it lacks any
41 type of [Public Key Infrastructure
42 (PKI)](http://en.wikipedia.org/wiki/Public_Key_Infrastructure) that
43 can verify that the keys being used really are the one required or
44 expected.
45
46 The basic idea of the Monkeysphere is to create a framework that uses
47 [GnuPG](http://www.gnupg.org/)'s keyring manipulation capabilities and
48 public keyserver communication to manage the keys that OpenSSH uses
49 for connection authentication.  
50
51 The Monkeysphere therefore provides an effective PKI for OpenSSH,
52 including the possibility for key transitions, transitive
53 identifications, revocations, and expirations.  It also actively
54 invites broader participation in the
55 [OpenPGP](http://en.wikipedia.org/wiki/Openpgp) [web of
56 trust](http://en.wikipedia.org/wiki/Web_of_trust).
57
58 ## Technical details ##
59
60 Under the Monkeysphere, both parties to an OpenSSH connection (client
61 and server) explicitly designate who they trust to certify the
62 identity of the other party.  These trust designations are explicitly
63 indicated with traditional GPG keyring trust models.  Monkeysphere
64 then manages the keys in the `known_hosts` and `authorized_keys`
65 files directly, in such a way that is completely transparent to SSH.
66 No modification is made to the SSH protocol on the wire (it continues
67 to use raw RSA public keys), and no modification is needed to the
68 OpenSSH software.
69
70 To emphasize: *no modifications to SSH are required to use the
71 Monkeysphere*.  OpenSSH can be used as is; completely unpatched and
72 "out of the box".
73
74 ## Philosophy ##
75
76 Humans (and
77 [monkeys](http://www.scottmccloud.com/comics/mi/mi-17/mi-17.html))
78 have the innate capacity to keep track of the identities of only a
79 finite number of people. After our social sphere exceeds several dozen
80 or several hundred (depending on the individual), our ability to
81 remember and distinguish people begins to break down. In other words,
82 at a certain point, we can't know for sure that the person we ran into
83 in the produce aisle really is the same person who we met at the party
84 last week.
85
86 For most of us, this limitation has not posed much of a problem in our
87 daily, off-line lives.  With the Internet, however, we have an ability
88 to interact with vastly larger numbers of people than we had
89 before. In addition, on the Internet we lose many of our tricks for
90 remembering and identifying people (physical characteristics, sound of
91 the voice, etc.).
92
93 Fortunately, with online communications we have easy access to tools
94 that can help us navigate these problems.
95 [OpenPGP](http://en.wikipedia.org/wiki/Openpgp) (a cryptographic
96 protocol commonly used for sending signed and encrypted email
97 messages) is one such tool. In its simplest form, it allows us to
98 sign our communication in such a way that the recipient can verify the
99 sender.
100
101 OpenPGP goes beyond this simple use to implement a feature known as
102 the [web of trust](http://en.wikipedia.org/wiki/Web_of_trust). The web
103 of trust allows people who have never met in person to communicate
104 with a reasonable degree of certainty that they are who they say they
105 are. It works like this: Person A trusts Person B. Person B verifies
106 Person C's identity.  Then, Person A can verify Person C's identity
107 because of their trust of Person B.
108
109 The Monkeyshpere's broader goals are to extend the use of OpenPGP from
110 email communications to other activities, such as:
111
112  * conclusively identifying the remote server in a remote login session
113  * granting access to servers to people we've never directly met
114
115 ## Links ##
116
117 * [OpenSSH](http://openssh.com/)
118 * [GnuPG](http://www.gnupg.org/)
119 * [Secure Shell Authentication Protocol RFC 4252](http://tools.ietf.org/html/rfc4252)
120 * [OpenPGP RFC 4880](http://tools.ietf.org/html/rfc4880)
121
122 ----
123
124 This wiki is powered by [ikiwiki](http://ikiwiki.info).