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