mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
ff2ffa539c
The test in the Pageant list box code for whether we should display the bit count of a key was done by checking specifically for ssh_rsa or ssh_dsa, which of course meant that it didn't catch the certified versions of those keys. Now there's yet another footling ssh_keyalg method that asks the question 'is it worth displaying the bit count?', to which RSA and DSA answer yes, and the opensshcert family delegates to its base key type, so that RSA and DSA certified keys also answer yes. (This isn't the same as ssh_key_public_bits(alg, blob) >= 0. All supported public key algorithms _can_ display a bit count if called on. But only in RSA and DSA is it configurable, and therefore worth bothering to print in the list box.) Also in this commit, I've fixed a bug in the certificate implementation of public_bits, which was passing a wrongly formatted public blob to the underlying key. (Done by factoring out the code from opensshcert_new_shared which constructed the _correct_ public blob, and reusing it in public_bits to do the same job.) |
||
---|---|---|
.. | ||
antispoof.c | ||
backend_socket_log.c | ||
base64_decode_atom.c | ||
base64_decode.c | ||
base64_encode_atom.c | ||
base64_encode.c | ||
base64_valid.c | ||
bufchain.c | ||
buildinfo.c | ||
burnstr.c | ||
cert-expr.c | ||
chomp.c | ||
CMakeLists.txt | ||
cmdline_get_passwd_input_state_new.c | ||
conf_dest.c | ||
conf_launchable.c | ||
conf.c | ||
ctrlparse.c | ||
ctrlset_normalise.c | ||
debug.c | ||
decode_utf8_to_wchar.c | ||
decode_utf8.c | ||
default_description.c | ||
dup_mb_to_wc.c | ||
dup_wc_to_mb.c | ||
dupcat.c | ||
dupprintf.c | ||
dupstr.c | ||
encode_utf8.c | ||
encode_wide_string_as_utf8.c | ||
fgetline.c | ||
host_ca_new_free.c | ||
host_strchr_internal.c | ||
host_strchr.c | ||
host_strcspn.c | ||
host_strduptrim.c | ||
host_strrchr.c | ||
key_components.c | ||
log_proxy_stderr.c | ||
ltime.c | ||
make_spr_sw_abort_static.c | ||
marshal.c | ||
memory.c | ||
memxor.c | ||
null_lp.c | ||
nullkey.c | ||
nullseat.c | ||
nullstrcmp.c | ||
out_of_memory.c | ||
parse_blocksize.c | ||
percent_decode.c | ||
percent_encode.c | ||
prompts.c | ||
ptrlen.c | ||
read_file_into.c | ||
seat_connection_fatal.c | ||
seat_dialog_text.c | ||
sessprep.c | ||
sk_free_peer_info.c | ||
smemclr.c | ||
smemeq.c | ||
spr_get_error_message.c | ||
ssh2_pick_fingerprint.c | ||
ssh_key_clone.c | ||
sshutils.c | ||
strbuf.c | ||
string_length_for_printf.c | ||
stripctrl.c | ||
tempseat.c | ||
tree234.c | ||
utils.h | ||
validate_manual_hostkey.c | ||
version.c | ||
wcwidth.c | ||
wildcard.c | ||
wordwrap.c | ||
write_c_string_literal.c | ||
x11_dehexify.c | ||
x11_identify_auth_proto.c | ||
x11_make_greeting.c | ||
x11_parse_ip.c | ||
x11authfile.c | ||
x11authnames.c |