History log of /openbsd-current/regress/usr.bin/ssh/key-options.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 25-Mar-2024 dtucker

Save error code from SSH for use inside case statement, from portable.
In some shells, "case" will reset the value of $?, so save it first.


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.9 03-Jul-2018 djm

add a comment that could have saved me 45 minutes of wild goose chasing


Revision tags: OPENBSD_6_3_BASE
# 1.8 14-Mar-2018 djm

rename recently-added "valid-before" key restriction to "expiry-time"
as the former is confusing wrt similar terminology in X.509;
pointed out by jsing@


# 1.7 12-Mar-2018 djm

check valid-before option in authorized_keys


# 1.6 04-Mar-2018 djm

for the pty control tests, just check that the PTY path points to
something in /dev (rather than checking the device node itself); makes
life easier for portable, where systems with dynamic ptys can delete
nodes before we get around to testing their existence.


# 1.5 02-Mar-2018 djm

fix testing of pty option, include positive test and testing of
restrict keyword


Revision tags: OPENBSD_6_2_BASE
# 1.4 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.3 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.2 30-Jun-2008 djm

shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /


# 1.1 10-Jun-2008 dtucker

Add regress test for key options. ok djm@


# 1.9 03-Jul-2018 djm

add a comment that could have saved me 45 minutes of wild goose chasing


Revision tags: OPENBSD_6_3_BASE
# 1.8 14-Mar-2018 djm

rename recently-added "valid-before" key restriction to "expiry-time"
as the former is confusing wrt similar terminology in X.509;
pointed out by jsing@


# 1.7 12-Mar-2018 djm

check valid-before option in authorized_keys


# 1.6 04-Mar-2018 djm

for the pty control tests, just check that the PTY path points to
something in /dev (rather than checking the device node itself); makes
life easier for portable, where systems with dynamic ptys can delete
nodes before we get around to testing their existence.


# 1.5 02-Mar-2018 djm

fix testing of pty option, include positive test and testing of
restrict keyword


Revision tags: OPENBSD_6_2_BASE
# 1.4 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.3 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.2 30-Jun-2008 djm

shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /


# 1.1 10-Jun-2008 dtucker

Add regress test for key options. ok djm@


Revision tags: OPENBSD_6_3_BASE
# 1.8 14-Mar-2018 djm

rename recently-added "valid-before" key restriction to "expiry-time"
as the former is confusing wrt similar terminology in X.509;
pointed out by jsing@


# 1.7 12-Mar-2018 djm

check valid-before option in authorized_keys


# 1.6 04-Mar-2018 djm

for the pty control tests, just check that the PTY path points to
something in /dev (rather than checking the device node itself); makes
life easier for portable, where systems with dynamic ptys can delete
nodes before we get around to testing their existence.


# 1.5 02-Mar-2018 djm

fix testing of pty option, include positive test and testing of
restrict keyword


Revision tags: OPENBSD_6_2_BASE
# 1.4 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.3 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.2 30-Jun-2008 djm

shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /


# 1.1 10-Jun-2008 dtucker

Add regress test for key options. ok djm@


# 1.6 04-Mar-2018 djm

for the pty control tests, just check that the PTY path points to
something in /dev (rather than checking the device node itself); makes
life easier for portable, where systems with dynamic ptys can delete
nodes before we get around to testing their existence.


# 1.5 02-Mar-2018 djm

fix testing of pty option, include positive test and testing of
restrict keyword


Revision tags: OPENBSD_6_2_BASE
# 1.4 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.3 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.2 30-Jun-2008 djm

shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /


# 1.1 10-Jun-2008 dtucker

Add regress test for key options. ok djm@


# 1.5 02-Mar-2018 djm

fix testing of pty option, include positive test and testing of
restrict keyword


Revision tags: OPENBSD_6_2_BASE
# 1.4 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.3 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.2 30-Jun-2008 djm

shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /


# 1.1 10-Jun-2008 dtucker

Add regress test for key options. ok djm@


Revision tags: OPENBSD_6_2_BASE
# 1.4 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.3 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.2 30-Jun-2008 djm

shell portability: use "=" instead of "==" in test(1) expressions,
double-quote string with backslash escaped /


# 1.1 10-Jun-2008 dtucker

Add regress test for key options. ok djm@