diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2020-12-23 12:20:02 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-23 12:20:02 +0000 |
| commit | 1c3f29a9e21e494d19fbe6e5f965fce8bd2b7d48 (patch) | |
| tree | 7ecad0bdd8df93261af7dfcf24763be6936b33d1 /include/git2 | |
| parent | 381991a1998c7bb202455b37d283d075f2872112 (diff) | |
| parent | 8dc0ba75f0a49fac0af920630a867720b287ada3 (diff) | |
| download | libgit2-1c3f29a9e21e494d19fbe6e5f965fce8bd2b7d48.tar.gz | |
Merge pull request #5750 from arroz/missing_hostkey_types
Add support for additional SSH hostkey types.
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/cert.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/cert.h b/include/git2/cert.h index 07ae8c9f9..f111b136e 100644 --- a/include/git2/cert.h +++ b/include/git2/cert.h @@ -91,6 +91,14 @@ typedef enum { GIT_CERT_SSH_RAW_TYPE_RSA = 1, /** The raw key is a DSS key. */ GIT_CERT_SSH_RAW_TYPE_DSS = 2, + /** The raw key is a ECDSA 256 key. */ + GIT_CERT_SSH_RAW_TYPE_KEY_ECDSA_256 = 3, + /** The raw key is a ECDSA 384 key. */ + GIT_CERT_SSH_RAW_TYPE_KEY_ECDSA_384 = 4, + /** The raw key is a ECDSA 521 key. */ + GIT_CERT_SSH_RAW_TYPE_KEY_ECDSA_521 = 5, + /** The raw key is a ED25519 key. */ + GIT_CERT_SSH_RAW_TYPE_KEY_ED25519 = 6 } git_cert_ssh_raw_type_t; /** |
