Skip to content

Commit

Permalink
Fix typos (bluesky-social#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
rex4539 authored Jan 10, 2023
1 parent 9652ad8 commit b718761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/pds/src/api/com/atproto/invites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function (server: Server, ctx: AppContext) {
handler: async ({ input, req }) => {
const { useCount } = input.body

// generate a 5 char b32 invite code - preceeded by the hostname
// generate a 5 char b32 invite code - preceded by the hostname
// ex: bsky.app-abc12
const code =
ctx.cfg.publicHostname +
Expand Down
10 changes: 5 additions & 5 deletions packages/plc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ DID Placeholder is a cryptographic, strongly-consistent, and recoverable [DID](h

## Motivation

We introduced DID Placeholder because we weren't totally satisfied with any of the existing DID methods.
We introduced DID Placeholder because we weren't totally satisfied with any of the existing DID methods.
We wanted a strongly consistent, highly available, recoverable, and cryptographically secure method with cheap and fast propagation of updates.

We cheekily titled the method "Placeholder", because we _don't_ want it to stick around. We're actively hoping to replace it with something less centralized.
We expect a method to emerge that fits the bill within the next few years, likely a permissioned DID consortium.
We expect a method to emerge that fits the bill within the next few years, likely a permissioned DID consortium.

## How it works
This is not a fully-expressive DID format.
Though it adheres to the DID spec, it is domain-specific and only allows for representing specific data types in a specific manner.
There is the possibility that it could be extended to be more general in the future.

Each DID document is made up of just four pieces of data (for now):
Each DID document is made up of just four pieces of data (for now):
- `signingKey`
- `recoveryKey`
- `handle`
Expand Down Expand Up @@ -43,9 +43,9 @@ It is then base32 encoded and truncated to 24 chars.
To illustrate:
`did:plc:${base32Encode(sha256(createOp)).slice(0,24)}`
Operations are verified, ordered and made availble by the PLC server.
Operations are verified, ordered and made available by the PLC server.
The PLC server is contrained in it's capabilities.
The PLC server is constrained in it's capabilities.
The operation logs are fully self-certifying, with the exception of their ordering.
Therefore, the PLC server's attacks are limited to:
Expand Down

0 comments on commit b718761

Please sign in to comment.