OpenBSD CVS

CVS log for src/usr.bin/ssh/Attic/scard.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37, Mon Feb 8 12:48:38 2010 UTC (14 years, 3 months ago) by markus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.36: +1 -1 lines
FILE REMOVED

remove obsole scard code

Revision 1.29.6.2 / (download) - annotate - [select for diffs], Wed Nov 8 00:44:05 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.29.6.1: +7 -5 lines
Diff to previous 1.29.6.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

upgrade to OpenSSH 4.5

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Wed Nov 8 00:42:10 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_4_0
Changes since 1.35: +7 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

upgrade to OpenSSH 4.5

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Wed Nov 8 00:17:14 2006 UTC (17 years, 6 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.29.8.1: +7 -5 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

upgrade to OpenSSH 4.5

Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 6 21:25:28 2006 UTC (17 years, 6 months ago) by markus
Branch: MAIN
CVS Tags: 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
Changes since 1.35: +7 -5 lines
Diff to previous 1.35 (colored)

add missing checks for openssl return codes; with & ok djm@

Revision 1.29.6.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.29: +11 -8 lines
Diff to previous 1.29 (colored)

upgrade to OpenSSH 4.4

Revision 1.29.8.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.29: +11 -8 lines
Diff to previous 1.29 (colored)

upgrade to OpenSSH 4.4

Revision 1.35 / (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_0_BASE
Branch point for: OPENBSD_4_0
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Tue Aug 1 23:36:12 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

clean extra spaces

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 25 02:01:34 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

need #include <string.h>

Revision 1.32 / (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.31: +1 -0 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Sat Mar 25 00:05:41 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored)

introduce xcalloc() and xasprintf() failure-checked allocations functions
and use them throughout openssh

xcalloc is particularly important because malloc(nmemb * size) is a
dangerous idiom (subject to integer overflow) and it is time for it to
die

feedback and ok deraadt@

Revision 1.30 / (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.29: +0 -1 lines
Diff to previous 1.29 (colored)

RCSID() can die

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

upgrade to OpenSSH 3.9

Revision 1.28.4.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: +2 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

upgrade to OpenSSH 3.9

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 8 00:21:31 2004 UTC (20 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_8_BASE, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Branch point for: OPENBSD_3_9, OPENBSD_3_8
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

kill a tiny header; ok deraadt@

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Thu Mar 4 18:18:16 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.26.4.1: +0 -0 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8

Revision 1.26.2.1 / (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.26: +10 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

upgrade to OpenSSH 3.7

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 20:50:43 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.26: +10 -3 lines
Diff to previous 1.26 (colored)

upgrade to OpenSSH 3.7

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jun 12 19:12:02 2003 UTC (20 years, 11 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_4_BASE
Branch point for: OPENBSD_3_5, OPENBSD_3_4
Changes since 1.27: +8 -1 lines
Diff to previous 1.27 (colored)

add sc_get_key_label; larsch at trustcenter.de; bugzilla#591

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 8 20:21:29 2003 UTC (21 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

rename log() into logit() to avoid name conflict.  markus ok, from netbsd

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Wed Jun 26 18:22:35 2002 UTC (21 years, 10 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.15.2.2: +2 -2 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

There was an update to OpenSSH 3.4, and people rejoiced.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Wed Jun 26 15:30:38 2002 UTC (21 years, 10 months ago) by jason
Branch: OPENBSD_3_1
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull in OpenSSH-3.4

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jun 23 03:30:17 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_3, OPENBSD_3_2
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

various KNF and %d for unsigned

Revision 1.14.4.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.14.4.3: +244 -59 lines
Diff to previous 1.14.4.3 (colored) next main 1.15 (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.15.2.2 / (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.15.2.1: +244 -59 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored)

Update OpenSSH to version 3.2.2.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 26 18:46:59 2002 UTC (22 years, 1 month ago) by rees
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1
Changes since 1.24: +34 -27 lines
Diff to previous 1.24 (colored)

try_AUT0 in read_pubkey too, for those paranoid few who want to acl 'sh'

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 25 17:34:27 2002 UTC (22 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.23: +51 -25 lines
Diff to previous 1.23 (colored)

change sc_get_key to sc_get_keys and hide smartcard details in scard.c

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 24 18:05:29 2002 UTC (22 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.22: +35 -21 lines
Diff to previous 1.22 (colored)

we need to figure out AUT0 for sc_private_encrypt, too

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 21 21:54:34 2002 UTC (22 years, 2 months ago) by rees
Branch: MAIN
Changes since 1.21: +57 -27 lines
Diff to previous 1.21 (colored)

Add PIN-protection for secret key.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 21 18:08:15 2002 UTC (22 years, 2 months ago) by rees
Branch: MAIN
Changes since 1.20: +3 -4 lines
Diff to previous 1.20 (colored)

In sc_put_key(), sc_reader_id should be id.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 21 16:57:15 2002 UTC (22 years, 2 months ago) by markus
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

remove const

Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 21 16:54:53 2002 UTC (22 years, 2 months ago) by markus
Branch: MAIN
Changes since 1.18: +116 -1 lines
Diff to previous 1.18 (colored)

move key upload to scard.[ch]

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 21 16:38:06 2002 UTC (22 years, 2 months ago) by markus
Branch: MAIN
Changes since 1.17: +25 -31 lines
Diff to previous 1.17 (colored)

make compile w/ openssl 0.9.7

Revision 1.14.4.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.14.4.2: +10 -9 lines
Diff to previous 1.14.4.2 (colored)

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

Revision 1.14.2.3 / (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.14.2.2: +10 -9 lines
Diff to previous 1.14.2.2 (colored) next main 1.15 (colored)

Merge OpenSSH 3.1.

Revision 1.15.2.1 / (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.15: +10 -9 lines
Diff to previous 1.15 (colored)

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.17 / (download) - annotate - [select for diffs], Thu Dec 27 18:22:16 2001 UTC (22 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

call fatal() for openssl allocation failures

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 19 07:18:56 2001 UTC (22 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored)

basic KNF done while i was looking for something else

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Thu Nov 15 00:15:19 2001 UTC (22 years, 6 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.14.4.1: +2 -1 lines
Diff to previous 1.14.4.1 (colored)

Merge OpenSSH 3.0

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Thu Nov 15 00:14:59 2001 UTC (22 years, 6 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.14.2.1: +2 -1 lines
Diff to previous 1.14.2.1 (colored)

Merge OpenSSH 3.0

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 28 09:49:31 2001 UTC (22 years, 7 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Fix segv when smartcard communication error occurs during key load. ok markus@

Revision 1.14.4.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.14: +1 -1 lines
Diff to previous 1.14 (colored)

Pull in OpenSSH-2.9.9

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Thu Sep 27 18:27:43 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

A few files forgotten during last OpenSSH update. Spotted by naddy@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 17 20:22:14 2001 UTC (22 years, 8 months ago) by markus
Branch: MAIN
Branch point for: OPENBSD_2_9, OPENBSD_2_8
Changes since 1.13: +18 -20 lines
Diff to previous 1.13 (colored)

never keep a connection to the smartcard open.
allows ssh-keygen -D U while the agent is running; report from jakob@

Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 2 16:14:05 2001 UTC (22 years, 9 months ago) by jakob
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

clean up some /* SMARTCARD */. ok markus@

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 1 23:38:45 2001 UTC (22 years, 9 months ago) by markus
Branch: MAIN
Changes since 1.11: +19 -2 lines
Diff to previous 1.11 (colored)

support finish rsa keys.
free public keys after login -> call finish -> close smartcard.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 1 22:03:33 2001 UTC (22 years, 9 months ago) by markus
Branch: MAIN
Changes since 1.10: +10 -7 lines
Diff to previous 1.10 (colored)

use strings instead of ints for smartcard reader ids

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 31 12:53:34 2001 UTC (22 years, 9 months ago) by jakob
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

close smartcard connection if card is missing.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 31 08:41:10 2001 UTC (22 years, 9 months ago) by jakob
Branch: MAIN
Changes since 1.8: +9 -3 lines
Diff to previous 1.8 (colored)

do not complain about missing smartcards. ok markus@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 30 16:06:07 2001 UTC (22 years, 9 months ago) by jakob
Branch: MAIN
Changes since 1.7: +36 -19 lines
Diff to previous 1.7 (colored)

better errorcodes from sc_*; ok markus@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 26 20:04:27 2001 UTC (22 years, 9 months ago) by rees
Branch: MAIN
Changes since 1.6: +8 -25 lines
Diff to previous 1.6 (colored)

Inquire Cyberflex class for 0xf0 cards
change aid to conform to 7816-5
remove gratuitous fid selects

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 25 11:59:35 2001 UTC (22 years, 9 months ago) by markus
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

typo in comment

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 4 23:13:09 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.4: +52 -16 lines
Diff to previous 1.4 (colored)

handle card removal more gracefully, add sc_close() to scard.h

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 2 22:40:17 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.3: +111 -161 lines
Diff to previous 1.3 (colored)

update for sectok.h interface changes.
improve error handling.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 26 20:14:10 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

add smartcard support to the client, too (now you can use both
the agent and the client).

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 26 06:32:59 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

prototype pedant.  not very creative...
- () -> (void)
- no variable names

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 26 05:33:34 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN

more smartcard support.

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.