Skip to content

Commit 29818c1

Browse files
xrissoulaaryanjassal
authored andcommitted
docs: update modified documentation files
1 parent f121ea9 commit 29818c1

File tree

10 files changed

+123
-112
lines changed

10 files changed

+123
-112
lines changed

docs/Getting-Started/polykey-cli/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,20 @@ The CLI is open-source and available on GitHub:
3030

3131
Polykey is continuously built and tested on:
3232

33-
- Linux x64 / arm64
33+
- Linux x64
3434
- MacOS x64 / arm64
3535
- Windows x64
3636
- Docker
3737

38-
:::note Polykey is currently in beta. Its interface is at various levels of
38+
:::note Note
39+
40+
Polykey is currently in beta. Its interface is at various levels of
3941
stability. So bear with us as we perfect its design. You can contribute by
4042
discussing with us on [Discord](https://discord.gg/h3UShM8WUN) or creating issue
4143
tickets in the
42-
[Polykey-CLI repo on GitHub](https://github.com/MatrixAI/Polykey-CLI). :::
44+
[Polykey-CLI repo on GitHub](https://github.com/MatrixAI/Polykey-CLI).
45+
46+
:::
4347

4448
## Getting Started
4549

docs/Getting-Started/polykey-cli/bootstrapping.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,17 @@ encryption and decryption of all node state and secret data managed by Polykey.
2424
You will be prompted to provide a root password. This password encrypts the root
2525
key.
2626

27-
:::note Remember to keep your password in a secure location as you will need it
28-
each time you start the Polykey agent. :::
27+
:::note Note
28+
29+
Remember to keep your password in a secure location as you will need it each time you start the Polykey agent.
30+
31+
:::
32+
33+
:::important
34+
35+
Bootstrapping also returns a **recovery code**. This code is required to recover a node with the same ID, so it is critical that you store it safely and securely. If lost, node identity recovery will not be possible.
36+
37+
:::
2938

3039
### Starting the Polykey Agent
3140

@@ -64,7 +73,8 @@ If the Polykey agent does not terminate properly, you can force quit the process
6473
through the Activity Monitor on your machine. If you encounter this or any other
6574
issue, please consider making a
6675
[bug report](https://github.com/MatrixAI/Polykey-CLI/issues/new/choose) to help
67-
improve Polykey.
76+
improve Polykey. Please make sure to check for existing issues before creating a
77+
new one.
6878

6979
## Check Agent Status
7080

@@ -80,19 +90,19 @@ including its connectivity and activity within the network.
8090
### Example Output
8191

8292
```bash
83-
status LIVE
84-
pid 96992
93+
sstatus LIVE
94+
pid 20004
8595
nodeId vgijtpv0h8m1eajeir77g73muq88n5kj0413t6fjdqsv9kt8dq4pg
86-
clientHost ::1
87-
clientPort 54975
96+
clientHost 127.0.0.1
97+
clientPort 51980
8898
agentHost ::
89-
agentPort 60358
90-
upTime 8
91-
startTime 1716509093
92-
connectionsActive 3
93-
nodesTotal 11
94-
version 1.2.3-alpha.4-1-1
95-
sourceVersion 1.2.3-alpha.4
99+
agentPort 58078
100+
upTime 120
101+
startTime 1742186927
102+
connectionsActive 0
103+
nodesTotal 2
104+
version 1.21.4-1-1
105+
sourceVersion 1.21.4
96106
stateVersion 1
97107
networkVersion 1
98108
```

docs/Getting-Started/polykey-cli/claiming-digital-identities.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Claiming Digital Identities: Establishing Identity Linkages in Polykey
1+
# Establishing Identity Linkages in Polykey
22

33
In Polykey, claiming a digital identity is a crucial step that allows users to
44
establish their identity across various platforms and link these identities to
@@ -8,7 +8,7 @@ cryptographic link to a publicly verifiable location.
88

99
This tutorial will guide you through the steps to authenticate with GitHub and
1010
claim an identity using Polykey, enhancing security and streamlining identity
11-
verification, making it easier for other users to discover and trust your nodes.
11+
verification, making it easier for other users to discover and trust your nodes. Currently, we only support github as an identity provider, but we plan to add more in the future.
1212

1313
## Step 1: Authenticate with GitHub
1414

@@ -31,7 +31,9 @@ polykey identities authenticate <providerId>
3131
`<providerId>`: The identifier for the digital identity provider, such as
3232
"github". :::
3333

34-
:::note Since Polykey currently only supports GitHub as an IdP, this is the
34+
:::note Note
35+
36+
Since Polykey currently only supports GitHub as an IdP, this is the
3537
command that you will use to start the authentication process.
3638

3739
```bash
@@ -72,19 +74,19 @@ identityId maverick
7274
During the authentication process, here's what Polykey requests access to and
7375
why:
7476

75-
- **Create Gists:** Polykey creates a gist under your GitHub account containing
77+
- **Currently: Create Gists:** Polykey creates a gist under your GitHub account containing
7678
a cryptographic link. This link is a verifiable method that proves the
7779
ownership of your GitHub identity to anyone checking your Polykey gestalt
7880
graph.
7981

80-
- **Read All User Profile Data:** This enables Polykey to access your profile
82+
-:::note Note
83+
84+
**Future Plan: Read All User Profile Data:** This enables Polykey to access your profile
8185
details, including your username, followers, and public repository data. This
8286
information is used to ensure that the identity you claim corresponds
8387
accurately to your public digital footprint, enhancing trust and verification.
8488

85-
- **Access User Email Addresses (read-only):** By accessing the email addresses
86-
associated with your account, Polykey can better manage notifications related
87-
to your secrets operations.
89+
:::
8890

8991
#### Security and Privacy Considerations
9092

@@ -148,7 +150,13 @@ https://gist.github.com/my-github-username
148150

149151
This gist contains the cryptographic link confirming that your Polykey identity
150152
is correctly linked to your GitHub profile. Viewing this gist ensures your claim
151-
was successful and publicly verifiable.
153+
was successful and publicly verifiable.
154+
155+
:::note Note
156+
157+
This information should not be modified or the claim might be invalidated.
158+
159+
:::
152160

153161
## Understanding Gestalt Graphs
154162

docs/Getting-Started/polykey-cli/discovering-other-users.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ polykey identities discover <gestaltId>
3838
```bash
3939
polykey identities discover github.com:maverick
4040
```
41-
41+
:::note Note
4242
This command adds the node associated with the GitHub username "maverick" to
4343
your discovery queue, allowing you to initiate interactions with this user.
44-
:::note
44+
45+
:::
4546

4647
## Troubleshooting Discovery and Connection Issues
4748

@@ -77,8 +78,6 @@ network.
7778

7879
:::
7980

80-
:::info
81-
8281
### Future Enhancements
8382

8483
Polykey is actively working to enhance the discovery process by implementing
@@ -116,13 +115,9 @@ Permissions in Polykey determine what actions a node or an identity can perform
116115
within the network. Here’s a general list of potential permissions that can be
117116
managed:
118117

119-
- **Read:** Allows viewing but not modifying.
120-
- **Write:** Allows both viewing and modifying.
121-
- **Execute:** Allows performing specific actions.
118+
- **Scan:** Allows the node to scan for vaults
122119
- **Notify:** Allows sending notifications about changes or updates.
123-
- **Trust:** Allows a node to be trusted, generally affecting how interactions
124-
are secured.
125-
120+
- **Claim** Allows a different gstalt to claim the node
126121
#### Example Command to Set Permissions
127122

128123
```bash
@@ -197,7 +192,7 @@ polykey identities list
197192

198193
### Trusting and Untrusting Nodes
199194

200-
You can explicitly trust or untrust a node to refine how notifications and
195+
You can explicitly trust or untrust individual nodes or entire gestalts to refine how notifications and
201196
access controls are handled:
202197

203198
```bash

docs/Getting-Started/polykey-cli/installation.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ $ nix-env -f ./release.nix --install --attr application --argstr npmDepsHash "$(
126126
We will be working on other distribution methods.
127127

128128
</TabItem>
129-
<TabItem value="macos" label="MacOs">
129+
<TabItem value="macOS" label="MacOS">
130130

131131
## MacOS
132132

133133
:::info
134134

135-
ARM-64 builds are not currently supported on MacOS as of **26-03-24.** However,
135+
ARM-64 builds are not currently supported on MacOS as of **6 April 2025.** However,
136136
building Polykey yourself on MacOS resolves in a working binary. Follow this
137137
guide below to manually build and install Polykey on macOS.
138138

@@ -284,13 +284,21 @@ echo 'export PATH=~/Downloads:$PATH' >> ~/.zshrc && source ~/.zshrc
284284
</TabItem>
285285
<TabItem value="bash" label="Bash">
286286

287+
:::tip
288+
289+
The path export should not pint to the Polykey executable itself, but rather to
290+
the directory containing the executable. Otherwise, the executable will not be
291+
found and will not work.
292+
293+
:::
294+
287295
#### For Bash:
288296

289297
1. `cd` into the directory where the "polykey" executable is stored.
290298
2. Edit the Bash config to add "polykey" to your path. To streamline the
291299
process, run the following command, making sure to change the path to
292300
"polykey" if the executable is not in the downloads folder. For most users,
293-
this would be `~/downloads` on Debian-based systems.
301+
this would be `~/Downloads`
294302

295303
:::tip
296304

@@ -408,7 +416,7 @@ docker run -it 0e1addd9855a agent start --background -np /tmp/polykey
408416
Making sure to replace `0e1addd9855a` with your corresponding image ID.
409417

410418
```shell
411-
docker run -it 0e1addd9855a agent start --background -np /tmp/polykey
419+
$ docker run -it 0e1addd9855a agent start --background -np /tmp/polykey
412420
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
413421
✔ Enter new password … *
414422
✔ Confirm new password … *
@@ -418,7 +426,7 @@ clientHost 127.0.0.1
418426
clientPort 45509
419427
agentHost ::
420428
agentPort 37468
421-
recoveryCode net elephant gentle eight pulp oyster panther sing own autumn silly whip simple warfare daughter pepper detail bachelor awkward forget ignore cream silly raw
429+
recoveryCode (random text recovery code goes here)
422430
423431
```
424432

docs/Getting-Started/polykey-cli/managing-multiple-nodes.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
Managing multiple local
44

5-
nodes in Polykey can serve various purposes. For example, you might maintain one
6-
node for personal projects and another for professional work. This segregation
7-
ensures that the vaults and their respective contents remain distinct based on
8-
their usage context.
5+
nodes in Polykey can serve various purposes. For example, you might maintain one node for personal projects and another for professional work. This segregation ensures that the vaults and their respective contents remain distinct based on their usage context.
96

107
This approach is particularly advantageous for demonstrations or training
118
purposes, as it allows you to simulate sharing vaults between two nodes on the
@@ -41,8 +38,12 @@ node we are starting an agent for. If unsure of the syntax to use for command
4138
operations, adding the --help at the end of each subcommand provides useful
4239
context.
4340

44-
:::note If a node has not been created before, initializing the Polykey agent
45-
for it will also initiate the bootstrap process. :::
41+
:::note Note
42+
43+
If a node has not been created before, initializing the Polykey agent
44+
for it will also initiate the bootstrap process.
45+
46+
:::
4647

4748
When working with multiple nodes, specifying the node path in each command can
4849
become cumbersome. To streamline this process in your terminal shell session,

0 commit comments

Comments
 (0)