| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
This removes many redundant dereferences to obtain the dev pointer
from the slot stucture and makes the source slightly more readable.
No behavior change.
|
|
|
|
|
| |
No behavior change; this change is only to make the maths easier to
proofread
|
|
|
|
|
|
|
| |
No bahavior change. Now, slot_attach() moves slot's clock forward and
puts the slot on device list; slot_detach() does the opposite: remove
from device list and move clock backwards. This will allow to detach a
client and attach it later in exactly the same state.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
reallocarray(3) will fail if nmemb * size would overflow.
OK tb@ martijn@
|
|
|
|
| |
than leaking it, oss-fuzz issue 29959.
|
| |
|
|
|
|
|
| |
use that instead of global variables containing copies of it.
feedback/ok markus@
|
|
|
|
| |
purpose-built ssh->compat variable instead; feedback/ok markus@
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
indent_globs.h to indent.c, and (2) changing all the same decls in
indent_globs.h to be extern
ok mortimer
|
| |
|
|
|
|
|
|
| |
indent_globs.h to indent.c, and (2) changing all the same decls in
indent_globs.h to be extern
ok mortimer
|
|
|
|
|
|
| |
indent_globs.h to indent.c, and (2) changing all the same decls in
indent_globs.h to be extern
ok mortimer
|
|
|
|
| |
ok mortimer
|
| |
|
| |
|
|
|
|
| |
alternate screen, GitHub issue 2536.
|
|
|
|
|
|
| |
HostbasedAcceptedAlgorithms, which more accurately reflects its effect.
This matches a previous change to PubkeyAcceptedAlgorithms. The previous
names are retained as aliases. ok djm@
|
|
|
|
|
|
|
|
|
|
| |
Key constraints parsing code previously existed in both the "add regular
key" and "add smartcard key" path. This unifies them but also introduces
more consistency checking: duplicated constraints and constraints that
are nonsensical for a particular situation (e.g. FIDO provider for a
smartcard key) are now banned.
ok markus@
|
|
|
|
|
|
|
|
|
|
| |
Allow confirm_key() to accept an additional reason suffix
Factor publickey userauth parsing out into its own function and allow
it to optionally return things it parsed out of the message to its
caller.
feedback/ok markus@
|
|
|
|
|
|
| |
originally.
ok markus@
|
|
|
|
|
|
| |
it to make it more generally usable and testable.
ok markus@
|
|
|
|
|
|
|
|
|
| |
socket entries that are being marked as unused.
spinkle in some debug2() spam to make it easier to watch an agent
do its thing.
ok markus
|
|
|
|
|
|
|
|
| |
Add a ssh_request_reply_decode() function that sends a message to
the agent, reads and parses a success/failure reply.
Use it for all requests that only expect success/failure
ok markus@
|
| |
|
|
|
|
|
|
|
|
| |
its SSH2_MSG_USERAUTH_REQUEST packets instead of the key type.
This make HostbasedAcceptedAlgorithms do what it is supposed to -
filter on signature algorithm and not key type.
spotted with dtucker@ ok markus@
|
|
|
|
| |
OK claudio
|
|
|
|
|
|
| |
cherry-picked from FreeBSD
okay millert@, deraadt@, sthen@
|
|
|
|
| |
change to come.
|
|
|
|
| |
from author at will dot party.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
While the two were originally equivalent, this actually specifies the
signature algorithms that are accepted. Some key types (eg RSA) can be
used by multiple algorithms (eg ssh-rsa, rsa-sha2-512) so the old name is
becoming increasingly misleading. The old name is retained as an alias.
Prompted by bz#3253, help & ok djm@, man page help jmc@
|
| |
|
|
|
|
|
|
| |
ok gilles
while, there, zap an unneccessary Tn;
|
|
|
|
|
|
|
|
|
|
|
| |
Someone reported to me that
''This breaks ansible managed machines where "persist" isn't used. There
i get
/bsd: doas[49341]: pledge "proc", syscall 2
Using "persist", everything is fine.''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generally, pleding before parsing the file seems hardly possible due to
unveil() being involved.
Pledging in case of the winning rule being a "persist" one is not possible
either due to TIOC{SET,CHK}VERAUTH not being allowed in the "tty" pledge.
But if "persist" is not used, we can pledge before authentication
without having to hoist or chang anything.
Feedback deraadt tedu
OK tdeu
|
|
|
|
|
| |
will not have to change. A new format window_raw_flags contains the old
unescaped version.
|
| |
|
|
|
|
|
| |
means moving the cursor and messes up wrapping. Better to just clear the
sections that aren't written over. GitHub issue 2537.
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
| |
-fno-common
ok deraadt@
|
|
|
|
|
|
| |
issues with -fno-common.
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
GitHub issue 2523.
|