Crates.io | agesafetch |
lib.rs | agesafetch |
version | 2.0.1 |
created_at | 2025-02-15 19:33:34.049326+00 |
updated_at | 2025-09-06 18:05:15.088872+00 |
description | A tool for obtaining your firmware's embedded AGESA version on Linux. |
homepage | |
repository | https://gitlab.com/BVollmerhaus/agesafetch |
max_upload_size | |
id | 1557043 |
size | 32,419 |
A tool for obtaining your firmware's embedded AGESA version on Linux.
Pre-compiled and signed binaries are provided with all GitLab releases.
cargo install agesafetch
By default, Cargo installs binaries in ~/.cargo/bin
, so that directory
must be in $PATH
for agesafetch
to be found. However, not all methods
of privilege escalation preserve the $PATH
variable, e.g. sudo with a
secure_path
set.
When in doubt, refer to the complete path: sudo ~/.cargo/bin/agesafetch
sudo pipx install --global agesafetch
# or, to run it directly without a persistent installation:
sudo pipx run agesafetch
On top of the agesafetch
command, the Python package also provides basic
bindings for the AGESA search that you can invoke from your own code (which
then also requires elevated privileges or capabilities):
import agesafetch
version: agesafetch.AGESAVersion | None = agesafetch.find_agesa_version()
agesafetch [-h]
🔒 The AGESA search requires elevated privileges or suitable capabilities.
Simply run agesafetch
to invoke a search for the AGESA version in memory:
$ sudo agesafetch
:: Searching Reserved region #1 (1667 KiB)...
-> Found AGESA version: CezannePI-FP6 1.0.1.1
When run non-interactively, such as in pipes or redirections, agesafetch
will automatically suppress all output except for the found version:
$ sudo agesafetch > found_version
$ cat found_version
CezannePI-FP6 1.0.1.1
agesafetch has been confirmed to work on a broad set of systems, including:
See Tested Platforms for the complete list. If you tested agesafetch on a new system and would like to add it, get in touch!
This project is licensed under the MIT license. See the LICENSE file for more information.