Uses 911K of libraries. Click here for Pure Java version (6289L/34K).
1 | !7 |
2 | |
3 | cmodule AgiBlueMakeKey > DynSingleFunctionWithPrintLog { |
4 | void doIt { |
5 | PKIKeyPair keys = agiBot_trustedKeyForMachine(); |
6 | if (keys != null) { |
7 | print("Have machine key: " + keys.publicKey); |
8 | } else { |
9 | keys = pki_newKeyPair(); |
10 | agiBot_setTrustedKeyForMachine(keys); |
11 | print("Set machine key: " + keys.publicKey); |
12 | } |
13 | } |
14 | } |
Began life as a copy of #1023701
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023702 |
Snippet name: | agi.blue: make trusted key for machine [on server only] |
Eternal ID of this version: | #1023702/1 |
Text MD5: | c8d44ab51d7ab499f7be0bb7829dea37 |
Transpilation MD5: | c94e3c709d856d108ce8f4928c2d71dd |
Author: | stefan |
Category: | javax / agi.blue |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-03 13:49:03 |
Source code size: | 367 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 319 / 8999 |
Referenced in: | [show references] |