Index: build/chrome/ssh-agent.js ================================================================== --- build/chrome/ssh-agent.js +++ build/chrome/ssh-agent.js @@ -91,11 +91,15 @@ bigInt = bigInt >> 8; } result.reverse(); break; case "object": - result = Array.from(new Uint8Array(bigInt.toByteArray())); + if (bigInt.toByteArray) { + result = Array.from(new Uint8Array(bigInt.toByteArray())); + } else { + result = Array.from(bigInt); + } break; } result = cackeySSHAgentEncodeLV(result);