Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

помилка ENOKEY #26

Open
malskur opened this issue Jun 23, 2021 · 1 comment
Open

помилка ENOKEY #26

malskur opened this issue Jun 23, 2021 · 1 comment

Comments

@malskur
Copy link

malskur commented Jun 23, 2021

доброго дня
намагаюся розшифрувати повідомлення

node index.js --decrypt \ --key key.raw.der \ --input customerCrypto.dat \ --output clear \ --tsp \ --ocsp strict \ --ca_path CACertificates.p7b

отримую помилку
Error occured during unwrap: ENOKEY

ключ і данні з банка.
підкажіть будь ласка що означає помилка, і в яку сторону рухатись?

@muromec
Copy link
Member

muromec commented Jul 8, 2021

означає шо нема сертифіката або ключа яким можна розшифрувать файл. ну або якась помилка в коді.

сертифікат відправника воно повинно підтягувати автматично по OCSP, а отримувача -- я не пам'ятаю точно, але скоріше за все - ні.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants