Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/secana/certdump
Dump certificates from PE files in different formats
https://github.com/secana/certdump
certificate dump pefile pkcs7 portable-executable
Last synced: 3 days ago
JSON representation
Dump certificates from PE files in different formats
- Host: GitHub
- URL: https://github.com/secana/certdump
- Owner: secana
- License: apache-2.0
- Created: 2018-12-19T13:51:01.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T10:29:56.000Z (11 months ago)
- Last Synced: 2024-05-02T02:59:45.604Z (7 months ago)
- Topics: certificate, dump, pefile, pkcs7, portable-executable
- Language: C#
- Size: 154 KB
- Stars: 35
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# CertDump
[![Build](https://img.shields.io/azure-devops/build/secana/CertDump/3.svg)](https://dev.azure.com/secana/CertDump/_build?definitionId=3)
Cross-Platform tool to dump the signing certificate from a Portable Executable (PE) file.
## Get CertDump
There are different ways to obtain _CertDump_. Please check, which works for your operating system.
## Winget
The easiest ways to install _CertDump_ is with _winget_.
```powershell
winget install secana.CertDump
```### Github release
You find the latest _Windows_ binaries under the [Release](https://github.com/secana/CertDump/releases) page.
### Dotnet Global Tool
You can install the latest version as a [dotnet global tool](https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools). The tool runs on _Windows_, _Linux_ and _MacOs_.
```powershell
# install CertDump
dotnet tool install -g CertDump# update CertDump
dotnet tool update -g CertDump# uninstall CertDump
dotnet tool uninstall -g CertDump
```The tool is automatically added to your path. Just run `certdump` from your shell. Example:
```powershell
# Run CertDump
> certdump -help
CertDump 1.1.1
Copyright (C) 2019 CertDump-f, --file Required. Input file to dump the certificate from.
-o, --out (Default: cert.dump) Output file to dump the certificate to.
--help Display this help screen.
--version Display version information.
```## Release new version
A new version is automatically released from the `master` branch when a `git tag` is discovered.
Tag a release commit with: `git tag -a v1.0.0 -m "CertDump v1.0.0"`.
Push the tag to the origin: `git push origin v1.0.0`
Replace the version number with the one to use.
### Winget
It's not possible to automate the _winget_ release at the moment. To release a new version, a new manifest file needs to be published manually to [winget-pkgs certdump](https://github.com/microsoft/winget-pkgs/tree/master/manifests/secana/CertDump).