OpenBSD CVS

CVS log for src/usr.bin/x99token/x99token.c


[BACK] Up to [local] / src / usr.bin / x99token

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Wed May 3 09:51:39 2017 UTC (7 years ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

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 1.12 / (download) - annotate - [select for diffs], Thu Oct 15 19:30:03 2015 UTC (8 years, 7 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

Avoid a race between fopen(3) and fchmod(2).  Use umask(2) and
unlink(2) and fopen(3) to prevent an attacker to open an old file
with wrong permissions before the secret is written into it.  This
also guarantees that a new file with correct permissions is created.
Without fchmod(2) "fattr" can be removed from pledge.
with and OK deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 15 17:23:09 2015 UTC (8 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)

Plegde x99token with "stdio rpath wpath cpath fattr getpw tty".
with and OK deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:14 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 27 00:13:22 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

unsigned char for ctype
ok okan

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 15 10:18:42 2010 UTC (13 years, 7 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored)

Switch the remaining users of libdes in src to libcrypto,
telnet portion partially from the latest heimdal.

ok mikeb@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 29 10:59:13 2007 UTC (17 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)

tidy up SYNOPSIS and usage(); from Igor Sobrado

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 13 17:27:41 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.5: +2 -0 lines
Diff to previous 1.5 (colored)

add cvs tag

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 13 02:02:49 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.4: +2 -0 lines
Diff to previous 1.4 (colored)

Like the man page, this file is in the public domain; confirmed with
the author.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 10 17:06:52 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.3: +7 -7 lines
Diff to previous 1.3 (colored)

predict() was broken for n > 1 in rev 1.2; this fixes it and closes PR 3306

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 4 22:36:13 2003 UTC (21 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

spelling

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 1 22:20:10 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.1: +59 -113 lines
Diff to previous 1.1 (colored)

Cleanup and remove DOS #ifdefs

Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 1 21:22:16 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN

x99token, a software x99 token calculator from Paul Borman that can
be used with login_token and friends.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.