-
0.2.3 Stable
released this
2024-04-08 15:22:39 -04:00 | 9 commits to main since this releaseFixes
bbde579e7c
MinorMessage
changes- ensure
datetime
objects areMessageDate
objects - create
actor_id
property to get the actor id from an object
- ensure
49a413548d
Properly processcreated
andexpires
headers when validating hs2019 signatures0cfe0178e9
Make outbox in Message.new_actor actually optional
Changes
25b0bc9852
Add home page to serverf80ae87c44
AllowHttpDate
.parse to take a datetime object and deprecate new_from_datetime
Downloads
-
0.2.2 Stable
released this
2024-04-03 13:56:04 -04:00 | 18 commits to main since this releaseFixed a nasty bug and added a signature validation server
Fixes
85847772e0
Fix verifyingHS2019
signatures- Make sure
expires
andcreated
are older than the current date
- Make sure
Changes
- Signature authentication server
192313ac71
Add ability to run web server for signature verification0c44cc7344
Various changes- show message on startup
- add help to argparser options
- make hostname optional
- set hostname to addr if not specified
- make sure hostname is not
0.0.0.0
122d77ae45
Print message when creating key15091fecee
Handle webfinger and add option to not include date in access logbe066dd510
Flush allprint
callsf3fae43715
Expand actor bio
Non-source changes
784b00e37a
UseSelf
annotations for various class methods3e0198ec54
Addtyped
classifier3fbe5f1555
Add type annotation toJsonBase
Downloads
-
0.2.1 Stable
released this
2024-03-31 11:38:37 -04:00 | 30 commits to main since this releaseFixes
fa80f68d47
Use correct format for dependencieseb1503e14f
FixTypeError
when signing headers
Changes
d75dabe872
HttpDate
andSignature
improvements- Accept unix timestamps in
HttpDate.parse
- Create
Signature.created_date
andSignature.expires_date
properties
- Accept unix timestamps in
ad2456b765
Also accept floats inHttpDate.parse
bdcd04a994
Ensure signature isn't expiredf2beccc4f4
AddSigner
methods for signing and verifying requests
Non-source Changes
7f64cc140b
Add note about non-compliance with signing standard171814bb15
Add note about changing property types inSignature
4ed9f92a57
Add documentation for request classes
Downloads
-
0.2.0 Stable
released this
2024-03-27 12:00:59 -04:00 | 40 commits to main since this releaseMajor rework of the
Signer
class. Future signing algorithms will be added viaAlgorithm
classes. Currently relies onAlgorithmType
, so not expandable at the moment.Changes
58ef6d36a4
ReworkSigner
for future algorithm support98bcdb73eb
DeprecateSignature.algorithm_type
36147cccb5
MultipleSigner
changes- fix several issues with signing and verifying
- rename
AlgorithmType.ORIGINAL
toAlgorithmType.RSASHA256
- deprecate
Digest.new_from_digest
and addDigest.parse
class method - swap position of
algorithm
andsign_all
inSigner.sign_headers
574db4b7f6
Ensure all required headers exist when validating1dacb6cce4
Fix linting issues withJsonBase
b23c854d2d
Fix signature validationf015aa88a3
FixKeyError
when getting digest from headers
Non-source Changes
2474e75187
Add PyPi badges to readmed4da465c31
Add documentation for algorithm classes and methods
Downloads
-
0.1.9 Stable
released this
2024-03-27 10:46:38 -04:00 | 50 commits to main since this releaseQuick bug fix release
Note: The tag is 0.1.9a because 0.1.9 apparently exists
Fixes
43ccab67c6
Pass through value if it is a string when setting a value inMessage
e10d8821dd
Don't try to deserialize a value if there is not associatedProperty
8d7dfb7e1b
Fix HttpDate, create MessageDate, and fix typing for Message2db89998c8
Replacetyping.Self
to support type checking on python <3.1113e25959fa
Fix tests involvingHttpDate
Downloads
-
0.1.8 Stable
released this
2024-03-21 19:03:49 -04:00 | 56 commits to main since this releaseMostly bug fixes and documentation/packaging changes
Changes
cb85d10ea1
Replace pylint with mypy and flake8- Add
py.typed
file to let mypy know the module is typed - Merge
ActorMixin
intoMessage
- Remove
Signer.bytes
Signer.sign_func
actually returns a function instead of a module
- Add
5a41607f61
Message
changes- Replace
datetime
withHttpDate
- Add
dict
type to (de)serializers - Add new properties: content_map, created
- Fix context creation
- Replace
64278d89f0
ImproveMessage
value (de)serialization23c4b46ea9
Fix various issues- Make sure key is in snake_case form
- Documentation for
pubkey
parameter should mention public key and not private key - Use camelCase for keys in sub-dicts
- Use the correct property for getting an actor's username
- Use the right date format for
HttpDate
Non-source Changes
931e10ae53
Convert setup.cfg to pyproject.toml4257958b2d
Rename package and fix optional dependenciesb26803a005
Add flake8 config6113050962
Add dev scripteeafbfe904
Addtest
dev script commandae45408b12
Add documentation forProperty
class and addProperty.add_type
methodb5f224daf3
Update documentatione6e7391de1
Add tests forMessage
class
Downloads
-
0.1.7 Stable
released this
2024-02-23 20:32:58 -05:00 | 69 commits to main since this releaseFixes
3d3c332872
Properly check key type inSigner.__repr__
d692c301aa
Make sure AttributeError is raised instead of KeyError inMessage.object_id
Changes
20e7b7004b
Remove lazy imports
Non-source Changes
1c4859dc6f
Remove flake8 and add extensions to pylintaf2af2bd3c
Update doc dependenciesd0315a42e2
Allow sphinx to link toTYPE_CHECKING
types7e31b12085
Update docsd5541244b6
Add css override for docs
Downloads
-
0.1.6a Stable
released this
2024-01-05 15:05:34 -05:00 | 78 commits to main since this releaseQuick fix release
b37aa61c55
Properly compare digests inDigest.validate
84546757b6
Add tests forDigest
class
Downloads
-
0.1.6 Stable
released this
2024-01-04 10:34:19 -05:00 | 81 commits to main since this releaseChanges
9ee3444deb
CreateJsonBase
classd70845e210
AddJsonBase.new_from_json
class method0e2a816cb9
Move type-specific message properties tomessage_types.py
0e2a816cb9
Add deprecation warning toJsonBase.new_from_json
03019d8c64
DocumentActorMixin
class
Downloads
-
0.1.5 Stable
released this
2023-12-24 10:52:36 -05:00 | 87 commits to main since this releaseA few minor fixes and the introduction of the
Message
class.Note: I forgot to re-add
new_from_json
to all dict classes inobjects.py
. The next release will add aparse
method instead.New features
aputils.Message
: Class for working with ActivityPub objects443b949ea5
AddObject
class463ebfd459
RenameObject
toMessage
and rework itd32737e410
Add docs for message class2238c0ca76
Better handling of (de)serialization of propertiesffa4780767
Process values innew
c1fe4383ed
AddMessage
to lazy import9988a8d979
Addnew_image
02bb7920fc
Use the right name when adding the public key innew_actor
e1bf6d7256
Add caching fordatetime
objects
Fixes
4395a3f740
Use correct key filename for rsa signer tests9f0944babe
Fix_check_key_type
wrapper8df0122c6e
FixSigner.__repr__
Changes
bc6dd7b9d4
SimplifySigner.export
method1a774bd1f8
RemoveDotdict
class077ba13686
Add annotations and settings for pylint and flake8558cd9f597
Replace all single quotes with double quotes8bcc8ffd27
ReplaceNODEINFO_NS
withNodeinfoVersion
enum0442c7b66e
Add doc line forNodeinfoVersion
3d4bf40893
Addconvert_to_boolean
and un-deprecateSigner.new_from_signature
ed899de0aa
Handle api change in pycryptodome's signature verification3a4ee2df8c
Fix linter issues0dbc97a98c
Simplify private key check and enable validation exception test8adaf3129a
RenameBaseRequest
toAiohttpRequest
Non-source changes
12a4aa96f9
Add Python 3.11 and 3.12 to list of supported versions1744f617a2
Updatepycryptodome
to3.19.0
101213f7fc
Updateaiohttp
to3.9.1
and pointinstall_requires
torequirements.txt
dd9c278700
Add disabled test for signature verification exceptions7bac1d6469
Fix doc url and remove pypi url1c802056b4
Have docs pull version number from config.pydce84c9b93
Use actual link for docs this time
Downloads