Remove support for DSA Keys

Solving issue #110. The original work is at !231
Some changes were needed because the newly added features in master through time

Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com>
Signed-off-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Mohammad Shehar Yaar Tausif
2022-03-11 22:00:20 +05:30
committed by Jakub Jelen
parent 486df37a84
commit a3a13eb3a8
60 changed files with 80 additions and 2912 deletions

View File

@@ -70,7 +70,7 @@
* @param[out] found_type A pointer to a string to be set with the found key
* type.
*
* @returns The found_type type of key (ie "dsa","ssh-rsa"). Don't
* @returns The found_type type of key (ie "ssh-rsa"). Don't
* free that value. NULL if no match was found or the file
* was not found.
*/
@@ -152,7 +152,7 @@ static int check_public_key(ssh_session session, char **tokens) {
char *pubkey_64;
int rc;
/* ssh-dss or ssh-rsa */
/* ssh-rsa, ssh-ed25519, .. */
pubkey_64 = tokens[2];
pubkey_buffer = base64_to_bin(pubkey_64);