File tree Expand file tree Collapse file tree
sshlib/src/main/kotlin/org/connectbot/sshlib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
22 * ConnectBot SSH Library
3- * Copyright 2025 Kenny Root
3+ * Copyright 2025-2026 Kenny Root
44 *
55 * Licensed under the Apache License, Version 2.0 (the "License");
66 * you may not use this file except in compliance with the License.
@@ -21,8 +21,8 @@ package org.connectbot.sshlib
2121 * Callback for keyboard-interactive authentication (RFC 4256).
2222 *
2323 * The server sends one or more info requests, each containing prompts
24- * that the user must answer. Call [respond] with the answers to send
25- * them back to the server.
24+ * that the user must answer. [onInfoRequest] receives a `respond`
25+ * callback; call it with the answers to send them back to the server.
2626 */
2727interface KeyboardInteractiveCallback {
2828 /* *
Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ import org.connectbot.sshlib.crypto.encodeSshString
4949 * For ECDSA-P256, [pack] accepts the DER `SEQUENCE { INTEGER r, INTEGER s }`
5050 * format that CTAP2 returns and converts it to `mpint r || mpint s` internally.
5151 *
52- * What [flags] and [counter] mean (from `PROTOCOL.u2f` §3.2): the FIDO2 device
52+ * The `flags` and `counter` parameters of [pack] come from the CTAP2
53+ * GetAssertion response. Per OpenSSH `PROTOCOL.u2f` §3.2, the FIDO2 device
5354 * sets `flags = SK_USER_PRESENCE_REQUIRED (0x01)` if user presence was tested
5455 * and `| SK_USER_VERIFICATION_REQUIRED (0x04)` if user verification was also
55- * tested; `counter` is the device's monotonic signature counter. Both come
56- * from the CTAP2 GetAssertion response.
56+ * tested; `counter` is the device's monotonic signature counter.
5757 */
5858public object SkSignatureBlob {
5959
You can’t perform that action at this time.
0 commit comments