Psrpcore

Latest version: v0.3.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.0

* Dropped support for Python 3.7
* Tested with Python 3.12
* Added `psrpcore.types.deserialize_clixml` and `psrpcore.types.serialize_clixml`
* These methods can deserialize and serialize CLIXML strings directly
* Removed invalid `__init__.py` entries `ps_data_packet` and `ps_guid_packet` as they were never defined
* Add `psrpcore.types.InformationRecord.create` class method to more easily create information records
* **BREAKING CHANGE** - Changed signature of `psrpcore.types.PSCryptoProvider`
* No longer an abstract base class, methods default to raising `NotImplementedError`
* Removed the `register_key` function as it has no relation to serialization work
* Changed the `encrypt` and `decrypt` methods to work with the raw XML element text instead of bytes
* These changes are needed to support different serialization mechanisms used by PowerShell
* Unless you were using `psrpcore.types.serialize` and `psrpcore.types.deserialize` directly this should not affect you

0.2.2

* Fix up Python 3.11.2 flag enum issues when doing bit operations like `|` and `&`

0.2.1

+ Fix up DateTime serialization
+ DateTimes with no timezone specified will be of the `Unspecified` kind and vice versa
+ DateTimes with the UTC timezone specified will be of the `Utc` kind and vice versa
+ DateTimes with a custom timezone specified will be one of the `Local` kind and deserialized with the time zone specified
+ A change in behaviour is that originally a Python datetime with no timezone became a `Utc` kind DateTime, not it will be `Unspecified

0.2.0

+ Bump minimum Python version to 3.7 and fix Python 3.11 enum issues

0.1.2

+ Fix serialization of strings that include half surrogate pair `[char]` values

0.1.1

+ Do not use references for lists and dict types when serializing

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.