Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3756814
D8448.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
519 B
Referenced Files
None
Subscribers
None
D8448.diff
View Options
diff --git a/keyserver/src/scripts/get-keyserver-public-key.js b/keyserver/src/scripts/get-keyserver-public-key.js
new file mode 100644
--- /dev/null
+++ b/keyserver/src/scripts/get-keyserver-public-key.js
@@ -0,0 +1,11 @@
+// @flow
+
+import { fetchOlmAccount } from '../updaters/olm-account-updater.js';
+
+// Outputs the keyserver's signing ed25519 public key
+async function main() {
+ const info = await fetchOlmAccount('content');
+ console.log(JSON.parse(info.account.identity_keys()).ed25519);
+}
+
+main();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 6:02 AM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2860750
Default Alt Text
D8448.diff (519 B)
Attached To
Mode
D8448: [keyserver] output keyserver's signing ed25519 public key
Attached
Detach File
Event Timeline
Log In to Comment