XQ-Message-Inc / pysdk-core

A Python Implementation of XQ Message SDK (V.2) which provides convenient access to the XQ Message API.
12 stars 0 forks source link

updated magic encrypt to use expanded key for file OTP #33

Closed mediocretech closed 2 years ago

github-actions[bot] commented 2 years ago

File Coverage
All files 92% :white_check_mark:
xq/__init__.py 93% :white_check_mark:
xq/config.py 100% :white_check_mark:
xq/algorithms/__init__.py 100% :white_check_mark:
xq/algorithms/aes_encryption.py 95% :white_check_mark:
xq/algorithms/encryption.py 97% :white_check_mark:
xq/algorithms/otp_encryption.py 90% :white_check_mark:
xq/api/__init__.py 89% :white_check_mark:
xq/api/manage/__init__.py 100% :white_check_mark:
xq/api/manage/authentication.py 80% :white_check_mark:
xq/api/manage/contact_management.py 85% :white_check_mark:
xq/api/manage/usergroup.py 92% :white_check_mark:
xq/api/quantum/__init__.py 100% :white_check_mark:
xq/api/quantum/generator.py 100% :white_check_mark:
xq/api/subscription/__init__.py 100% :white_check_mark:
xq/api/subscription/authentication.py 95% :white_check_mark:
xq/api/subscription/key_management.py 100% :white_check_mark:
xq/api/subscription/user_management.py 100% :white_check_mark:
xq/api/validation/__init__.py 100% :white_check_mark:
xq/api/validation/key_management.py 93% :white_check_mark:
xq/exceptions/__init__.py 100% :white_check_mark:
xq/exceptions/configuration.py 100% :white_check_mark:
xq/exceptions/encryption.py 100% :white_check_mark:
xq/exceptions/xq.py 100% :white_check_mark:

Minimum allowed coverage is 75%

Generated by :monkey: cobertura-action against 09c998bd328c38ef6f7a286b31f27dc388c89e6b

mediocretech commented 2 years ago

@dcybulski found an issue with magic_encrypt where it would store the original key, even if it needed to be expanded. this resolves that issue