Commit Graph

159 Commits

Author SHA1 Message Date
Benjamin Barenblat a563093f16 Separate OpenSSL-based OCB implementation from others
Split src/crypto/ocb.cc into two files – one containing the AES-OCB
implementation backed by OpenSSL, and the other containing
implementations backed by Apple Common Crypto and Nettle. This paves the
way for a new OpenSSL implementation that uses OpenSSL 1.1’s OCB support
directly, rather than one that merely uses OpenSSL to provide the
underlying block cipher.

Remove support for rijndael-alg-fst.c and compiler-provided AES
intrinsics, since they’re not in use anymore. (Mosh can still use
hardware-accelerated AES if it’s available; it just now relies
exclusively on the underlying cryptography library to accelerate AES if
possible.)

Update the build system to conditionally compile in either
ocb_openssl.cc or ocb_internal.cc, depending on which cryptography
library you pass to ./configure.

To make this commit easy to audit, ocb_openssl.cc and ocb_internal.cc
are trivially diffable against ocb.cc (now deleted). Expected diffs
consist of a copyright notice update, a preprocessor check to ensure the
appropriate cryptography implementation has been selected, and deletions
to remove code that’s no longer in use. This does mean a substantial
amount of code is duplicated between ocb_openssl.cc and ocb_internal.cc;
however, ocb_openssl.cc should be completely replaced soon, so it won’t
be an issue in the long term.

Bug: https://github.com/mobile-shell/mosh/issues/1174
2022-06-06 16:30:41 -10:00
Keith Winstein e9c3bbd364 debian/control: update standards version 2017-08-24 15:11:29 -07:00
Keith Winstein 0cec06c0cd debian/changelog: update for Debian 1.3.2-2 release 2017-08-24 15:10:55 -07:00
Keith Winstein 04f6dafb58 debian/control: update standards version 2017-07-23 11:09:10 -07:00
Keith Winstein cf73e1f879 Update version to 1.3.2 (fixes Debian revision inversion) 2017-07-21 14:53:57 -07:00
John Hood dedb2c5b6f mosh 1.3.1 2017-07-20 17:45:41 -04:00
John Hood e054a86ecc mosh 1.3.1-rc3 2017-07-19 22:31:28 -04:00
John Hood b17c5795f7 Update to 1.3.1-rc2. 2017-05-19 19:29:34 -04:00
Keith Winstein 9cd9105cec Update changelog release dates to May 18 for 1.3.1-rc1 2017-05-18 00:52:49 -04:00
John Hood 561ac25d76 Version 1.3.1 rc1. Update changelogs. 2017-05-08 23:39:48 -04:00
Keith Winstein fafcdc27c5 Add debian/changelog entry for 1.3.0 2017-03-25 13:02:26 -07:00
John Hood c05793cb22 Bump version to 1.3.0 for release.
Signed-off-by: John Hood <cgull@glup.org>
2017-03-17 14:06:51 -04:00
Keith Winstein be023c5afc Bump version to 1.3.0~rc3 2017-03-03 02:22:35 -08:00
John Hood 0fc950bd8a Ensure a UTF-8 locale is available for tests
Fixes Debian sid schroot build.

Also add build deps required for full testing:
tmux,  less (for window-resize.test)
2017-03-01 23:16:26 -05:00
Keith Winstein 36f29ef7bc debian/changelog: Update for mosh-1.3.0~rc2-1 upload 2017-02-06 23:39:19 -08:00
Keith Winstein 55e5ab7fca debian/changelog: wrap line (fix lintian warning) 2017-02-06 23:32:01 -08:00
John Hood 86d5b10a2c Note Bash for Windows compatibility 2017-01-20 19:03:53 -05:00
Anders Kaseorg 3439e85f7e debian/changelog: Correct version number and formatting
The format of debian/changelog is very rigid as it is parsed by the
build tools to determine the version number and other information.
The version number must use ~ so that 1.3.0 is considered greater than
1.3.0~rc2 for upgrades, and there must be a Debian release number like
-1 because this is not a Debian-native package.  Finally, the default
urgency is medium these days.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-07 12:26:03 -05:00
John Hood a092b0f7ca Mosh 1.3.0-rc2 release. 2017-01-05 00:14:48 -05:00
John Hood df07c40b84 Update release notes. 2017-01-05 00:14:36 -05:00
John Hood 9bb9de8ae5 Update changelogs to reflect reverted commit. 2017-01-04 23:52:07 -05:00
John Hood c2ff43f83d Finish release changes for 1.3.0-rc1 2016-12-29 15:23:51 -05:00
Keith Winstein ca2750dd03 Update website location (mosh.mit.edu -> mosh.org) 2016-08-12 00:10:53 -07:00
Keith Winstein 68f91a0b43 mosh 1.2.6 2016-08-10 01:05:47 -07:00
John Hood 5f92a8a835 Bump version to 1.2.6.
Signed-off-by: John Hood <cgull@glup.org>
2016-07-30 21:36:55 -07:00
John Hood 05fe24d50d 1.2.5.95rc1 pre-release 2016-05-25 02:13:12 -04:00
John Hood e167b2f9c0 Debian packaging fixes and updates. 2016-05-25 02:13:11 -04:00
Keith Winstein 46aac1834a debian/control and debian/copyright: Fix lintian warnings 2016-03-25 21:53:53 -07:00
Keith Winstein 1e4ae5f58d Pull updates to debian/changelog from debian-package branch 2016-03-25 21:38:09 -07:00
Anders Kaseorg c9ec54a004 debian: Update GitHub URLs from keithw/mosh to mobile-shell/mosh
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-01-16 17:50:45 -05:00
Anders Kaseorg f928435274 debian/rules: Allow parallel build
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-01-16 17:50:45 -05:00
Anders Kaseorg 8816493ec9 debian/rules: Use dh_perl -d
By informing Debhelper that the mosh wrapper script only uses modules in
perl-base (dh_perl -d), we cause ${perl:Depends} to change from ‘perl’
to empty, which silences this build warning:

dpkg-gencontrol: warning: package mosh: unused substitution variable ${perl:Depends}

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-01-16 17:50:45 -05:00
Anders Kaseorg 9cf54e388e debian/mosh.maintscript: Remove extra -- "$@"
That is already added by dh_installdeb, so it was being added twice.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-01-16 17:50:45 -05:00
John Hood 3c3b356cb5 Bump version to 1.2.5.
Signed-off-by: John Hood <cgull@glup.org>
2015-07-12 12:48:22 -04:00
John Hood 8905127ef6 Bump version to 1.2.4.95rc2 (1.2.5 release candidate.)
Signed-off-by: John Hood <cgull@glup.org>
2015-06-26 18:28:46 -04:00
John Hood dee1a2eecc Improve Debian bash-completion support
* Autoconf queries pkgconf for bash-completion dir-- resolves
  lintian's `package-install-into-obsolete-dir` diagnostic
* Use improved completion snippet from
  <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782169>
* Remove old /etc/bash_completion.d/mosh "conffile" with
  dh-maintscript + dpkg-maintscript-helper

Closes #628.

Signed-off-by: John Hood <cgull@glup.org>
2015-06-25 01:02:17 -04:00
John Hood 6a169dc7ea Revert "Update bash completion for Debian."
This reverts commit 05da49fc3f.
2015-06-24 00:28:23 -04:00
John Hood 05da49fc3f Update bash completion for Debian.
This improves the completion, as suggested in
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782169>,
and moves the completion from `/etc/bash_completion.d/mosh` to
`/usr/share/bash-completion/completions/mosh` as recommended by
lintian in its `package-install-into-obsolete-dir` check.

Closes #628.

Signed-off-by: John Hood <cgull@glup.org>
2015-06-21 16:27:06 -04:00
John Hood c532429784 1.2.4.95rc1 pre-release.
Includes Debian and Fedora packaging.  Mac OS X package build is still
broken.

Signed-off-by: John Hood <cgull@glup.org>

Closes #625
2015-06-09 23:09:07 -07:00
Keith Winstein 43ff145c2f debian/control: bump standards version 2015-06-09 23:00:57 -07:00
Anders Kaseorg 6f0669b909 debian/control: Recommend IO::Socket::IP
This is optional, but needed for IPv6 support.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-08-17 09:21:38 -04:00
Keith Winstein c3e31f1d71 Get rid of obsolete DM-Upload-Allowed field 2013-06-05 19:19:05 +02:00
Keith Winstein 1b9915fcaf Bump version to 1.2.4a 2013-03-27 18:36:03 -04:00
Keith Winstein 688bf21b07 Bump version to 1.2.4 2013-03-27 00:28:47 -04:00
Keith Winstein 4668dc595f Bump version to 1.2.3.95rc1 (1.2.4 release candidate) 2013-03-10 17:52:56 -04:00
Keith Winstein 8290e387af Remove dependency on IO::Pty 2013-01-18 11:50:58 -05:00
Jonathan McCrohan 0496a8f244 Update watchfile to fix Github breakage 2012-11-29 03:04:47 -05:00
Keith Winstein 73a2675e8c Bump version to 1.2.3 2012-10-19 15:33:48 -04:00
Keith Winstein e50822ea4d Update Debian policy version and point to https github URL 2012-10-16 17:59:23 -04:00
Keith Winstein 9c34f5b279 Bump version to 1.2.2.95rc1 (1.2.3 release candidate) 2012-10-05 19:50:52 -04:00