Metadata-Version: 2.1
Name: apsig
Version: 0.5.2
Summary: Signature implementation used in ActivityPub.
Author-Email: AmaseCocoa <amase.cocoa@gmail.com>
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Security
Classifier: Natural Language :: English
Project-URL: Source, https://github.com/AmaseCocoa/apsig
Requires-Python: >=3.10
Requires-Dist: cryptography>=43.0.1
Requires-Dist: multiformats>=0.3.1.post4
Requires-Dist: jcs>=0.2.1
Requires-Dist: pyld[aiohttp,requests]>=2.0.4
Requires-Dist: pyfill>=0.1.3
Requires-Dist: typing-extensions>=4.12.2
Requires-Dist: pytz>=2025.1
Description-Content-Type: text/markdown

# apsig
![PyPI](https://img.shields.io/pypi/v/apsig)
 [![CodeQL](https://github.com/AmaseCocoa/apsig/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main)](https://github.com/AmaseCocoa/apsig/actions/workflows/github-code-scanning/codeql)

Signature implementation used in ActivityPub.

This library implements the creation/verification of signatures for HTTP Signatures ([draft-cavage-http-signatures-12](https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures-12)), [Linked Data Signatures](https://docs.joinmastodon.org/spec/security/#ld), and Object Integrity Proofs ([FEP-8b32](https://codeberg.org/fediverse/fep/src/branch/main/fep/8b32/fep-8b32.md)).
## Installation
apsig is available on PyPI and can be installed with the following command.
```
pip install apsig
```
## Documents
The document can be viewed [here](https://github.com/AmaseCocoa/apsig/tree/main/docs).
## Thanks
- [Hong Minhee](https://github.com/dahlia) ([Fedify](https://fedify.dev/) Author)
- [Takahē](https://github.com/jointakahe/takahe) Authors (apsig.LDSignature was ported from Takahē)
- And All Contributor/Users