mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Minor improvements
This commit is contained in:
parent
85f92f157e
commit
bb3a3dda34
3 changed files with 26 additions and 40 deletions
|
@ -1,35 +0,0 @@
|
||||||
# Listing Proofs using GnuPG
|
|
||||||
|
|
||||||
Let's list the identity proofs stored in our OpenPGP keys.
|
|
||||||
|
|
||||||
## Listing notations in GnuPG
|
|
||||||
|
|
||||||
First, edit the key (make sure to replace FINGERPRINT):
|
|
||||||
|
|
||||||
```
|
|
||||||
gpg --edit-key FINGERPRINT
|
|
||||||
```
|
|
||||||
|
|
||||||
List detailed preferences:
|
|
||||||
|
|
||||||
```
|
|
||||||
showpref
|
|
||||||
```
|
|
||||||
|
|
||||||
You should now see your key details, uid, and proofs assigned to your keys:
|
|
||||||
|
|
||||||
```
|
|
||||||
[ultimate] (1). Your Name <your@email>
|
|
||||||
Cipher: AES256, AES192, AES, 3DES
|
|
||||||
Digest: SHA512, SHA384, SHA256, SHA1
|
|
||||||
Compression: ZLIB, BZIP2, ZIP, Uncompressed
|
|
||||||
Features: MDC, Keyserver no-modify
|
|
||||||
Notations: proof@metacode.biz=https://gist.github.com/youruser/somehash
|
|
||||||
proof@metacode.biz=dns:yourdomain.org?type=TXT</your@email>
|
|
||||||
```
|
|
||||||
|
|
||||||
Exit gpg:
|
|
||||||
|
|
||||||
```
|
|
||||||
quit
|
|
||||||
```
|
|
|
@ -6,8 +6,6 @@ Let's list the identity proofs stored in our OpenPGP keys.
|
||||||
|
|
||||||
First, edit the key (make sure to replace FINGERPRINT):
|
First, edit the key (make sure to replace FINGERPRINT):
|
||||||
|
|
||||||
```
|
|
||||||
`
|
|
||||||
```
|
```
|
||||||
gpg --edit-key FINGERPRINT
|
gpg --edit-key FINGERPRINT
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,7 +1,30 @@
|
||||||
# Self-hosting Keyoxide
|
# Self-hosting Keyoxide
|
||||||
|
|
||||||
Though it's not a fully supported use case yet, anyone can take the [source code](https://codeberg.org/keyoxide/web) and put it on their own server. The idea is that [Keyoxide.org](https://keyoxide.org) is not special in itself. After all, all the heavy lifting is done by the browser. So the role of any individual Keyoxide server is to get the tool in the hands of the end user.
|
Self-hosting Keyoxide is an important aspect of the project. Users need to trust the Keyoxide instance they're using to reliably verify identities. Making Keyoxide itself decentralized means no one needs to trust a central server. If a friend or family member is hosting a Keyoxide instance, it becomes much easier to trust the instance!
|
||||||
|
|
||||||
The few supporting roles the server has can easily be performed by any other (PHP) server.
|
## Docker
|
||||||
|
|
||||||
So if you like the project but perhaps are mistrusting of servers of others, especially when it comes to keypairs, here's the [source code](https://codeberg.org/keyoxide/web) and put it on your own server. Thanks for using the project!
|
- Run `docker run -d -p 3000:3000 keyoxide/keyoxide:stable`
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
- Add environment variables to the docker command:
|
||||||
|
`docker run -d -p 3000:3000 -e PROXY_HOSTNAME=proxy.domain.tld keyoxide/keyoxide:stable`
|
||||||
|
|
||||||
|
## Without Docker
|
||||||
|
|
||||||
|
- Fetch the [source code](https://codeberg.org/keyoxide/web) and put the files on your server
|
||||||
|
- Run `yarn` or `npm install` to install the dependencies
|
||||||
|
- Run `yarn run start` or `npm run start` to start the server at `http://localhost:3000`
|
||||||
|
- Point your reverse proxy to `http://localhost:3000`
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
- Add a `.env` file to the root directory of the source code:
|
||||||
|
|
||||||
|
```
|
||||||
|
# .env file
|
||||||
|
|
||||||
|
# Enable the use of a proxy (replace with your proxy server domain)
|
||||||
|
PROXY_HOSTNAME=proxy.domain.tld
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue