diff options
Diffstat (limited to 'docs/technology')
-rw-r--r-- | docs/technology/client/en.haml | 109 | ||||
-rw-r--r-- | docs/technology/critiques/en.haml | 57 | ||||
-rw-r--r-- | docs/technology/en.haml | 30 | ||||
-rw-r--r-- | docs/technology/identity/en.haml | 45 | ||||
-rw-r--r-- | docs/technology/infosec/en.haml | 101 | ||||
-rw-r--r-- | docs/technology/infosec/table-style.haml | 59 | ||||
-rw-r--r-- | docs/technology/infosec/table.haml | 233 | ||||
-rw-r--r-- | docs/technology/platform/en.haml | 16 | ||||
-rw-r--r-- | docs/technology/routing/en.haml | 52 |
9 files changed, 0 insertions, 702 deletions
diff --git a/docs/technology/client/en.haml b/docs/technology/client/en.haml deleted file mode 100644 index c4f82b5..0000000 --- a/docs/technology/client/en.haml +++ /dev/null @@ -1,109 +0,0 @@ -%h1.first Client-server integration - -%p The LEAP Client will run on the user's device and grant the user access to the #{link 'cloud-based services' => 'services'} of the #{link 'LEAP Platform' => 'platform'}. As new services are added to the LEAP Platform, the LEAP Client will be developed in tandem to work with these services. - -%h1 Client crypto, cloud assistance - -%p For users of cloud-based communication services, there is only one approach that can achieve a reasonable level of security: client-side encryption. - -%p The model proposed here is neither peer-to-peer nor pure cloud; rather, it is a hybrid designed to make a client-encrypted cloud function more smoothly. Some client-encrypted communication services do not require cooperation on the part of the cloud provider. For example, if you simply want to backup files, you just need a program like Duplicity which can be pointed at the storage provider of your choice. - -%p Most other services, however, will only work if the server-side software is designed to work with client-encrypted data. A hybrid model shares the advantages that a pure cloud model has over peer-to-peer: the service is more reliable, is not subject to data loss, works the same on all devices, is faster, and is much easier to use. - --# insert a chart here... - - plain-cloud - cloud with no encryption or server-side encryption only - pretty much all cloud services fall into this category. - Twitter - Dropbox - - crypto-cloud - cloud with layered client-side encryption - some enterprising users have bolted encryption on top of the cloud based services they use. the cloud services are not designed to work with client-side encryption, the the operation is typically awkward, but it can work. - Facebook Chat + OTR - Amazon S3 + Duplicity - gmail + FireGPG - - integrated cloud - cloud with integrated client-encryption - - cloud-side encryption is not really any better than cloud without encryption, so it is not listed in this table. - - Except in the case of EIP, all LEAP services are designed to place little or no trust in the service provider. - -%h1 Crypto for mere mortals - -%p After security, our primary goal with the client is to make it as easy to use as possible. There are several ways we are approaching the problem of usability: - -%p - %b Auto-configuration — - There are a lot of powerful tools for secure communication out there, and most of them are incredibly difficult to set up and configure correctly in a way that ensures you don't compromise your security. Our goal with the LEAP client is to tightly couple the client with the services so that the client will be able to configure itself correctly without user intervention. - -%p - %b The best UI is no UI — - We plan to make the interface for the client as minimal as possible. For EIP, the client will do everything it can to troubleshoot on its own to get a stable encrypted tunnel established. For the messaging services like email and chat, the LEAP Client is a proxy that handles encryption/decryption locally on the user's device, allowing the user to continue to use whatever client software they are comfortable with. - -%h1 Software updates - -%p We want service providers in repressive and hostile contexts to still be able to adopt the LEAP Platform. In order to protect the service provider, the LEAP Client will accept security patches and code upgrades from the LEAP non-profit organization, not from the service provider. - -%p Every LEAP Client will include the public key used to sign updates. When a new client version is available, and the provider supports the API version of the new client, then the new code will be download from LEAP and verified using the keys included with the first download. Alternately, on platforms with good package management, like Debian or Redhat variants of GNU/Linux, updates to the LEAP Client will go through the normal platform specific channels. - -%p This system still leaves open the problem of how to distribute the initial client that is first installed. This is a difficult problem, and one which we hope to work on in the future. - -%h1 Cross platform - -%p Initially, the LEAP Client will support Windows, Mac, and Linux. We are committed to extending support to mobile devices once the desktop version is stable (although currently, Apple's terms of service for the appstore prevent GPL licensed apps, so until this changes we can't distribute on iOS). The mobile version of the LEAP Client will lag behind the desktop version, but our goal is to provide eventual feature parity. - -%p Recent advancements in Javascript and HTML have begun to blur the distinction between client applications that a user installs and client applications that run in a web browser environment. Although there are numerous projects actively working on client-encrypted communication that runs inside the browser, such in-browser efforts are currently crippled by a lack of standardized and trusted cryptographic primitives inside the browser and are so vulnerable to a number of common attacks. We plan to work closely with the new W3C Web Cryptography Working Group in order maximize the deployment of client-encrypted applications, both in currently safe clients as well as more experimental native applications in the browser. - -%h1 Branded and unbranded - -%p The LEAP client will come in two flavors: branded and unbranded. - -%p - %b The branded client - will be customized with the name and graphics of the service provider using the LEAP Platform. It will be pre-configured to work the with service provider. - -%p - %b The unbranded client - will work with any service provider that runs the LEAP platform. When the user first runs the unbranded client, they will be presented with a list of available service providers and the option to type in the name of a provider that is not in the list. Once the user picks a provider, the client will download a file from the provider that defines the capabilities of the provider and allows the client to autoconfigure itself for use with that provider. - - -%h1 Trust issues - -%p As much as possible, our goal is to design a system that requires very little trust of the service provider. However, there are a few areas where the user will need to trust either LEAP or their service provider: - -%ul - %li - %b Encrypted Internet Proxy: - If the user chooses to enable the EIP service, then all their internet traffic passes through the service provider. A nefarious provider could sniff this traffic, if it was using a cleartext protocol like plain HTTP. - %li - %b Notary Keys: - The LEAP Client will come with a set of public keys for the notaries used for #{link 'identity discovery and validation' => 'identity'}. If a supermajority of these notaries conspire or get hacked then the security of the identity system will be compromised. - %li - %b Client Software: - Unless the user builds the client software from the source code, the user will trust LEAP Encryption Access Project for the client builds and code updates. - - - -%h1 Secrets recovery - -%p What should LEAP do when a user has lost their secrets (either human-memorizable or private keys)? There is no right answer for every situation. - -%p - %b No recovery: - In some situations, it makes the most sense to simply do without the ability to recover lost secrets. - -%p - %b Recovery document: - The LEAP client will give the user the option to export a text file with a complete copy of their private keys and authorization information, either password protected or not. This "recovery document" can be printed or saved electronically as the user sees fit. If the user needs to recover their data, they can load this recover document into any LEAP client. The user can also type the recovery document in manually, although it will be long and very painful to copy manually. - -%p - %b Cloud recovery: - The user is presented with a small ten by ten grid of digits (with QR code) that can be printed. To recover, the user types in these 100 digits into any LEAP client (or scans the QR code using a mobile device). This method is like manual recovery, but it is much easier to type in manually. To achieve this, the full recovery document is encrypted and then stored on the server. The user is then presented with a small code that serves as an encoded index and passphrase to retrieve the full recovery document. This method is desirable when the user does not want to be responsible for storing an electronic copy of the full recovery document. It will also serve as an easy way to set up the LEAP client on a mobile device. The disadvantage of this method is that there is potential for attack on the cloud-stored recovery document. - -%p - %b Email recovery: - The novice user should have the option to recover their secret by a simple email verification. This is less horrible than it sounds. It will work like this: when the user first installs the client, they are given the option to entrust one or more email addresses with the ability to unlock their recovery document. Additionally, they must decide how many of these email addresses must confirm the secret recovery in order for it to succeed. The LEAP client then registers these emails with a third party secret escrow service in such a way that no single party has access to the full secret (unless there is just one email). When the user triggers the reset process, the LEAP client contacts the escrow service and gives it a token to request the release of the recovery document. Once the email accounts have replied to the escrow service with confirmation of assent to the secret recovery, the LEAP client can retrieve the lost secret from the escrow service. This is a complicated process, but from the user's perspective they just hit a "recover" button and then wait for people to reply to the confirmation emails. This is a potential long term enhancement. diff --git a/docs/technology/critiques/en.haml b/docs/technology/critiques/en.haml deleted file mode 100644 index 06fccdd..0000000 --- a/docs/technology/critiques/en.haml +++ /dev/null @@ -1,57 +0,0 @@ -%h1.first Anticipated Critiques - -:textile - h2. Isn't LEAP too ambitious? - - Yes. However, someone needs to be working on a long term plan to add real security and usability to federated messaging architectures. It will not be easy, but we think it is possible. - - h2. Isn't LEAP just like FreedomBox? - - LEAP and FreedomBox share a similar goal of ensuring that everyone has the right to communicate securely and without censorship. However, the projects use different strategies for achieving this goal. - - * *FreedomBox:* Empower every user to control the hardware on which all their data is stored. Users become their own service providers, running their own hardware. - * *LEAP:* Allow service providers to deploy a cloud-based infrastructure that can scale and is easily maintained. In addition to the performance and usability found in traditional cloud services, LEAP services are also designed to bring a very high level of security to everyday users. - - FreedomBox is an important project. It faces, however, some significant hurdles. Most users demand high availability, but current technology does not allow for hardware or software that is self healing. If it did, sysadmins would be out of work. Things go wrong all the time. Take, for example, email: it is very common for an email server to get spam-bombed, or added to a blacklist, or any number of other problems that require manual intervention by a system administrator to fix. Also, most ISPs block the port needed for email rely. - - In the long run, FreedomBox has a lot of potential. But for the foreseeable future, we think it is important to also pursue the LEAP strategy. - - h2. We should not encourage users to store any data in the cloud, encrypted or not - - Even the best encryption is no guarantee of confidentiality; data in the cloud always has the potential to be decrypted by a determined attacker. - - The entire issue boils down to a matter of degree. Although there is no necessary trade off between security and convenience, you can usually achieve a higher level of security in any system by sacrificing some convenience. But what level of protection and convenience is appropriate for a particular user? - - There are very few people for whom client-encrypted data stored in the cloud will be the weakest link in the confidentiality of their communication and stored data. Most likely, there will be many aspects of their communication that are much more attractive targets to a determined adversary. - - If a person has a threat model that includes an adversary with the resources to both acquire the user's cloud data and to decrypt it, then there is little that LEAP or any other third party can do for them. They will need to become highly proficient at managing and protecting all their own data. - - There are many tools and projects out there to help a user do this. LEAP is designed for a different audience, one not adequately addressed by existing technology: people who want high security but don't have the capacity to become highly skilled in self-managing their encryption. There is room--and need--for both approaches, and it is likely that the amount of people who want high security but do not have the time or skills to adequately self-manage their own environment is already large and increasingly rapidly. - - h2. If you make your system architecture public, then you have given adversaries a blueprint to attack you - - This is, of course, similar to the arguments about the security of FLOSS. Openness can indeed lead to attacks, but more eyes leads to better security. - - In the case of an entire service provider infrastructure, however, it could be argued that things are different. We are not talking about a single piece of software, but the whole integration across many servers and services. A related critique is the potential problem of monoculture: if LEAP is successful, then a high percentage of the secure service providers will be using systems with the same vulnerabilities. - - Monoculture and openness are both interesting issues that could pose problems for the future. We can only be diligent in assessing LEAP once it is deployed by a variety of organizations. With enough flexibility in configuration, it may be that each LEAP deployment is sufficiently distinct from the others to mitigate these concerns. - - h2. Users will not be willing to download a custom client - - This will indeed be the case for a large number of potential users. Because meaningful levels of security cannot be achieved using current technology without a custom client, our hope is that a critical mass of users can be induced to use one. There are two parts to this inducement: increasing awareness as to why an extra step to ensure security is worthwhile, and decreasing the difficulty in actually taking this step. With sufficient education and an improved user experience, many users should be willing to install a custom client. - - On the other hand, rapid developments in Javascript and web browser technology have raised the possibility of running advanced client applications within the browser itself. In this case, a user would not have to install any additional software. However, in-browser crypto is still an area of active research but is currently not safe for deployment, with some areas still to be worked out (like sufficient entropy). LEAP does not depend upon the presence of cryptography in the browser, but would benefit from this should it become viable. The lead W3C employee who began the standardization of Javascript Cryptography is on the board of LEAP, and he will liaise tightly with LEAP as the work matures. - - h2. Users who need security often don't have their own device or access to the internet - - This is absolutely true. The digital divide is alive and well, and LEAP does nothing to bridge the gap between the technological haves and have-nots. However, in the long run, IP-based communication--dependent upon advanced devices such as smart phones--is likely to replace most other forms of communication. The cost of such IP-based communication devices and their connectivity is declining rapidly. It behooves us to lay the groundwork now for a secure IP-based communication infrastructure, both for the people who currently rely on the internet and for the next billion who will gain access to the internet in the near future. - - h2. Client encryption is excessive for most people - - The argument against client encryption is something like this: a secure connection is good enough, so long as the service provider is located in a country with adequate legal protection and without repressive laws. - - There are many reasons why users should be put in control of their data and should not be made to rely on a third party to safeguard it. Third parties have proven to be highly undeserving of trust--They might close shop, bow to pressure from local government, become compromised by external attacks, or accidentally leak sensitive data due to carelessness. - - Our goal is to make secure communication the default for a critical mass of users worldwide. A vital part of this strategy is cooperation with ISPs and service providers who speak the local language of their users and who are attuned to the needs of a particular context. These local service providers don't have the luxury of determining which government's jurisdiction they fall under. However, so long as encryption technology itself is not outlawed, local providers using the LEAP platform will be able to provide a high level of security for their users. - - By requiring client encryption for all services, LEAP also helps to mitigate against the myriad vulnerabilities inherent with most devices. While the LEAP client cannot defend against keyloggers, malware, or penetration of the host OS, it can ensure that all the LEAP cloud data synced by the device is stored in an encrypted format.
\ No newline at end of file diff --git a/docs/technology/en.haml b/docs/technology/en.haml deleted file mode 100644 index bc60a94..0000000 --- a/docs/technology/en.haml +++ /dev/null @@ -1,30 +0,0 @@ -%h1.first The Technology of LEAP - -%p The long term LEAP plan consists of a set of #{link 'communication services' => 'services'} built upon the core technologies detailed here. - -%p - %b #{link 'Information Security' => 'infosec'}: - An analysis of different approaches to information security and how the LEAP strategy compares. - -%p - %b #{link 'Provider Platform' => 'platform'}: - Turn-key automation for communication service providers. - -%p - %b #{link 'LEAP Client' => 'client'}: - Easy to use client for secure communication. - -%p - %b #{link 'Secure Identity' => 'identity'}: - Federated system to automate validation of cryptographic identity. - -%p - %b #{link 'Map Resistant Routing' => 'routing'}: - A system for message routing that is resistant to association mapping. - -%p - %b #{link 'Critiques' => 'critiques'}: - Anticipated critiques of the LEAP architecture. - - --# https://guardianproject.info/wiki/Always_Secure_Messaging
\ No newline at end of file diff --git a/docs/technology/identity/en.haml b/docs/technology/identity/en.haml deleted file mode 100644 index 27c8b8b..0000000 --- a/docs/technology/identity/en.haml +++ /dev/null @@ -1,45 +0,0 @@ -%h1.first The sad, sorry state of cryptographic identity - -%p Existing forms of secure identity are deeply flawed. These systems rely on either a single trusted entity (e.g. Skype), a vulnerable Certificate Authority system (e.g. S/MIME), or keys that cannot be made human memorable (e.g. OpenPGP, OTR). When an identity system is hard to use, it is effectively compromised because too few people take the time to use it properly. - -%p The broken nature of existing identities systems (either in security or in usability) is especially troubling because identity remains a bedrock precondition for any message security: you cannot ensure confidentiality or integrity without confirming the authenticity of the other party. - -%h1 NickID - -%p The cornerstone of the LEAP design is a system to make digital identity for messaging both secure and easy to use. We call this system NickID, since the goal is for the individual to be able to think of cryptographic identity in terms of a domain qualified nickname just as they do with email addresses. - -%p NickID is based on a federated structure where the difficult work is pushed to the service providers. Each provider is responsible for the due diligence of properly signing the keys of other providers, akin to the distributed web of trust model of OpenPGP. Providers also are responsible for signing the keys of their users, akin to the Certificate Authority model. - -%p When a user sends or receives a message, their software will discover the other party's key and trace a chain of signature's back to the user's service provider. NickID allows for identity that is verified through an end-to-end trust path from any user to any other user in a way that can be automated and is human memorable (e.g. identity in the form user@example.com). - -%h1 Users are not websites - -%p What about WebID or BrowserID (Mozilla Personas)? These are both interesting cryptographic identity standards that are gaining support and implementations. So why do we need something new? - -%p These protocols, and the poorly conceived OpenID Connect, are designed to address a fundamentally different problem: authenticating a user to a website. The problem of authenticating users to one another requires a different architecture entirely. There are some similarities, however, and in the long run a Federated Web of Trust could be combined with something like BrowserID/Personas. - -%h1 Attacks and countermeasures - -%p Attacks on this system can be prevented with a simple “network perspectives” approach that keeps each service provider honest. Let's enumerate the attacks and how to prevent them. Suppose two providers, A and B. - -%p - %b Attack 1 - Intercept Outgoing: - provider A signs an impostor key for provider B and distributes it to users of A (in order to intercept outgoing messages sent to B). - -%p - %b Attack 2 - Intercept Incoming: - provider A signs an impostor key for one of its own users, and distributes to users of B (in order to intercept incoming messages). - -%p - %b Attack 3 - Association Mapping: - A provider tracks all the requests for key discovery in order to build a map of association. - -%p To prevent these attacks, NickID will support independent notaries who sole purpose is to answer a single question: "Do you see the same key that I see?" - -%p In order to prevent attack 1, the user's client software will not blindly trust that it has encountered the correct provider key for B. Instead, it will get confirmation from the notaries that they also received the same key (or a key signed by the same key). - -%p In order to prevent attack 2, the user's client software will regularly query the notaries for their own key. If the notaries see a different key, the user is alerted that their provider is attempting to intercept their messages. - -%p In order to prevent attack 3, the user's client software will be able to use the response of a notary as the initial key discovery, and to proxy a request to one notary through another. Each notary request will be encrypted to the public key of that notary. - -%p For this to work, client software that supports NickID will come pre-seeded with a list of notaries and their public keys. Although this sounds like a repeat of the problems associated with the Certificate Authority system, the notaries are actually quite different. Rather than placing irrevocable trust in an authority, clients are only using the notaries for a very narrowly defined ability to provide network perspective. diff --git a/docs/technology/infosec/en.haml b/docs/technology/infosec/en.haml deleted file mode 100644 index 386ce10..0000000 --- a/docs/technology/infosec/en.haml +++ /dev/null @@ -1,101 +0,0 @@ -= render_local_template 'table-style' - -%h1.first You can't have it all - -%p Every messaging architecture makes certain design choices that privilege one property of information security over another. Although there is no intrinsically necessary trade off among different information security properties, when we examine the technical limitations of actual implementations we see clearly that existing architectures are structurally biased toward certain properties and against others. - -%h1 A fancy table - -%p This table provides a rough comparison of the choices made by common messaging architectures. See #{link 'below for details' => '#table-notes'} regarding the column and row headings. - -.p - %b Table 1. Information security of common messaging architectures - = render_local_template 'table', :table_type => :big - -%p Reasonable people may disagree: this table represents one defensible assessment of the various architecture categories. Many people would adjust one or two cells, but on the whole we believe this table is a fair and accurate comparison. - -%p In table 2 we see a simplified representation that highlights the relative differences between the encrypted architectures: - -.p - %b Table 2. Relative trade-offs of encrypted messaging architectures - = render_local_template 'table', :table_type => :small - -%p Relatively better is not necessarily good. For example, federated and peer-to-peer models have better authenticity than silo models, but usability problems make it so that their authenticity is often poor in practice. - -%h1 The LEAP strategy (you can have it all) - -%p In a nutshell, the LEAP strategy is this: take a federated architecture and improve the authenticity, unmappability, and usability. In table form, that looks like this: - -.p - %b Table 3. The LEAP strategy for improving federated architectures - = render_local_template 'table', :table_type => :leap - -%p Why this focus on authenticity, unmappability, and usability? - -%p First, there is a lot of room for improvement. We believe that there is actually no particular structural reason why these properties are so low in existing federated encrypted architectures. - -%p Second, these property are extremely important and yet are typically given low priority or are ignored completely. - -%ul - %li - %b Authenticity: - Message security rests entirely on a foundation of authenticity. Without proper validation of encryption keys, you cannot be assured of confidentiality or integrity. Unfortunately, current system of establishing message authenticity are so difficult to use that most users simply ignore this step. LEAP will address these problems with a system of #{link 'strong and automatic identity validation' => 'identity'}. - %li - %b Usability: - There are plenty of high security tools that are nearly impossible for the common user to use correctly. If the tool is too difficult, it will not be widely adopted and will likely be used incorrectly by those who do adopt it. LEAP with address these problems with the #{link 'LEAP client' => 'client'} that is tightly coupled with the server-side software and is autoconfiguring. - %li - %b Unmappability: - Recent advances in social network analysis and the greatly expanded of ability state and corporate actors to gather social graph information have made unmappability an urgent requirement for any architecture that seeks to address the surveillance situation we face today. LEAP will address these problems with our proposal for #{link 'graph resistant routing' => 'routing'}. - -%p Improvement in these areas will come at a price. Although LEAP communication tools will be backward compatible with existing federated standards, a user of the LEAP platform will not have the same degree of choice in client software and provider as does a user of a traditional federated system. Our goal is to actively help providers adopt the LEAP platform, in order to give users more options in the long run. - -%h1#table-notes Decoding the table - -%h2 Communication architectures (columns) - -(to be written) - -%h2 Aspects of information security (rows) - -%p Classical information security consists of a trio of properties: confidentiality, integrity, availability. To this list, others have added authenticity, control, and anonymity (among many others). - -%p For our purposes here, we also add usability, compatibility, and unmappability. What do all these mean? Let's use the example of a single message, and group these nine properties in three categories: - -%h3 Message Security - -%table.properties - %tr - %th Confidentiality - %td A message has highly confidentiality if only the intended recipients are able to read the message. - %tr - %th Integrity - %td A message has high integrity if the recipient is assured the message has not been altered. - %tr - %th Availability - %td A message has high availability if the user is able to get to the message when they so desire. - -%h3 Identity Security - -%table.properties - %tr - %th Authenticity - %td A message has high authenticity if the recipient is certain who sent the message and the sender is certain who received it. - %tr - %th Anonymity - %td A message has high anonymity if the identity of the sender cannot be established by examining the message or the pattern of message delivery. - %tr - %th Unmappability - %td A message has high unmappability if the social network that you communicate with cannot be easily discovered. Unmappability is often collapsed under anonymity. This is unfortunate. It is true the anonymity is one of the issue at stake with social network mapping, but it is just one of many. Because of recent advances in social network analysis and the ability to gather social graph information, we feel that unmappability deserves to be highlighted on its own. - -%h3 User Freedom - -%table.properties - %tr - %th Control - %td If a user is in possession of their own data and can do with it exactly what they want (and others cannot use the data in ways contrary to the wishes of the user), then we say that they have high control. - %tr - %th Usability - %td For a communication system to have high usability, the common user must be able to operate the system in a way that does not compromise their security. - %tr - %th Compatibility - %td For a system to have high compatibility, the user must not be locked into a particular provider or technology, but should have competing and compatible options available to them. In other words, a user's data should be portable and they should have a choice of clients. diff --git a/docs/technology/infosec/table-style.haml b/docs/technology/infosec/table-style.haml deleted file mode 100644 index c9a3495..0000000 --- a/docs/technology/infosec/table-style.haml +++ /dev/null @@ -1,59 +0,0 @@ -%style - :sass - table.properties - td - vertical-align: top - padding-bottom: 0.75em - th - vertical-align: top - padding-right: 1em - text-align: right - font-weight: normal - font-style: italic - - table.infosec - width: 100% - border-collapse: collapse - tbody - border-top: 1px solid black - border-bottom: 1px solid black - th span.normal - font-weight: normal - th.first, th.second, th.cell - width: 14.285714286% - th.spacer, td.spacer - width: 1px !important - padding: 0 !important - background: black - // border: 1px dotted black - //border: 0 !important - //th.second - // width: 0% - //th.cell - // width: 20% - td.cell - border-top: 1px solid black - border-bottom: 1px solid black - //border-right: 1px dotted rgba(0,0,0,.1) - border-left: 1px dotted rgba(0,0,0,.1) - text-align: center - padding: 4px - &.none - //background-color: #ccc - background: #888 - &.low, &.lower, &.worse - //background-color: #FFCCCC - background: #aaa - &.medium, &.higher - //background-color: #FFFFCC - background: #ccc - &.high, &.better - //background-color: #CCFFCC - background: #e6e6e6 - &.better, &.worse - font-weight: bold - tr.footer td - border-left: 1px dotted rgba(0,0,0,.1) - text-align: center - font-size: 0.8em - diff --git a/docs/technology/infosec/table.haml b/docs/technology/infosec/table.haml deleted file mode 100644 index f2de6bf..0000000 --- a/docs/technology/infosec/table.haml +++ /dev/null @@ -1,233 +0,0 @@ -:ruby - - if table_type == :small - ## - ## SMALL TABLE - ## - columns = [:p2p, :ssilo, :sfed] - column_data = { - :ssilo => [:silo, :encrypted], - :sfed => [:federation, :encrypted], - :p2p => [:peer_to_peer, :encrypted] - } - rows = [:availability, :usability, :compatibility, :authenticity, :control, :anonymity] - row_groups = [] - footer = false - cells = { - :ssilo => { - :control => [:lower], - :compatibility => [:lower], - :usability => [:higher], - :authenticity => [:lower], - :availability => [:higher], - :anonymity => [:lower] - }, - :sfed => { - :control => [:higher], - :compatibility => [:higher], - :usability => [:lower], - :authenticity => [:higher], - :availability => [:lower], - :anonymity => [:lower] - }, - :p2p => { - :control => [:higher], - :compatibility => [:lower], - :usability => [:lower], - :authenticity => [:higher], - :availability => [:lower], - :anonymity => [:higher] - } - } - elsif table_type == :big - ## - ## BIG TABLE - ## - columns = [:silo, :fed, :ssilo, :sfed, :p2p] - column_data = { - :silo => [:silo, :cleartext, :silo_example], - :fed => [:federation, :cleartext, :fed_example], - :ssilo => [:silo, :encrypted, :ssilo_example], - :sfed => [:federation, :encrypted, :sfed_example], - :p2p => [:peer_to_peer, :encrypted, :p2p_example], - :spacer => [:spacer, :spacer, :spacer] - } - rows = [ - :control, :compatibility, :usability, - :anonymity, :unmappability, :authenticity, - :availability, :confidentiality, :integrity - ] - row_groups = [:message_security, :identity_security, :user_freedom] - row_groups_data = { - :user_freedom => [:control, :compatibility, :usability], - :identity_security => [:authenticity, :anonymity, :unmappability], - :message_security => [:confidentiality, :integrity, :availability] - } - footer = true - cells = { - :silo => { - :control => [:none], - :compatibility => [:none], - :usability => [:high], - :anonymity => [:none], - :unmappability => [:none], - :authenticity => [:none], - :availability => [:high], - :confidentiality => [:none], - :integrity => [:none] - }, - :fed => { - :control => [:medium], - :compatibility => [:high], - :usability => [:medium], - :anonymity => [:none], - :unmappability => [:none], - :authenticity => [:none], - :availability => [:medium], - :confidentiality => [:none], - :integrity => [:none] - }, - :ssilo => { - :control => [:none], - :compatibility => [:none], - :usability => [:high], - :anonymity => [:low], - :unmappability => [:none], - :authenticity => [:none], - :availability => [:high], - :confidentiality => [:high], - :integrity => [:high] - }, - :sfed => { - :control => [:medium], - :compatibility => [:medium], - :usability => [:low], - :anonymity => [:low], - :unmappability => [:none], - :authenticity => [:low], - :availability => [:medium], - :confidentiality => [:high], - :integrity => [:high] - }, - :p2p => { - :control => [:high], - :compatibility => [:none], - :usability => [:low], - :anonymity => [:medium], - :unmappability => [:medium], - :authenticity => [:low], - :availability => [:low], - :confidentiality => [:high], - :integrity => [:high] - }, - :spacer => { - :control => [:spacer], - :compatibility => [:spacer], - :usability => [:spacer], - :anonymity => [:spacer], - :unmappability => [:spacer], - :authenticity => [:spacer], - :availability => [:spacer], - :confidentiality => [:spacer], - :integrity => [:spacer] - } - } - elsif table_type == :leap - ## - ## LEAP TABLE - ## - columns = [:fed, :sfed, :leap] - column_data = { - :ssilo => [:silo, :encrypted], - :sfed => [:federation, :encrypted], - :p2p => [:peer_to_peer, :encrypted], - :fed => [:federation, :cleartext], - :leap => [:leap, :encrypted] - } - rows = [ - :control, :compatibility, :usability, - :anonymity, :unmappability, :authenticity, - :availability, :confidentiality, :integrity - ] - row_groups = [:message_security, :identity_security, :user_freedom] - row_groups_data = { - :user_freedom => [:control, :compatibility, :usability], - :identity_security => [:authenticity, :anonymity, :unmappability], - :message_security => [:confidentiality, :integrity, :availability] - } - footer = false - cells = { - :fed => { - :control => [:medium], - :compatibility => [:high], - :usability => [:medium], - :anonymity => [:none], - :unmappability => [:none], - :authenticity => [:none], - :availability => [:medium], - :confidentiality => [:none], - :integrity => [:none] - }, - :sfed => { - :control => [:medium], - :compatibility => [:medium], - :usability => [:low], - :anonymity => [:low], - :unmappability => [:none], - :authenticity => [:low], - :availability => [:medium], - :confidentiality => [:high], - :integrity => [:high] - }, - :leap => { - :control => [:medium], - :compatibility => [:worse], - :usability => [:better], - :anonymity => [:low], - :unmappability => [:better], - :authenticity => [:better], - :availability => [:medium], - :confidentiality => [:high], - :integrity => [:high] - } - } - end - -%table.infosec - %tr - %th.first - - if row_groups.any? - %th.second - - columns.each do |column| - - if column == :spacer - %th.spacer - - else - %th.cell - = I18n.t column_data[column][0], :scope => 'infosec' - %br<> - %span.normal - = I18n.t column_data[column][1], :scope => 'infosec' - - if row_groups.any? - - row_groups.each do |row_group| - %tbody - - rows = row_groups_data[row_group] - - rows.each do |row| - %tr - - if rows.first == row - %td{:rowspan=>3}= I18n.t(row_group, :scope => 'infosec').sub(' ', '<br/>').html_safe - %td= I18n.t row, :scope => 'infosec' - - columns.each do |column| - %td.cell{:class => cells[column][row]}= I18n.t cells[column][row].first, :scope => 'infosec' - - else - - rows.each do |row| - %tbody - %tr - %td= I18n.t row, :scope => 'infosec' - - columns.each do |column| - %td.cell{:class => cells[column][row]}= I18n.t(cells[column][row].first, :scope => 'infosec') - - if footer - %tr.footer - %td{:colspan=>2}= I18n.t :for_example, :scope => 'infosec' - - columns.each do |column| - %td= I18n.t column_data[column][2], :scope => 'infosec' - diff --git a/docs/technology/platform/en.haml b/docs/technology/platform/en.haml deleted file mode 100644 index 44bbce9..0000000 --- a/docs/technology/platform/en.haml +++ /dev/null @@ -1,16 +0,0 @@ -%h1.first git clone leap-platform - -%p The LEAP Provider Platform is the server-side part of LEAP that is run by service providers. It consists of a set of complementary packages and recipes to automate the maintenance of LEAP services in a hardened GNU/Linux environment. Our goal is to make it painless for service providers and ISPs to deploy a secure communications platform. - -%p The LEAP Platform is essentially a git repository of puppet recipes, with a few scripts to help with bootstrapping and deployment. A service provider who wants to deploy LEAP services will clone or fork this repository, edit the main configuration file to specify which services should run on which hosts, and run scripts to deploy this configuration. - -%h1 More providers, please - -%p We believe that the best way to defend the right to whisper is to bring encryption technology into wider adoption. Despite growing awareness of the importance of communication security, users who attempt to adopt better practices still have few places they can turn. - -%p Most people think of lack of security as a problem of insufficient demand. We think that there are actually enough people out there who would like to use communication tools with higher security but who face severe problems of supply. - -%p The goal of LEAP is to meet this demand with tools that are usable and secure. But the LEAP architecture is necessarily a #{link 'federated' => 'infosec'} one, and the enhanced security it provides is only possible once there is a health ecosystem of service providers using the LEAP platform. - -%p One way to get more service providers is to make the people who run them happy. With the LEAP Platform, we want to reduce the amount of bullshit work. We are not "dumbing down" the work it takes to run a service provider. Rather, our goal is to allow talented sysadmins to focus on the parts that really matter and spend less time wrestling with the frustrating and mundane aspects of system administration. - diff --git a/docs/technology/routing/en.haml b/docs/technology/routing/en.haml deleted file mode 100644 index 35d52ed..0000000 --- a/docs/technology/routing/en.haml +++ /dev/null @@ -1,52 +0,0 @@ -%h1.first A social graph is highly sensitive data - -%p As the field of network analysis has advanced in recent years, the social graph has become highly sensitive and critical information. Knowledge of the social graph can give an attacker a blueprint into the inner workings of an organization or reveal surprisingly intimate personal details, such as sexual orientation or even health status. - -%p Unfortunately, existing technologies for secure routing, such as StartTLS for email or chat, are insufficient in today's environment and easily thwarted. StartTLS also does little to protect a service provider from being required to keep association records of its users. - -%h1 Map resistant routing - -%p One of the major goals of LEAP is to make message routing that is resistant to social graph mapping. - --# The LEAP design includes an improved method of encrypted transport negotiation and an system for aliased message routing to protect the social graph from even the service providers themselves. - -%p How would this work? Imagine users Alice and Bob. Alice wants to correspond with Bob but doesn't want either her service provider or Bob's service provider to be able to record the association. She also doesn't want a network observer to be able to map the association. - -%p When Alice first sends a message to Bob, Alice's client will initiate the following chain of events on her behalf, automatically and behind the scenes. - -%ol - %li Alice's client requests a new alias from her service provider. If her normal address is alice@domain.org, she receives an alias hjj3fpwv84fn@domain.org that will forward messages to her account. - %li Alice's client uses automatic key discovery and validation to find Bob's public key and discover if Bob's service provider supports map resistant routing. - %li If Bob does support it, Alice's client will then send a special message, encrypted to Bob's key, that contains Alice's public address and her private alias. - %li When Bob's client encounters this special message, it records a mapping between Alice's public address (alice@domain.org) and the private alias she has created for Bob's use (hjj3fpwv84fn@domain.org). - %li Bob's client then creates an alias for Bob and sends it to Alice. - %li Alice's client receives this alias, and records the mapping between Bob's public address and his private alias. - %li Alice's client then relays the original message to Bob's alias. - -Subsequently, whenever Alice or Bob want to communicate, they use the normal public addresses for one another, but behind the scenes their clients will rewrite the source and recipient of the messages to use the private aliases. - -This scheme is backwards compatible with existing messaging protocols, such as SMTP and XMPP. - -%h1 Limitations - -%p There are four major limitations to this scheme: - -%ol - %li - %b Timing attacks: - a statistical analysis of the time that messages of a particular size are sent, received, and relayed by both service providers could reveal the map of associations. - %li - %b Log correlation problem: - a powerful attacker could gain access to the logs of both service providers, and thereby reconstruct the associations between the two providers. - %li - %b Single provider problem: - this scheme does not protect associations between people on the same service provider. - %li - %b Client problem: - if the user's device is compromised, the record of their actual associations can be discovered. - -%p At this point, we feel that it is OK to live with these limitations in order to be backward compatible with existing messaging protocols. The first two attacks are only possible by a very powerful adversary. One so powerful that association mapping is probably the least of your worries. - -%p This scheme is designed to prevent the casual, mass surveillance of all communication that currently takes place in repressive and democratic countries alike, by both governments and corporations. It greatly reduces the capacity for association mapping of both traffic over the wire and in stored communication. It is not designed to make a particular user anonymous in the face of a powerful adversary. - -%p However, a service provider using this scheme that has sufficient traffic will be in a very good position to be able to aggregate and time-shift the messages it relays in order to disrupt timing attacks—once researchers have a better understanding of how to effectively counter timing attacks.
\ No newline at end of file |