Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions dev/device-ids.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Keys
To understand device IDs we need to look at the underlying mechanisms. At first
startup, Syncthing will create a public/private keypair.

Currently this is a 384 bit ECDSA key (3072 bit RSA prior to v0.12.5,
which is what is used as an example in this article). The keys are saved in
the form of the private key (``key.pem``) and a self signed certificate
(``cert.pem``). The self signing part doesn't actually add any security or
functionality as far as Syncthing is concerned but it enables the use of the
keys in a standard TLS exchange.
Currently this is a 256 bit Ed25519 key (384 bit ECDSA prior to v2.0.0 and
3072 bit RSA prior to v0.12.5, which is what is used as an example in this
article). The keys are saved in the form of the private key (``key.pem``) and a
self signed certificate (``cert.pem``). The self signing part doesn't actually
add any security or functionality as far as Syncthing is concerned but it enables
the use of the keys in a standard TLS exchange.

The typical certificate will look something like this, inspected with
``openssl x509``::
Expand Down