Skip to content

v0.20

Choose a tag to compare

@jonelo jonelo released this 05 Oct 22:10
· 12 commits to main since this release

HashGarten 0.20, Oct 5, 2026

  • Bug fixes

    • the Interactive operating mode is no longer blocked by a parameter error dialog that
      reappeared on every keystroke: HashGarten keeps one long living Jacksum Parameters object and
      validates it again and again, but up to and including Jacksum 4.0.0 a repeated validation fails
      if the Jacksum File Browser Integration has started HashGarten with --path-relative-to-entry,
      and it also fails if a path that has been remembered from a previous run does not exist anymore
      (e.g. an unmounted volume); such a validation is retried once with repaired path options now
      (issue #14)
    • the Output Style tab shows the path that --path-relative-to has been set to even if Jacksum
      could not resolve it, so that it can be seen and corrected instead of being reported as
      "default" while it is still in effect
    • Interactive: an invalid input is no longer reported by a dialog that reappeared on every
      keystroke, and no longer by painting the output field red resp. white, which did not fit the
      dark theme; the field that has to be corrected - the input, the key or the algorithm - is
      marked with an error outline that follows the current theme, the reason becomes its tooltip,
      and the output field is cleared, so that a hash that belongs to an earlier input can no longer
      be copied by mistake
    • preferences are saved when the window is closed as well: theme, always on top, stay open and
      the window positioning were only written to the properties file after a task had been run, so
      closing the window by the window decoration, by File -> Exit or by the Quit menu on macOS
      threw them away, and in the Interactive operating mode they were never saved at all
    • Verification: the settings of the Integrity Verification File Format are no longer discarded;
      the hidden controls of the Output Style tab overwrote the style, the hash value encoding, the
      file size and the timestamp of the verification file right after they had been read
    • Verification: the controls of a customized verification file format are visible at startup if
      the format of the verification file actually is a customized one
    • the timestamp formats default-utc and iso8601utc are remembered: they ended up in the
      text field for a customized timestamp format, and the next run then failed with an
      "Illegal pattern character" error
    • unticking "Use alternative implementation(s) if available", unticking the parallel reading
      threads and going back to a single hashing thread sticks now; once such a setting had been
      remembered from an earlier run it could never be switched off again
    • Select algorithms: Cancel keeps the algorithms that have been selected before; both Cancel and
      closing the dialog acted like Ok
    • Select algorithms: an algorithm alias resp. an algorithm id that is not spelled in lower case
      (e.g. sha1 instead of sha-1) is ticked now; no algorithm was ticked at all in that case,
      and pressing Ok then cleared the algorithm selection silently
    • Calculation: the algorithm that Jacksum uses by default (sha3-256) is preselected if neither
      -a has been given nor an algorithm has been remembered from an earlier run; the field was
      empty, so a task could not be started before an algorithm had been picked from the list
    • Output Files: an output file is suggested if none has been set, so that the result of a task
      can no longer get lost on standard output, which a GUI user never gets to see
    • the dialog that reports a finished task does not print "null" anymore as the name of the
      output resp. the error log file if no such file has been set, and the viewer is not opened
      for a file that has not been set either
    • an output file that has been typed or dropped in is not overruled anymore when the algorithm
      or the relative path is changed
    • no key is handed over to Jacksum if the key field is empty and none of the selected algorithms
      is an HMAC; an empty key made Jacksum print -k txt: to the header of the output file, even
      for algorithms that are not HMACs at all; for an HMAC an empty key is handed over as an empty
      text key (like -k txt:), because RFC 2104 allows it and Jacksum would reject the HMAC for
      lacking a key otherwise
    • the key type "Password" is remembered, so that the key field stays masked after a restart
    • the button to select a verification file also works if the text field contains a filename
      without a directory
    • a colon (as in hmac:sha3-256) is replaced by an equals sign for the name of the verification
      file that relative stands for as well; that was done for the output file only
    • Remove removes all selected lines of the file list, not just the first one
    • Select algorithms: "Show checked" and "Show unchecked" no longer match algorithms that have
      the word "true" resp. "false" in their description
    • diagnostic messages are appended to hashgarten.log instead of being printed to the standard
      streams, because those are controlled by Jacksum and can point to the user's own output file
    • Interactive: a key that has no effect, because none of the selected algorithms is an HMAC, is
      marked with a warning outline that follows the current theme, and the reason becomes its
      tooltip; Jacksum ignores such a key silently, so typing it seemed to have no effect on the
      output at all
    • a file list that has been remembered from a previous run is discarded at startup; it usually
      was a temporary file of the Jacksum File Browser Integration that does not exist anymore, which
      caused a parameter error at every start; a file list that is given by command line args is
      still used
    • mvn package copies the jacksum and flatlaf jars next to the HashGarten jar, where the
      Class-Path of its manifest expects them; java -jar target/HashGarten-0.20.0.jar failed with
      a NoClassDefFoundError otherwise
    • macOS: the menus "Operating Mode" and "Help" of the screen menu bar are drawn right after the
      start and after the theme has been changed; they sometimes did not appear until the mouse was
      moved over the menu bar; menus and items that move into the application menu are removed
      instead of hidden, the File menu is removed if both Preferences and Quit are in the application
      menu, the menu bar is redrawn once after the window has been activated for the first time, and
      a theme change no longer updates the layered pane and the glass pane
    • macOS 26 and later: the Settings item of the application menu is no longer indented
    • Interactive: the hash of the empty input is shown right away, not only after the first
      keystroke
    • the tooltip of the key field tells whether the key is used, depending on whether an HMAC has
      been selected
    • Save in the file list remembers the list after a restart as well; it was only kept in memory,
      so a removed entry came back at the next start unless a task had been run; a file list that
      is given by --file-list still takes precedence over the saved list
    • HashGarten quits immediately; it waited for Java's GUI toolkit to shut itself down, which
      took about two seconds before a terminal accepted input again
    • the option to find Alternate Data Streams (ADS) is unticked and disabled on systems other
      than Windows, because Jacksum scans for ADS on Windows only; ticking it had no effect there
  • Enhancements

    • requires Jacksum 4.0.1
    • Traversal Options: added "Find all Unix file types" for --scan-all-unix-file-types, which
      also reads block and character devices, named pipes and sockets; it has an effect on
      Unix-like operating systems only and is disabled on Windows
    • the About dialog shows the version and the vendor of the Java runtime, and the version of
      FlatLaf
    • requires Java 25 (was Java 21); the manifest of the jar carries
      Enable-Native-Access: ALL-UNNAMED, so that java -jar does not warn about native access,
      which is used on macOS for the application menu, and by FlatLaf
    • revised texts of labels, tooltips and messages throughout the GUI: typos have been fixed
      (e.g. "Toglggle", "has ben set"), the wording is consistent ("OK" instead of "Ok",
      "Select Algorithms", "Algorithm ID"), tooltips describe what a control does, and every
      control that had no tooltip has got one