Uses 911K of libraries. Click here for Pure Java version (6905L/37K).
!7 cmodule AgiBlueTrustedBot > DynSingleFunctionWithPrintLog { transient PKIKeyPair keys, newKeys; S botDescription = "Trusted Test Bot"; void doIt { keys = agiBot_trustedKeyForMachine(); if (keys != null) { print("Have trusted keys! TODO: test if they still work."); } else { newKeys = keyPairForProgram(); print("Posting trust request."); agiBot_postTrustRequest(newKeys, botDescription); } } }
Began life as a copy of #1023679
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: | #1023701 |
Snippet name: | agi.blue bot sending trust request |
Eternal ID of this version: | #1023701/3 |
Text MD5: | f540166d0da68a3a22cb3003ef104da0 |
Transpilation MD5: | adb367d9428ccebdbbd7652597584892 |
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:29:51 |
Source code size: | 464 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 299 / 8996 |
Version history: | 2 change(s) |
Referenced in: | #1023702 - agi.blue: make trusted key for machine [on server only] |