li0ard / cpfx Goto Github PK
View Code? Open in Web Editor NEWCryptoPro PFX Decoder
Home Page: http://li0ard.is-cool.dev/cpfx/
License: Apache License 2.0
CryptoPro PFX Decoder
Home Page: http://li0ard.is-cool.dev/cpfx/
License: Apache License 2.0
Спасибо вам за проделанную работу!
Будьте добры, добавьте в справку, как можно выгрузить ключ в pfx и прочие ключевые действия.
https://identityblitz.ru/products/esia-bridge/documentation/
File "/home/user/cash-api/cpfx/cpfx.py", line 92, in
result = CPBlob().decode(result)[0]
File "/home/ipoliashenko/cash-api/cpfx/pyderasn.py", line 1922, in decode
result = next(self.decode_evgen(
File "/home/user/cash-api/cpfx/pyderasn.py", line 1966, in decode_evgen
for result in self._decode(
File "/home/user/cash-api/cpfx/pyderasn.py", line 6440, in _decode
raise TagMismatch(
pyderasn.TagMismatch: CPBlob
При попытке выполнить декодировку pfx для эцп выпущенного тестовым УЦ КриптоПро падает с ошибкой:
CryptoPro PFX Decoder by li0ard
Введите пароль:
SALT = 52259485af47d3c358c7ba66a74c37ed
ITERS = 2000
Прогресс: |**************************************************| 100.0% Завершено
KEY = 27458cabecb90b08177d58b85b157ffe2b2ae8829dc3260590ebbecb633dbc7f
IV = 52259485af47d3c3
Traceback (most recent call last):
File "cpfx.py", line 91, in
result = CPBlob().decode(result)[0]
File "/usr/local/lib/python3.8/dist-packages/pyderasn-9.3-py3.8.egg/pyderasn.py", line 1922, in decode
File "/usr/local/lib/python3.8/dist-packages/pyderasn-9.3-py3.8.egg/pyderasn.py", line 1966, in decode_evgen
File "/usr/local/lib/python3.8/dist-packages/pyderasn-9.3-py3.8.egg/pyderasn.py", line 6609, in _decode
pyderasn.DecodeError: CPBlob remaining data
Файл приложил.
gost.pfx.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.