History log of /openbsd-current/usr.bin/skey/skey.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.35 25-Jan-2019 millert

I am retiring my old email address; replace it with my OpenBSD one.


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.34 03-May-2017 mestre

Use the safe idiom of cleaning sensitive data from memory with explicit_bzero,
instead of relying on other methods, after readpassphrase. Some programs on
this diff won't benefit that much since it happens near the terminal path, but
someone might copy the unsafe idiom to another program and place it where it
may leak sensitive data.

Discussed aeons ago with tb@, OK deraadt@ and beck@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.33 01-Dec-2015 millert

We no longer need pledge "wpath" since "tty" allows read-write on
/dev/tty.


# 1.32 12-Oct-2015 tim

Pledge "stdio wpath tty"; "awesome" deraadt@


# 1.31 09-Oct-2015 tim

Remove telnet warnings. Civilization has reached a point where they are no
longer relevant.

OK millert@


# 1.30 09-Oct-2015 tim

Use __progname rather than argv[0]; OK millert@


# 1.29 09-Oct-2015 tim

Replace readpass(3) with readpassphrase(3). This was the only use of
readpass(3) in base...

OK millert@


Revision tags: OPENBSD_5_8_BASE
# 1.28 18-Apr-2015 deraadt

Convert many atoi() calls to strtonum(), adding range checks and failure
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.27 20-Mar-2014 naddy

Remove the (non-default) MD4 hash algorithm from S/Key.
ok millert, man pages ok jmc@


Revision tags: 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
# 1.26 11-Apr-2010 millert

Fix typo in line ending; from Antti Harri


Revision tags: OPENBSD_4_7_BASE
# 1.25 28-Feb-2010 millert

In -x mode, if count was > 1 we would print both the hex and ascii versions
of the response (for count == 1 only the hex version was printed). Make
things consistent and match the docs by only printing the hex mode even
if count > 1. OK otto@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.24 12-Nov-2008 sobrado

Usage -> usage.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.23 06-Jul-2005 jmc

alter spacing of usage() so we don;t get a line break if skey is
invoked as otp-rmd160;


# 1.22 06-Jul-2005 jmc

- tidy up SYNOPSIS
- sort options
- sync usage()
- other small tweaks


Revision tags: OPENBSD_3_7_BASE
# 1.21 27-Dec-2004 deraadt

spacing


Revision tags: OPENBSD_3_6_BASE
# 1.20 04-Jun-2004 otto

Consistently use "secret passphrase" for the passphrase made up by the user
and "one-time password" for the generated passwords.
ok jmc@ millert@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.19 10-Jun-2003 deraadt

knf


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.18 06-May-2002 millert

Kill/adjust r(login|exec)d? references now that those are no longer in
the tree.


Revision tags: OPENBSD_3_1_BASE
# 1.17 16-Feb-2002 millert

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.


# 1.16 28-Dec-2001 millert

Fix hex mode (-x), based on patch from David Gullasch


Revision tags: OPENBSD_3_0_BASE
# 1.15 20-Jun-2001 millert

cosmetic changes and mention RFC2289 which supercedes RFC1938


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.14 04-Dec-1999 deraadt

oops


# 1.13 04-Dec-1999 deraadt

oflow


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.12 06-Mar-1999 millert

back out changes that should not have escaped my local tree


# 1.11 06-Mar-1999 millert

add missing reference to infocmp


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
# 1.10 17-Jul-1997 millert

Add RIPEMD-160 (rmd160) support to OTP (s/key).


Revision tags: OPENBSD_2_1_BASE
# 1.9 22-Nov-1996 millert

fix thinko wrt otp-* handling


# 1.8 03-Nov-1996 millert

Use new length/size macros.


# 1.7 30-Oct-1996 millert

Give usage and exit if user gave us too many args.


# 1.6 14-Oct-1996 millert

Exit on empty "secret password" like skeyinit does.


Revision tags: OPENBSD_2_0_BASE
# 1.5 29-Sep-1996 millert

Towards RFC 1938 compliance. Works with new libskey and supports SHA.


# 1.4 29-Sep-1996 millert

Added support for MD4/MD5 as an argument.


# 1.3 27-Sep-1996 millert

Now can both MD4 and MD5 skey's.


# 1.2 26-Jun-1996 deraadt

rcsid


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_2_BASE
# 1.34 03-May-2017 mestre

Use the safe idiom of cleaning sensitive data from memory with explicit_bzero,
instead of relying on other methods, after readpassphrase. Some programs on
this diff won't benefit that much since it happens near the terminal path, but
someone might copy the unsafe idiom to another program and place it where it
may leak sensitive data.

Discussed aeons ago with tb@, OK deraadt@ and beck@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.33 01-Dec-2015 millert

We no longer need pledge "wpath" since "tty" allows read-write on
/dev/tty.


# 1.32 12-Oct-2015 tim

Pledge "stdio wpath tty"; "awesome" deraadt@


# 1.31 09-Oct-2015 tim

Remove telnet warnings. Civilization has reached a point where they are no
longer relevant.

OK millert@


# 1.30 09-Oct-2015 tim

Use __progname rather than argv[0]; OK millert@


# 1.29 09-Oct-2015 tim

Replace readpass(3) with readpassphrase(3). This was the only use of
readpass(3) in base...

OK millert@


Revision tags: OPENBSD_5_8_BASE
# 1.28 18-Apr-2015 deraadt

Convert many atoi() calls to strtonum(), adding range checks and failure
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.27 20-Mar-2014 naddy

Remove the (non-default) MD4 hash algorithm from S/Key.
ok millert, man pages ok jmc@


Revision tags: 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
# 1.26 11-Apr-2010 millert

Fix typo in line ending; from Antti Harri


Revision tags: OPENBSD_4_7_BASE
# 1.25 28-Feb-2010 millert

In -x mode, if count was > 1 we would print both the hex and ascii versions
of the response (for count == 1 only the hex version was printed). Make
things consistent and match the docs by only printing the hex mode even
if count > 1. OK otto@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.24 12-Nov-2008 sobrado

Usage -> usage.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.23 06-Jul-2005 jmc

alter spacing of usage() so we don;t get a line break if skey is
invoked as otp-rmd160;


# 1.22 06-Jul-2005 jmc

- tidy up SYNOPSIS
- sort options
- sync usage()
- other small tweaks


Revision tags: OPENBSD_3_7_BASE
# 1.21 27-Dec-2004 deraadt

spacing


Revision tags: OPENBSD_3_6_BASE
# 1.20 04-Jun-2004 otto

Consistently use "secret passphrase" for the passphrase made up by the user
and "one-time password" for the generated passwords.
ok jmc@ millert@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.19 10-Jun-2003 deraadt

knf


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.18 06-May-2002 millert

Kill/adjust r(login|exec)d? references now that those are no longer in
the tree.


Revision tags: OPENBSD_3_1_BASE
# 1.17 16-Feb-2002 millert

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.


# 1.16 28-Dec-2001 millert

Fix hex mode (-x), based on patch from David Gullasch


Revision tags: OPENBSD_3_0_BASE
# 1.15 20-Jun-2001 millert

cosmetic changes and mention RFC2289 which supercedes RFC1938


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.14 04-Dec-1999 deraadt

oops


# 1.13 04-Dec-1999 deraadt

oflow


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.12 06-Mar-1999 millert

back out changes that should not have escaped my local tree


# 1.11 06-Mar-1999 millert

add missing reference to infocmp


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE
# 1.10 17-Jul-1997 millert

Add RIPEMD-160 (rmd160) support to OTP (s/key).


Revision tags: OPENBSD_2_1_BASE
# 1.9 22-Nov-1996 millert

fix thinko wrt otp-* handling


# 1.8 03-Nov-1996 millert

Use new length/size macros.


# 1.7 30-Oct-1996 millert

Give usage and exit if user gave us too many args.


# 1.6 14-Oct-1996 millert

Exit on empty "secret password" like skeyinit does.


Revision tags: OPENBSD_2_0_BASE
# 1.5 29-Sep-1996 millert

Towards RFC 1938 compliance. Works with new libskey and supports SHA.


# 1.4 29-Sep-1996 millert

Added support for MD4/MD5 as an argument.


# 1.3 27-Sep-1996 millert

Now can both MD4 and MD5 skey's.


# 1.2 26-Jun-1996 deraadt

rcsid


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision