(pubKey, data, options, cb)
| 30 | cb(null, [ parseKey(clientKey.key.getPublicSSH()) ]); |
| 31 | } |
| 32 | sign(pubKey, data, options, cb) { |
| 33 | assert.strictEqual(++signCount, 1); |
| 34 | assert.strictEqual(pubKey.getPublicPEM(), clientKey.key.getPublicPEM()); |
| 35 | const sig = clientKey.key.sign(data, options.hash); |
| 36 | cb(null, sig); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | const username = 'Agent User'; |
no outgoing calls
no test coverage detected