Uses 911K of libraries. Click here for Pure Java version (6905L/37K).
1 | !7 |
2 | |
3 | cmodule AgiBlueTrustedBot > DynSingleFunctionWithPrintLog {
|
4 | transient PKIKeyPair keys, newKeys; |
5 | S botDescription = "Trusted Test Bot"; |
6 | |
7 | void doIt {
|
8 | keys = agiBot_trustedKeyForMachine(); |
9 | if (keys != null) {
|
10 | print("Have trusted keys! TODO: test if they still work.");
|
11 | } else {
|
12 | newKeys = keyPairForProgram(); |
13 | print("Posting trust request.");
|
14 | agiBot_postTrustRequest(newKeys, botDescription); |
15 | } |
16 | } |
17 | } |
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: | 566 / 9331 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |