Uses 911K of libraries. Click here for Pure Java version (6289L/34K).
!7 cmodule AgiBlueMakeKey > DynSingleFunctionWithPrintLog { void doIt { PKIKeyPair keys = agiBot_trustedKeyForMachine(); if (keys != null) { print("Have machine key: " + keys.publicKey); } else { keys = pki_newKeyPair(); agiBot_setTrustedKeyForMachine(keys); print("Set machine key: " + keys.publicKey); } } }
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: | 586 / 9313 |
| Referenced in: | [show references] |