https://bugzilla.mindrot.org/show_bug.cgi?id=2081
--- Comment #20 from Alon Bar-Lev <[email protected]> --- (In reply to Sami Hartikainen from comment #19) > Created attachment 2477 [details] > Patch enabling optional %-expanded arguments to AuthorizedKeysCommand > > A patch implementing the %-expanded optional arguments to > AuthorizedKeysCommand as described in comment 13: %u, %t, %f and %k > are expanded to username, key type, fingerprint and (base64-encoded) > key, respectively. If none of the above arguments are specified, > username is provided to the command as before. Hi! Can you please also add %h as in other commands? Not sure why you do not use percent_expand unconditionallty for all parameters, the program will get no key and can response in any way it likes. Please use execv instead of execl and checking for # of arguments. I am unsure that argv[4] is valid as I can add many options... %u %u %k %k xxx yy xxx You should translate all. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
