Registry / auth-security / aia
library0.2.0pypypi✓ verified 83d ago

AIA is a Python library for chasing Authority Information Access (AIA) extensions in TLS certificate chains, building and verifying certificate paths using OpenSSL. Current version is 0.2.0, with an unknown release cadence (appears sporadically maintained).

pip install aia
INSTALL
IMPORT
SIG · AIA
A
aia
auth-securitypythonv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AIASession
from aia import AIASession
from aia import chase
AIADownloadError
from aia import AIADownloadError
AIAError
from aia import AIAError

Load a PEM certificate and chase its AIA extension to build the issuer chain.

from aia import chase from OpenSSL import crypto cert = crypto.load_certificate(crypto.FILETYPE_PEM, open('cert.pem').read()) chain = chase(cert, store=None) print('Chain length:', len(chain))
Debug
Known issues
breakingThe library is pre-1.0 and may have breaking changes between minor versions. The API surface is small but not stable.
fix
Pin dependency to exact version: aia==0.2.0
affects: <1.0.0
gotchaRequires OpenSSL installed on the system (libssl-dev on Debian). Fails silently if OpenSSL not found.
fix
Install OpenSSL development headers: apt-get install libssl-dev
affects: all
gotchaThe 'chase' function may hang or timeout if the AIA URL is unreachable or slow. No default timeout.
fix
Wrap call with timeout or run in a separate thread with timeout.
affects: all
Upgrade
Version history
0.2.0latest on PyPI · released Nov 27, 2021
Audit
Dependencies
pyopensslrequiredRequired for OpenSSL bindings and certificate handling
Agent activity
54 hits · last 30 days
node
45
OpenAI (training)
1
Resources
aia — pip install aia · libregistry