github bastillion-io/Bastillion v4.0.0
4.0.0

8 hours ago

🚀 Bastillion Release Notes

What’s New

  • ✅ Upgraded to Java 21 and Jakarta EE 11 — modern language features, improved performance, and long-term support.
  • 🔐 Added full support for Ed25519 and Ed448 SSH key generation, with Ed25519 now set as the default key type.
  • 📦 Updated all libraries and dependencies to their latest stable releases for enhanced security, stability, and compatibility.

Migration Guide (from v3.10.00)

To migrate from a previous installation:

  1. Ensure Java 21 is installed
    Bastillion now requires Java 21. Confirm it's installed and available in your environment:

    java --version

    On Ubuntu, you can install it via:

    sudo apt update
    sudo apt install -y openjdk‑21‑jdk
  2. Backup your existing database
    The H2 data store is usually named:

    bastillion.h2.db
    

    (Older versions may use keybox.h2.db.)

  3. Copy the following files and directories from your old installation:

    • jetty/bastillion/WEB-INF/classes/keydb/ → copy the entire folder and its contents
    • jetty/bastillion/WEB-INF/classes/bastillion.jceks
    • jetty/bastillion/WEB-INF/classes/BastillionConfig.properties
  4. Review and migrate configuration files as needed:

    • jaas.conf
    • log4j2.xml
    • keystore
    • jetty-ssl.xml
    • jetty-http.xml
  5. Restart Bastillion
    Confirm that the application is connected to its previous database and that all services start cleanly under Jetty.


Additional Notes

  • Ed25519 keys (256-bit) are now the default for improved speed and security.
  • Ed448 keys (448-bit) are supported for environments requiring extended cryptographic strength.
  • Migration preserves existing authorized keys and stored credentials if configuration paths are copied correctly.

Don't miss a new Bastillion release

NewReleases is sending notifications on new releases.