authenticode
PE Authenticode parser based on libyara implementation
Summary
| Latest Version | Unknown |
|---|---|
| License | BSD-3-Clause |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:25 |
Tags
Installation
nimble install authenticode
choosenim install authenticode
git clone https://github.com/srozb/authenticode
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| authenticode | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/srozb/authenticode |
|---|---|
| Homepage | https://github.com/srozb/authenticode |
| Registry Source | nimble_official |
README
Authenticode
PE Authenticode parser based on libyara implementation
Installation
nimble install authenticode
Usage
You'll probably want to parse PE file mapped into memory with
parse_authenticode function, like this:
import authenticode
import authenticode/parser
import std/memfiles
initialize_authenticode_parser()
var data = memfiles.open("path/to/pefile.exe", mode = fmReadWrite, mappedSize = -1)
let auth = parse_authenticode(cast[ptr uint8](data.mem), data.size.uint)
Consult tests/testParsing.nim file for detailed usage.