Releases: mszeu/PayShieldPressureTest
Releases · mszeu/PayShieldPressureTest
v.1.3.1
Classy
What's Changed
- Classy dev by @mszeu in #23
- The connection logic has been improved and transformed in a Python Class
- In this version, the SSL and TCP connections are not open and closed for every call, but the same connection is used to send all the commands
- The Docustrings have been improved
- The HELP (-h) output has been fixed and improved
- Some minor logical errors have been fixed
Full Changelog: v1.2...v1.3
v1.2
What's Changed
- sys issue and PSF Logo by @mszeu in #21
- Dev by @mszeu in #22
- We now use the context.wrap_socket() to establish the SSL connection to avoid deprecation warnings.
- To ease the usability of the SSL feature, no checks on the validity of the certificate chain are performed.
- Included the full sys library to avoid errors in the executable version when the exit() method was called.
- Now we explicitly call the sys.exit() method instead of using the built-in exit() one to avoid errors in the executable version.
Full Changelog: v1.1.7.2...v1.2
v1.1.7.2
v.1.1.7
What's Changed
- Fixed typos in comments and README.md
- Removed not functional code in HEX to IP address dotted decimal notation conversion function
- Fixed the hex output of --randgen
- Simplified the printing in hex of the response obtained by the appliance
- Fixed the representation in hexadecimal of the ECC public and private keys
Full Changelog: v1.1.6...v1.1.7
v1.1.6
What's Changed
- added command EI to query the status of the Host Port 1
- added function to decode the response of the command EI
- implemented some minor fixes
- added the compiled and digitally signed executable version for Windows
Notes about the executable version for Windows
- The executable has been created using Python 3.10.2 and PyInstaller
- It is not fully tested and I always recommend using the Python version of it
- The executable has been digitally signed and timestamped for maximum security
Full Changelog: v1.1.3...v1.1.6
v.1.1.5
What's Changed
- Devel to Master: echo command added by @mszeu in #14
- Minor bug fix for B2 by @mszeu in #15
- version change to 1.1.5 by @mszeu
- ECC key generation and decode by @mszeu in #17
- Ability to choose the ECC curve, exportability and usage
- Various fixes and updates to the Readme.md
- Removed duplicate decoder functions added by mistake
- RSA key generation with the parameter --key are not limited anymore to 2048 or 4096 bit: it is now possible to choose any size between 320 and 4096 bit.
Example:
pressureTest.py 10.0.0.1 --key 1024 --repeat 1
Full Changelog: v1.1.3...v.1.1.5
v1.1.4a
v.1.1.3
New
- Added the capability to interpreter the result of some commands through the optional parameter --decode
Actually, the supported commands are:- NO
- NC
- N0
- J2
- J4
- J8
- JK
- Fixed some typos in messages and Readme.MD
- Improved messages in the app
- Improved code readability of the decode_XX functions
- Improved error handling in decode_jk function
Done
- All the host protocols are finally supported: TCP, UDP and TLS
- The --proto arguments are now case insensitive
- Some checks added to ensure the right parameters were provided
Todo
- Rework the TLS socket initialisation using a more modern approach
- Rework the command result decoders implementing them using @ function decorators to add enhanced readability and maintainability
- Check the decode function for JK possibly during a tamper.
Perhaps one day...
- Introduce multithreading for the function that sends commands to the appliance
- Modify the way the tests are run, avoiding to open and close the connection for every single test or keep both the possibilities to compare the difference in performances between the two approaches
v1.1.2-beta
New
- Added the capability to interpreter the result of some commands through the optional parameter --decode
Actually, the supported commands are:- NO
- NC
- N0
- J2
- J4
- J8
- JK
- Fixed some typos in messages and Readme.MD
Done
- All the host protocols are finally supported: TCP, UDP and TLS
- The --proto arguments are now case insensitive
- Some checks added to ensure the right parameters were provided
Todo
- Rework the TLS socket initialisation using a more modern approach
- Rework the command result decoders implementing them using @ function decorators to add enhanced readability and maintainability
- Check the decode function for JK with more scenarios such no LMKs, more than one LMK and possibly during a tamper.
Perhaps one day...
- Introduce multithreading for the function that sends commands to the appliance
- Modify the way the tests are run, avoiding to open and close the connection for every single test or keep both the possibilities to compare the difference in performances between the two approaches