summaryrefslogtreecommitdiffstats
path: root/crypto
Commit message (Collapse)AuthorAgeFilesLines
* - when using a child process instead of a thread, change the child'sdes2003-03-311-2/+13
| | | | | | | name to reflect its role - try to handle expired passwords a little better MFC after: 1 week
* If an ssh1 client initiated challenge-response authentication but diddes2003-03-313-1/+22
| | | | | | | | | | | | not respond to challenge, and later successfully authenticated itself using another method, the kbdint context would never be released, leaving the PAM child process behind even after the connection ended. Fix this by automatically releasing the kbdint context if a packet of type SSH_CMSG_AUTH_TIS is follwed by anything but a packet of type SSH_CMSG_AUTH_TIS_RESPONSE. MFC after: 1 week
* Merge conflictsjedgar2003-03-202-5/+30
|
* This commit was generated by cvs2svn to compensate for changes in r112439,jedgar2003-03-201-13/+12
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of PKCS #1 security fix.jedgar2003-03-201-13/+12
| | | | | | | | http://www.openssl.org/news/secadv_20030319.txt
* | KerberosIV deorbit sequence: Re-entry. Thank you, faithful friend.markm2003-03-08657-148390/+0
| | | | | | | | Enjoy your retirement in ports.
* | Unbreak Kerberos 5 authentication in telnet.nectar2003-03-061-0/+24
| | | | | | | | | | | | (Credential forwarding is still broken.) PR: bin/45397
* | Resolve conflicts after import of OpenSSL 0.9.7a.nectar2003-02-195-1/+27
| |
* | This commit was generated by cvs2svn to compensate for changes in r111147,nectar2003-02-19152-646/+1661
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of OpenSSL 0.9.7a.nectar2003-02-19157-647/+1688
| |
* | Paranoia: instead of a NULL conversation function, use one that alwaysdes2003-02-161-6/+24
| | | | | | | | | | | | | | | | returns PAM_CONV_ERR; moreover, make sure we always have the right conversation function installed before calling PAM service functions. Also unwrap some not-so-long lines. MFC after: 3 days
* | When `des_read_pw_string' is a macro, as in OpenSSL 0.9.7,nectar2003-02-141-1/+1
| | | | | | | | an attempt to declare a prototype for it will croak.
* | document the current default value for VersionAddendum.des2003-02-114-4/+4
| |
* | Set the ruid to the euid at startup as a workaround for a bug in pam_ssh.des2003-02-071-0/+1
| | | | | | | | MFC after: 3 days
* | The manual page lists only 2 files, however it reads as `three files' which istrhodes2003-02-051-2/+2
| | | | | | | | | | | | | | obviously incorrect. PR: 46841 Submitted by: Sakamoto Seiji <s-siji@hyper.ocn.ne.jp>
* | Linux-PAM's pam_start(3) fails with a bogus error message if passed thedes2003-02-031-1/+2
| | | | | | | | | | | | | | | | pam_conv argument is NULL. OpenPAM doesn't care, but to make things easier for people porting this code to other systems (or -STABLE), use a dummy struct pam_conv instead of NULL. Pointed out by: Damien Miller <djm@mindrot.org>
* | Bump patch date to 2003-02-01 (the day after I fixed PAM authenticationdes2003-02-031-1/+1
| | | | | | | | for ssh1)
* | Fix keyboard-interactive authentication for ssh1. The problem was twofold:des2003-01-312-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The PAM kbdint device sometimes doesn't know authentication succeeded until you re-query it. The ssh1 kbdint code would never re-query the device, so authentication would always fail. This patch has been submitted to the OpenSSH developers. - The monitor code for PAM sometimes forgot to tell the monitor that authentication had succeeded. This caused the monitor to veto the privsep child's decision to allow the connection. These patches have been tested with OpenSSH clients on -STABLE, NetBSD and Linux, and with ssh.com's ssh1 on Solaris. Sponsored by: DARPA, NAI Labs
* | Background:nectar2003-01-2910-494/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When libdes was replaced with OpenSSL's libcrypto, there were a few interfaces that the former implemented but the latter did not. Because some software in the base system still depended upon these interfaces, we simply included them in our libcrypto (rnd_keys.c). Now, finally get around to removing the dependencies on these interfaces. There were basically two cases: des_new_random_key -- This is just a wrapper for des_random_key, and these calls were replaced. des_init_random_number_generator et. al. -- A few functions were used by the application to seed libdes's PRNG. These are not necessary when using libcrypto, as OpenSSL internally seeds the PRNG from /dev/random. These calls were simply removed. Again, some of the Kerberos 4 files have been taken off the vendor branch. I do not expect there to be future imports of KTH Kerberos 4.
* | This commit was generated by cvs2svn to compensate for changes in r110018,nectar2003-01-295-29/+33
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * = Fix a bug in UI_UTIL_read_pw's error handling that causednectar2003-01-295-29/+33
| | | | | | | | | | | | | | | | | | | | des_read_pw_string to break (and thus rather mysteriously breaking utilities such as kinit). = Enable the BSD /dev/crypto interface. (These changes are being imported on the vendor branch, as they have already been accepted and committed to the OpenSSL CVS repository.)
* | Merge conflicts.markm2003-01-2829-1117/+1762
| | | | | | | | This is cunning doublespeak for "use vendor code".
* | Remove files no longer on OpenSSL 0.9.7. crypto/des/rnd_keys.c ismarkm2003-01-2849-6676/+0
| | | | | | | | retained as it is still used.
* | This commit was generated by cvs2svn to compensate for changes in r109998,markm2003-01-28943-19752/+102078
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of OpenSSL release 0.9.7. This release includesmarkm2003-01-28965-20829/+103840
| | | | | | | | support for AES and OpenBSD's hardware crypto.
* | Make the Kerberos 4 bits build against OpenSSL 0.9.7. This requirednectar2003-01-2820-13/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | two basic changes (both of which should be no-ops until OpenSSL 0.9.7 is imported): = Define OPENSSL_DES_LIBDES_COMPATIBILITY wherever we include openssl/des.h. = Spell `struct des_ks_struct []' using the existing `des_key_schedule' typedef. When OpenSSL 0.9.7 is imported, `des_key_schedule' (among other things) will be a macro invocation instead of a typedef, and things should `just work'. Yes, this commit does take several files off the vendor branch. I do not expect there to be future imports of KTH Kerberos 4.
* | Force early initialization of the resolver library, since the resolverdes2003-01-221-0/+15
| | | | | | | | | | | | | | | | configuration files will no longer be available once sshd is chrooted. PR: 39953, 40894 Submitted by: dinoex MFC after: 3 days
* | This commit was generated by cvs2svn to compensate for changes in r109641,nectar2003-01-211-1/+2
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Add a missing include, needed to get a prototype for `des_read_pw_string'.nectar2003-01-211-1/+2
| | | | | | | | | | | | | | | | | | This is particularly important for OpenSSL 0.9.7, as `des_read_pw_string' is a macro there. (This fix brought in on the vendor branch, because I already committed it to Heimdal's CVS.)
* | | add more RFC defined telnet optionsbillf2003-01-181-3/+8
| | | | | | | | | | | | Reviewed by: ps
* | | The previous commit contained a stupid mistake: ctxt->pam_[cp]sock wasdes2002-12-211-2/+2
| | | | | | | | | | | | | | | | | | initialized after the call to pthread_create() instead of before. It just happened to work with threads enabled because ctxt is shared, but of course it doesn't work when we use a child process instead of threads.
* | | If possible, use pthreads instead of a child process for PAM.des2002-12-142-65/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reimplement the necessary bits from auth_pam.c and auth2_pam.c so that they share the PAM context used by the keyboard-interactive thread. If a child process is used instead, they will (necessarily) use a separate context. Constify do_pam_account() and do_pam_session(). Sponsored by: DARPA, NAI Labs
* | | Add a missing #include "canohost.h".des2002-12-141-0/+1
| | |
* | | Remove code related to the PAMAuthenticationViaKbdInt option (which we'vedes2002-12-141-4/+1
| | | | | | | | | | | | disabled). This removes the only reference to auth2_pam().
* | | Back out a lastlog-related change which is no longer relevant.des2002-12-141-1/+1
| | |
* | | Fix a rounding error in the block size calculation.des2002-12-141-2/+2
| | | | | | | | | | | | Submitted by: tjr
* | | Since OpenSSH drops privileges before calling pam_open_session(3),des2002-12-032-170/+202
| | | | | | | | | | | | | | | | | | pam_lastlog(8) can't possibly work, so let OpenSSH handle lastlog. Approved by: re (rwatson)
* | | Merge argument parsing changes into this copy of telnet.eric2002-11-271-2/+6
| | | | | | | | | | | | | | | Submitted by: markm Approved by: bmah
* | | This commit was generated by cvs2svn to compensate for changes in r107207,nectar2002-11-24110-1442/+1246
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import of Heimdal 0.5.1.nectar2002-11-24110-1442/+1246
| | | | | | | | | | | | Approved by: re
* | | Add caveats regarding the effect of PAM on PasswordAuthentication anddes2002-11-061-0/+23
| | | | | | | | | | | | | | | | | | | | | PermitRootLogin. PR: docs/43776 MFC after: 1 week
* | | Document the current default for VersionAddendum.des2002-11-051-0/+2
| | |
* | | Accurately reflect our local changes and additions.des2002-11-051-11/+9
| | |
* | | Document the current default value for VersionAddendum.des2002-11-052-2/+2
| | |
* | | Switch to two-clause license, with NAI's permission.des2002-11-021-3/+0
| | |
* | | Resolve conflicts.des2002-10-2957-526/+1253
| | |
* | | Protect against tag expansion + fix some brainos.des2002-10-291-6/+6
| | |
* | | Some tricks I use when I upgrade.des2002-10-291-0/+20
| | |
* | | Correct shell code to expand globs in FREEBSD-Xlistdes2002-10-291-1/+1
| | |
* | | More cruft.des2002-10-291-0/+2
| | |
OpenPOWER on IntegriCloud