Skip to content

Commit 1859d6a

Browse files
committed
release v3.18.00
1 parent 4062b3e commit 1859d6a

File tree

5 files changed

+40
-1
lines changed

5 files changed

+40
-1
lines changed

contrib/git/pre-commit

+5
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ if [ -n "$reldate" ] && ! grep -Eq "^v$ver - $reldate" doc/sphinx/installation/u
123123
echo "ERROR: version '$ver' was not released at $reldate as said in doc/CHANGELOG.md (not seen in upgrading.rst)"
124124
isbad=1
125125
fi
126+
if ! test -f doc/release-notes/v$ver.md; then
127+
echo
128+
echo "ERROR: detected version '$ver', but no release notes file found in doc/release-notes/v$ver.md"
129+
isbad=1
130+
fi
126131

127132
# Is this file up to date?
128133
if ! cmp "$0" contrib/git/pre-commit >/dev/null; then

doc/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v3.18.00 - 2024/12/10
2+
- feat: add assetForgetHostKey
3+
- fix: scp: downloads would sometimes stall (fix #486)
4+
- chore: add release notes to doc/
5+
- chore: add check of release-notes file in pre-commit
6+
17
## v3.17.01 - 2024/10/23
28
- enh: interactive: handle CTRL+C nicely (fix #497)
39
- fix: osh.pl: remove a warning on interactive mode timeout

doc/release-notes/v3.18.00.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# :zap: Security
2+
3+
- No security fixes since previous release
4+
- Oldest release with no known [security issue](https://github.com/ovh/the-bastion/security/advisories) is `v3.14.15` (2023-11-08)
5+
6+
# :bulb: Highlights
7+
8+
A new restricted command has been added: [assetForgetHostKey](https://ovh.github.io/the-bastion/plugins/restricted/assetForgetHostKey.html), which is the bastion-wide version of the [selfForgetHostKey](https://ovh.github.io/the-bastion/plugins/restricted/selfForgetHostKey.html) command. In other words, it removes a given asset's hostkey from all the bastion accounts' personal `known_hosts` file. This is particularely useful when a given asset is reinstalled or its IP is being reallocated, and you've left the bastion-wide default of `StrictHostKeyChecking` to 'ask': in that case, if this command is not used after the asset hostkeys have changed, each account will have to use [selfForgetHostKey](https://ovh.github.io/the-bastion/plugins/restricted/selfForgetHostKey.html) on their own, to tell the bastion that the previously known hostkey should be forgotten.
9+
10+
This new command makes it possible to sync the reinstallation of an asset with a bastion-wide reset of its hostkeys (e.g. using an automation account that will be granted the use of the [assetForgetHostKey](https://ovh.github.io/the-bastion/plugins/restricted/assetForgetHostKey.html) command), without requiring all the other accounts to do it on their own. On their next connection, the other accounts will just have to accept the new hostkey (if `StrictHostKeyChecking` is set to `ask`, which is the default), or the new hostkey will be auto-accepted in the absence of a known one (if `StrictHostKeyChecking` is set to `accept-new`).
11+
12+
A long-standing but has also been fixed with stalling downloads using `scp` (#486).
13+
14+
The list of changes can be found below, for an exhaustive (and boring) list, please refer to the [commit log](https://github.com/ovh/the-bastion/compare/v3.17.01...v3.18.00).
15+
16+
# :pushpin: Changes
17+
- feat: add assetForgetHostKey
18+
- fix: scp: downloads would sometimes stall (fix #486)
19+
20+
# :fast_forward: Upgrading
21+
22+
- [General upgrade instructions](https://ovh.github.io/the-bastion/installation/upgrading.html)
23+
- [Specific upgrade instructions for v3.18.00](https://ovh.github.io/the-bastion/installation/upgrading.html#v3-18-00-2024-12-10)

doc/sphinx/installation/upgrading.rst

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ See the ``--help`` for a more fine-grained upgrade path if needed.
2727
Version-specific upgrade instructions
2828
=====================================
2929

30+
v3.18.00 - 2024/12/10
31+
*********************
32+
33+
No specific upgrade instructions.
34+
3035
v3.17.01 - 2024/10/23
3136
*********************
3237

lib/perl/OVH/Bastion.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use common::sense;
55
use Fcntl;
66
use POSIX qw(strftime);
77

8-
our $VERSION = '3.17.01';
8+
our $VERSION = '3.18.00';
99

1010
BEGIN {
1111
# only used by the handler below

0 commit comments

Comments
 (0)