ソースを参照

Update 'apps/syncthing.sh'

Toastie 1 週間 前
コミット
d4af0594f8
1 ファイル変更19 行追加1 行削除
  1. 19 1
      apps/syncthing.sh

+ 19 - 1
apps/syncthing.sh

@@ -2,4 +2,22 @@
 sudo mkdir -p /etc/apt/keyrings
 sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
 echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
-sudo apt-get update && sudo apt-get install syncthing
+sudo apt-get update && sudo apt-get install syncthing
+
+# Infos
+# - Crypto https://docs.syncthing.net/dev/device-ids.html
+#   - At first startup, Syncthing will create a self-signed public/private keypair
+#   - 384 bit ECDSA key (3072 bit RSA prior to v0.12.5)
+  
+# - First read: https://docs.syncthing.net/intro/getting-started.html
+# - Device ID
+#   - device ID = SHA-256 hash of the certificate data
+#   - cryptographically-secure identifier generated as part of the key generation
+#   - They are essentially part of the public key.
+#   - To get your two devices to talk to each other click “Add Remote Device” at the bottom right on both devices, and enter the device ID 
+#   - The device ID, derived from the SHA-256 hash of the device’s certificate, is used to verify the identity of the connecting device. This ensures that only authorized devices can connect and sync1.
+# - Local device resolution
+#   - broadcast to announce
+#   - udp
+#   - every 30-60s
+