OpenBSD CVS

CVS log for src/usr.bin/ssh/readpass.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71 / (download) - annotate - [select for diffs], Sat Mar 30 04:27:44 2024 UTC (6 weeks, 5 days ago) by djm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored)

allow WAYLAND_DISPLAY to enable SSH_ASKPASS

From dkg via GHPR479; ok dtucker@

Revision 1.70 / (download) - annotate - [select for diffs], Fri May 27 04:27:49 2022 UTC (23 months, 3 weeks ago) by dtucker
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
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored)

Avoid kill with -1 argument.
The out_ctx label can be reached before fork has been called. If this
happens, then kill -1 would be called, sending SIGTERM to all processes
reachable by the current process.

From tobias@ and c3h2_ctf via github PR#286, ok djm@

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jul 23 05:56:47 2021 UTC (2 years, 9 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.68: +4 -4 lines
Diff to previous 1.68 (colored)

mention in comment that read_passphrase(..., RP_ALLOW_STDIN) will
try to use askpass first. bz3314

convert a couple of debug() -> debug_f() while here

Revision 1.68 / (download) - annotate - [select for diffs], Tue Nov 10 07:46:20 2020 UTC (3 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

Free the previously allocated msg buffer after writing it out.
OK djm@

Revision 1.67 / (download) - annotate - [select for diffs], Sun Nov 8 23:19:03 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

unbreak; missing NULL check

Revision 1.66 / (download) - annotate - [select for diffs], Sun Nov 8 22:37:24 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.65: +28 -8 lines
Diff to previous 1.65 (colored)

when requesting a security key touch on stderr, inform the user once
the touch has been recorded; requested by claudio@ ok markus@

Revision 1.65 / (download) - annotate - [select for diffs], Sun Oct 18 11:32:01 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.64: +15 -15 lines
Diff to previous 1.64 (colored)

use the new variant log macros instead of prepending __func__ and
appending ssh_err(r) manually; ok markus@

Revision 1.64 / (download) - annotate - [select for diffs], Sat Oct 3 09:22:26 2020 UTC (3 years, 7 months ago) by djm
Branch: MAIN
Changes since 1.63: +3 -7 lines
Diff to previous 1.63 (colored)

There are lots of place where we want to redirect stdin, stdout
and/or stderr to /dev/null. Factor all these out to a single
stdfd_devnull() function that allows selection of which of these
to redirect. ok markus@

Revision 1.63 / (download) - annotate - [select for diffs], Tue Aug 11 09:45:54 2020 UTC (3 years, 9 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.62: +14 -9 lines
Diff to previous 1.62 (colored)

let the "Confirm user presence for key ..." ssh-askpass notification
respect $SSH_ASKPASS_REQUIRE; ok markus@

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jul 14 23:57:01 2020 UTC (3 years, 10 months ago) by djm
Branch: MAIN
Changes since 1.61: +20 -5 lines
Diff to previous 1.61 (colored)

allow some additional control over the use of ssh-askpass
via $SSH_ASKPASS_REQUIRE, including force-enable/disable.
bz#69 ok markus@

Revision 1.61 / (download) - annotate - [select for diffs], Thu Jan 23 07:10:22 2020 UTC (4 years, 3 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.60: +7 -7 lines
Diff to previous 1.60 (colored)

Replace all calls to signal(2) with a wrapper around sigaction(2).
This wrapper blocks all other signals during the handler preventing
races between handlers, and sets SA_RESTART which should reduce the
potential for short read/write operations.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Dec 6 03:06:08 2019 UTC (4 years, 5 months ago) by djm
Branch: MAIN
Changes since 1.59: +13 -5 lines
Diff to previous 1.59 (colored)

fix setting of $SSH_ASKPASS_PROMPT - it shouldn't be set when asking
passphrases, only when confirming the use of a key (i.e. for ssh-agent
keys added with "ssh-add -c keyfile")

Revision 1.59 / (download) - annotate - [select for diffs], Fri Dec 6 02:55:21 2019 UTC (4 years, 5 months ago) by djm
Branch: MAIN
Changes since 1.58: +6 -6 lines
Diff to previous 1.58 (colored)

bring the __func__

Revision 1.58 / (download) - annotate - [select for diffs], Wed Nov 27 05:00:17 2019 UTC (4 years, 5 months ago) by djm
Branch: MAIN
Changes since 1.57: +3 -2 lines
Diff to previous 1.57 (colored)

use error()+_exit() instead of fatal() to avoid running cleanup
handlers in child process; spotted via weird regress failures in
portable

Revision 1.57 / (download) - annotate - [select for diffs], Fri Nov 15 00:32:40 2019 UTC (4 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.56: +4 -3 lines
Diff to previous 1.56 (colored)

follow existing askpass logic for security key notifier: fall back
to _PATH_SSH_ASKPASS_DEFAULT if no $SSH_ASKPASS environment variable
is set.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 12 22:35:02 2019 UTC (4 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

pass SSH_ASKPASS_PROMPT hint to y/n key confirm too

Revision 1.55 / (download) - annotate - [select for diffs], Tue Nov 12 22:34:20 2019 UTC (4 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.54: +85 -1 lines
Diff to previous 1.54 (colored)

dd API for performing one-shot notifications via tty or SSH_ASKPASS

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:04 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 19 04:15:56 2019 UTC (5 years, 3 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.52: +11 -4 lines
Diff to previous 1.52 (colored)

Print an \r in front of the password prompt so parts of a password
that was entered too early are likely clobbered by the prompt.
Idea from doas.

from and ok djm
"i like it" deraadt

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jul 18 11:34:04 2018 UTC (5 years, 10 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.51: +1 -2 lines
Diff to previous 1.51 (colored)

Remove support for running ssh(1) setuid and fatal if attempted.
Do not link uidwap.c into ssh any more.  Neuters UsePrivilegedPort,
which will be marked as deprecated shortly. ok markus@ djm@

Revision 1.51 / (download) - annotate - [select for diffs], Fri Dec 11 00:20:04 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Pass (char *)NULL rather than (char *)0 to execl and execlp.

ok dtucker@

Revision 1.50 / (download) - annotate - [select for diffs], Sun Feb 2 03:44:31 2014 UTC (10 years, 3 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

convert memset of potentially-private data to explicit_bzero()

Revision 1.49 / (download) - annotate - [select for diffs], Fri May 17 00:13:14 2013 UTC (11 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

bye, bye xfree(); ok markus@

Revision 1.48 / (download) - annotate - [select for diffs], Wed Dec 15 00:49:27 2010 UTC (13 years, 5 months ago) by djm
Branch: MAIN
CVS Tags: 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.47: +16 -11 lines
Diff to previous 1.47 (colored)

fix ControlMaster=ask regression

reset SIGCHLD handler before fork (and restore it after) so we don't miss
the the askpass child's exit status. Correct test for exit status/signal to
account for waitpid() failure; with claudio@ ok claudio@ markus@

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:33 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.33: +13 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

upgrade to OpenSSH 4.4

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:51 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.35: +10 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

upgrade to OpenSSH 4.4

Revision 1.47 / (download) - annotate - [select for diffs], Thu Aug 3 03:34:42 2006 UTC (17 years, 9 months ago) by deraadt
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, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.46: +1 -3 lines
Diff to previous 1.46 (colored)

almost entirely get rid of the culture of ".h files that include .h files"
ok djm, sort of ok stevesk
makes the pain stop in one easy step

Revision 1.46 / (download) - annotate - [select for diffs], Tue Aug 1 23:22:47 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored)

move #include <stdio.h> out of includes.h

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 26 13:57:17 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

move #include <stdlib.h> out of includes.h

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jul 22 20:48:23 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

move #include <string.h> out of includes.h

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jul 17 01:31:09 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

move #include <unistd.h> out of includes.h

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 11 20:07:25 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

move #include <errno.h> out of includes.h; ok markus@

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jul 10 16:37:36 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

move #include <stdarg.h> out of includes.h; ok markus@

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 9 15:15:10 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

move #include <fcntl.h> out of includes.h

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 8 14:45:49 2006 UTC (17 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

do not set the gid, noted by solar; ok djm

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 6 10:20:20 2006 UTC (17 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

replace remaining setuid() calls with permanently_set_uid() and
check seteuid() return values; report Marcus Meissner; ok dtucker djm

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 25 13:17:02 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.36: +1 -0 lines
Diff to previous 1.36 (colored)

Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that
Theo nuked - our scripts to sync -portable need them in the files

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 19 18:51:18 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.35: +0 -1 lines
Diff to previous 1.35 (colored)

RCSID() can die

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 10 01:44:26 2006 UTC (18 years, 3 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE
Branch point for: OPENBSD_3_9
Changes since 1.34: +4 -1 lines
Diff to previous 1.34 (colored)

move #include <sys/wait.h> out of includes.h; ok markus@

Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 8 12:15:27 2006 UTC (18 years, 3 months ago) by stevesk
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

move #include <paths.h> out of includes.h; ok markus@

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sun Sep 4 18:40:03 2005 UTC (18 years, 8 months ago) by brad
Branch: OPENBSD_3_7
Changes since 1.31: +8 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

upgrade to OpenSSH 4.2

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Fri Sep 2 03:45:00 2005 UTC (18 years, 8 months ago) by brad
Branch: OPENBSD_3_6
Changes since 1.30.2.1: +8 -3 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

upgrade to OpenSSH 4.2

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 2 21:13:22 2005 UTC (19 years ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE
Branch point for: OPENBSD_3_8
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

missing {}

Revision 1.32 / (download) - annotate - [select for diffs], Sat Apr 23 23:43:47 2005 UTC (19 years ago) by dtucker
Branch: MAIN
Changes since 1.31: +6 -2 lines
Diff to previous 1.31 (colored)

Add debug message if read_passphrase can't open /dev/tty; bz #471; ok djm@

Revision 1.28.6.2 / (download) - annotate - [select for diffs], Thu Mar 10 17:15:04 2005 UTC (19 years, 2 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.28.6.1: +27 -1 lines
Diff to previous 1.28.6.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

upgrade to OpenSSH 4.0

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Mar 10 16:28:27 2005 UTC (19 years, 2 months ago) by brad
Branch: OPENBSD_3_6
Changes since 1.30: +27 -1 lines
Diff to previous 1.30 (colored)

upgrade to OpenSSH 4.0

Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 29 22:53:56 2004 UTC (19 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE
Branch point for: OPENBSD_3_7
Changes since 1.30: +27 -1 lines
Diff to previous 1.30 (colored)

factor out common permission-asking code to separate function; ok markus@

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Thu Aug 19 22:37:31 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.28: +8 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

upgrade to OpenSSH 3.9

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Thu Aug 19 04:13:27 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.28: +8 -3 lines
Diff to previous 1.28 (colored)

upgrade to OpenSSH 3.9

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 17 15:10:14 2004 UTC (19 years, 11 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE
Branch point for: OPENBSD_3_6
Changes since 1.29: +7 -2 lines
Diff to previous 1.29 (colored)

Add option for confirmation (ControlMaster=ask) via ssh-askpass before opening
shared connections; ok markus@

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 8 00:21:31 2004 UTC (20 years ago) by djm
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

kill a tiny header; ok deraadt@

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Tue Sep 16 21:20:26 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_2
Changes since 1.27.4.1: +0 -0 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

upgrade to OpenSSH 3.7

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Thu Apr 3 22:35:17 2003 UTC (21 years, 1 month ago) by miod
Branch: OPENBSD_3_1
Changes since 1.27: +12 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Merge OpenSSH 3.6.1

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Tue Apr 1 00:12:14 2003 UTC (21 years, 1 month ago) by margarida
Branch: OPENBSD_3_2
Changes since 1.27: +12 -4 lines
Diff to previous 1.27 (colored)

Update to OpenSSH 3.6

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 23 13:50:27 2003 UTC (21 years, 3 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_4_BASE, OPENBSD_3_3_BASE, OPENBSD_3_3
Branch point for: OPENBSD_3_5, OPENBSD_3_4
Changes since 1.27: +12 -4 lines
Diff to previous 1.27 (colored)

ssh-add -c, prompt user for confirmation (using ssh-askpass) when
private agent key is used; with djm@; test by dugsong@, djm@; ok deraadt@

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Sun Jun 2 22:56:10 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.15.2.3: +5 -2 lines
Diff to previous 1.15.2.3 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Upgrade to OpenSSH 3.2.3.

Except for improbable compilation error fixes, this should be the last
commit made to the 2.9-STABLE branche. Have fun upgrading.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Fri May 17 00:03:24 2002 UTC (22 years ago) by miod
Branch: OPENBSD_3_0
Changes since 1.22.2.2: +5 -2 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Update OpenSSH to version 3.2.2.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 26 15:58:46 2002 UTC (22 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_2, OPENBSD_3_1
Changes since 1.26: +5 -2 lines
Diff to previous 1.26 (colored)

client side support for PASSWD_CHANGEREQ
based on work by johan.andersson@appgate.com; ok provos@

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:44 2002 UTC (22 years, 2 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.15.2.2: +27 -27 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored)

Merge OpenSSH 3.1, keeping /etc as configuration files directory.
(i.e. OpenSSH 3.1 + openbsd29_3.1.patch)

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Fri Mar 8 17:04:42 2002 UTC (22 years, 2 months ago) by brad
Branch: OPENBSD_2_8
Changes since 1.12.2.6: +27 -27 lines
Diff to previous 1.12.2.6 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Merge OpenSSH 3.1.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Thu Mar 7 17:37:47 2002 UTC (22 years, 2 months ago) by jason
Branch: OPENBSD_3_0
Changes since 1.22.2.1: +27 -27 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 13 00:39:15 2002 UTC (22 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.25: +12 -21 lines
Diff to previous 1.25 (colored)

readpass.c is not longer from UCB, since we now use readpassphrase(3)

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 11 23:02:18 2002 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

use _PATH_TTY

Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 21 08:53:45 2001 UTC (22 years, 5 months ago) by djm
Branch: MAIN
Changes since 1.23: +15 -6 lines
Diff to previous 1.23 (colored)

Avoid interruptable passphrase read; ok markus@

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Thu Nov 15 22:51:15 2001 UTC (22 years, 6 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.15.2.1: +5 -6 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored)

Merge OpenSSH 3.0.1.

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 22:50:30 2001 UTC (22 years, 6 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.12.2.5: +5 -6 lines
Diff to previous 1.12.2.5 (colored) to branchpoint 1.12 (colored)

Merge OpenSSH 3.0.1.

This is likely to be the last commit to the 2.8-STABLE branch.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Nov 14 03:24:39 2001 UTC (22 years, 6 months ago) by jason
Branch: OPENBSD_3_0
Changes since 1.22: +5 -6 lines
Diff to previous 1.22 (colored)

Pull in patches from current (Errata 002):
Update to OpenSSH-3.0.1 via errata patch (Instead of using release tarball)

Revision 1.23 / (download) - annotate - [select for diffs], Thu Nov 8 10:51:08 2001 UTC (22 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.22: +5 -6 lines
Diff to previous 1.22 (colored)

don't strdup too much data; from gotoh@taiyo.co.jp; ok millert.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Thu Sep 27 19:03:55 2001 UTC (22 years, 7 months ago) by jason
Branch: OPENBSD_2_9
Changes since 1.15: +29 -23 lines
Diff to previous 1.15 (colored)

Pull in OpenSSH-2.9.9

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:42 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.12.2.4: +29 -23 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 14 15:10:16 2001 UTC (22 years, 10 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

delete spurious #includes; ok deraadt@ markus@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 10 21:49:12 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.20: +9 -5 lines
Diff to previous 1.20 (colored)

don't panic if fork or pipe fail (just return an empty passwd).

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 2 22:29:20 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

do not return NULL, use "" instead.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 24 05:35:33 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.18: +19 -16 lines
Diff to previous 1.18 (colored)

switch to readpassphrase(3)
2.7/8-stable needs readpassphrase.[ch] from libc

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jun 23 15:12:19 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

more strict prototypes.  raise warning level in Makefile.inc.  markus ok'ed
TODO; cleanup headers

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Mon May 7 21:09:32 2001 UTC (23 years ago) by jason
Branch: OPENBSD_2_8
Changes since 1.12.2.3: +70 -1 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored)

Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 6 17:52:07 2001 UTC (23 years ago) by mouring
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Use const for 'prompt'.  Brought over from portable tree.

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 2 01:25:39 2001 UTC (23 years ago) by mouring
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Put the 'const' back into ssh_askpass() function.  Pointed out
by Mark Miller <markm@swoon.net>.  OK Markus

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 18 21:57:41 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE
Branch point for: OPENBSD_2_9
Changes since 1.14: +70 -1 lines
Diff to previous 1.14 (colored)

call askpass from ssh, too, based on work by roth@feep.net, ok deraadt

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Wed Mar 21 19:46:27 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.12.2.2: +0 -0 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

Pull in OpenSSH-2.5.2 for 2.8 branch.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Wed Mar 21 18:52:58 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.10.2.3: +0 -0 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 15:44:13 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.10.2.2: +2 -2 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon Feb 19 17:19:13 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.12.2.1: +0 -0 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

Pull in OpenSSH-2.5.1

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 20:13:11 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Pull in OpenSSH 2.5.0

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 8 19:30:52 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

sync with netbsd tree changes.
- more strict prototypes, include necessary headers
- use paths.h/pathnames.h decls
- size_t typecase to int -> u_long

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 21 19:05:54 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.
rename util.[ch] -> misc.[ch]

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Nov 8 21:31:08 2000 UTC (23 years, 6 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.10.2.1: +9 -73 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

openssh-2.3.0 (again) for 2.7 branch

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 11 20:14:39 2000 UTC (23 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Changes since 1.11: +9 -73 lines
Diff to previous 1.11 (colored)

add support for s/key (kbd-interactive) to ssh2, based on work by mkiernan@avantgo.com and me

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Sep 1 18:23:21 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Pull in the rest of openssh-2.2.0 to 2.7 branch (luvin' cvs...)

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 20 01:39:44 2000 UTC (23 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

OpenBSD tag

Revision 1.10 / (download) - annotate - [select for diffs], Fri Apr 14 10:30:32 2000 UTC (24 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

whitespace cleanup

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 21 21:16:00 2000 UTC (24 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +31 -6 lines
Diff to previous 1.8 (colored)

instead of blocking SIGINT, catch it ourselves, so that we can clean the
tty modes up and kill ourselves -- instead of our process group leader (scp,
cvs, ...) going away and leaving us in noecho mode.  people with cbreak
shells never even noticed..

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 8 19:32:55 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +74 -99 lines
Diff to previous 1.7 (colored)

avoid stdio; based on work by markus, millert, and I

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 24 19:53:50 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.6: +15 -9 lines
Diff to previous 1.6 (colored)

KNF, final part 3

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 24 00:26:03 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +14 -14 lines
Diff to previous 1.5 (colored)

much more KNF

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 23 22:25:54 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.4: +76 -77 lines
Diff to previous 1.4 (colored)

KNF part 1

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 11 20:24:54 1999 UTC (24 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.3: +1 -22 lines
Diff to previous 1.3 (colored)

we do not ship ssh-askpass

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 30 08:34:25 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

even smaller

Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 30 05:03:05 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -37 lines
Diff to previous 1.1 (colored)

cull more ancient garbage from pre-POSIX days

Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 26 20:53:37 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN

i bet a lot of people didn't know what ssh 1.2.16 had a nice license.
well, except for the patent issues.  someone in sweden (forget their
name at the moment) cleaned out most of the patented code, and now
this code removes rsa code.  when this is done, it will link against
libssl, but the work isn't completely done yet.  then we need to bring
this up to modern days, featurewise.

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.