Keybase Explained

Keybase
Logo Alt:The Keybase logo
Screenshot Size:300px
Screenshot Alt:A screenshot of a keybase user page.
Type:Encrypted social networking service
Registration:Required for membership
Language:English
Num Users:407,163 (as of 2019-08-22)
Content Licence:-->
Owner:Zoom Video Communications (2020)
Creators:Chris Coyne, Max Krohn, others
Editors:-->
Programming Language:Go, JavaScript, Electron, React[1]

Keybase is a key directory that maps social media identities to encryption keys (including, but not limited to PGP keys) in a publicly auditable manner.[2] Additionally it offers an end-to-end encrypted chat and cloud storage system,[3] called Keybase Chat and the Keybase Filesystem respectively. Files placed in the public portion of the filesystem are served from a public endpoint, as well as locally from a filesystem mounted by the Keybase client.[4]

Keybase supports publicly connecting Twitter, GitHub, Reddit, and Hacker News identities, including websites and domains under one's control, to encryption keys. It also supports Bitcoin, Zcash, Stellar, and QRL wallet addresses.[5] [6] [7] [8] [9] [10] Keybase has supported Coinbase identities since initial public release, but ceased to do so on March 17, 2017, when Coinbase terminated public payment pages.[11] In general, Keybase allows for any service with public identities to integrate with Keybase.[12]

On May 7, 2020, Keybase announced it had been acquired by Zoom,[13] as part of Zoom's "plan to further strengthen the security of [its] video communications platform".[14]

Identity proofs

Keybase allows users to prove a link between certain online identities (such as a Twitter or Reddit account) and their encryption keys. Instead of using a system such as OAuth, identities are proven by posting a signed statement as the account a user wishes to prove ownership of. This makes identity proofs publicly verifiable – instead of having to trust that the service is being truthful, a user can find and check the relevant proof statements themselves, and the Keybase client does this automatically.

App

In addition to the web interface, Keybase offers a client application for Windows,[15] [16] Mac, Android,[17] iOS, and most desktop Linux distributions, written in Go with an Electron front end. The app offers additional features to the website, such as the end-to-end encrypted chat, teams feature, and the ability to add files to and access private files in their personal and team Keybase Filesystem storage. Each device running the client app is authorized by a signature made either by another device or the user's PGP key. Each device is also given a per-device NaCl (pronounced "salt") key to perform cryptographic operations.

Chat

Keybase Chat is an end-to-end encrypted chat built in to Keybase launched in February 2017. A distinguishing feature of Keybase Chat is that it allows Keybase users to send messages to someone using their online aliases (for example a reddit account), even if they haven't signed up to Keybase yet.

If the recipient (the online alias owner) has an account on Keybase, they will seamlessly receive the message. If the recipient doesn't have a Keybase account, and later signs up and proves the link between the online account and their devices, the sender's device will rekey the message for the recipient based on the public proof they posted, allowing them to read the message. Since the Keybase app checks the proof, it avoids trust on first use.[18]

Keybase Filesystem (KBFS)

Keybase allows users to store up to 250 GB[19] of files in a cloud storage called the Keybase Filesystem for free. There are no storage upgrades available, but paid plans allowing for more data are planned.[20] The filesystem is divided into three parts: public files, private files, and team files. On Unix-like machines, the filesystem is mounted to /keybase, and on Microsoft Windows systems it is usually mounted to the K drive.[21] Currently, mobile versions of the Keybase client can only download files from kbfs, and can not mount it. However, they do support operations such as rekeying files as necessary. In October 2017 Keybase brought out end-to-end encrypted Git repositories.[22]

Public files

Public files are stored in /public/''username'', and are publicly visible. All files in the public filesystem are automatically signed by the client. Only the user who the folder is named after can edit its contents, however, a folder may be named after a comma-separated list of users (e.g. a folder /public/''foo,bar,three'' would be editable by the users foo, bar, and three).

Public files can be accessed by any user. Single user folders are displayed at and are also accessible by opening the directory in the mounted version of the filesystem. Multi user folders (such as /public/''foo,bar,three'') are only accessible through the mounted version of the system.

Private files

Private files are stored in /private/''username'', and are only visible to username. Private folders, like public folders, can be named after more than one user (e.g. a folder /private/''foo,bar,three'' would be readable and editable by the users foo, bar, and three). Private files can also be read only for users after "#" (e.g. a folder /private/''writer1,writer2,#reader1,reader2'' would be readable and editable by the users writer1 and writer2 but only readable for reader1 and reader2). Unlike public files, all private files are both encrypted and signed before being uploaded, making them end-to-end encrypted.

Team files

Team files are stored in /team/''teamname'', and are publicly visible to team members. All files in the team filesystem are automatically encrypted and signed by the client. Only users who are marked as writers can edit its contents, however, any readers can access the files stored there.[23]

Teams

In September 2017, Keybase launched Keybase Teams.[24] A team is described as "...a named group of people."[25] Each team has a private folder in the Keybase filesystem, and a number of chat channels (similar to Slack). Teams can also be divided into "subteams" by placing a . in the team name. For example, wikipedia.projects would be a subteam of wikipedia, while wikipedia.projects.foobar would be a subteam of wikipedia.projects (and therefore, also of wikipedia).

Team administration

Teams are largely administered by adding signatures to a chain. Each signature can add, remove, or change the membership of a user in a team, as well as when changes are made to subteams.

Each chain starts with a signature made by the team owner, with subsequent actions signed on by team admins or users.[26] This ensures that every action is made by an authorized user, and that actions can be verified by anyone in possession of the public key used.

External links

Notes and References

  1. The Keybase client Github repository.
  2. Web site: Sigchain Keybase Docs. keybase.io. 2019-06-09.
  3. News: Keybase Introduces End-To-End Encrypted File Sharing Service. Russell. Jon. 2016-05-02. TechCrunch. 2017-05-06.
  4. Web site: Understanding the Keybase filesystem. Keybase. 2017-09-26.
  5. Web site: Keybase Wants To Make Serious Encryption Accessible To Mere Mortals. Fast Company. Fleishman. Glenn. 5 June 2017.
  6. Web site: Keybase's encrypted chat works with accounts you already have. Dalton. Andrew. 2017-09-02. Engadget. 2017-06-05.
  7. Web site: Keybase chooses Zcash. The Keybase Blog. 2018-02-06.
  8. Web site: Stellar wallets for all Keybase users. The Keybase Blog. 2019-09-16.
  9. Web site: Keybase ♥'s Mastodon, and how to get your site on Keybase. keybase.io. 2019-06-08.
  10. Web site: 2019-04-24. QRL and Keybase. 2021-04-06. www.theqrl.org. en.
  11. Web site: Abrupt Termination of Coinbase Support. The Keybase Blog. Keybase, Inc. 5 June 2017.
  12. Web site: Proof Integration Guide Keybase Docs. keybase.io. 2019-06-08. 2019-06-08. https://web.archive.org/web/20190608212519/https://keybase.io/docs/proof_integration_guide. dead.
  13. Web site: Keybase joins Zoom. keybase.io. 2020-05-07.
  14. Zoom Acquires Keybase and Announces Goal of Developing the Most Broadly Used Enterprise End-to-End Encryption Offering. 2020-05-07. Zoom Blog. 2020-05-07.
  15. News: Keybase offers encrypted chat where you control all the pieces. Fleishman. Glenn. Feb 15, 2017. Macworld. June 8, 2017.
  16. News: Keybase adds end-to-end encryption to messages on the web. Dunn. John E. May 31, 2017. Naked Security. June 8, 2017.
  17. News: Keybase encrypted chat now available on Android. Hoff. John. May 12, 2017. androidcommunity.com. June 8, 2017.
  18. Web site: Introducing Keybase Chat. The Keybase Blog. Keybase, Inc. February 12, 2018.
  19. Web site: FYI - we changed the default KBFS plan to 250GB instead of just 10GB. Very few people are hitting the limit so it's less work to let them go past it than deal with UX around upgrading right now.. Keybase (via Wayback Machine). https://web.archive.org/web/20171222221055/https://keybase.io/images/blog/teams/teams-splash-announcement.png. June 11, 2018. 2017-12-22.
  20. Web site: Keybase. keybase.io. 2019-02-10.
  21. Web site: Introducing the Keybase filesystem. Keybase. 2017-09-26.
  22. Web site: Keybase launches encrypted git. The Keybase Blog. Keybase, Inc. June 11, 2018.
  23. Web site: KBFS - Understanding KBFS Keybase Docs. keybase.io. 2019-06-09.
  24. News: First They Made OkCupid and SparkNotes. Now They're Taking on Slack. Hackett. Robert. 18 September 2017. Fortune Tech. 21 September 2017.
  25. Web site: Teams for Keybase. Keybase.io. September 21, 2017. October 27, 2018. https://web.archive.org/web/20181027143249/https://keybase.io/docs/command_line/teams_alpha. dead.
  26. Web site: Teams: Naming, Merkle Tree Integration, And Signature Chains. Keybase. 2017-09-26.