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

sodDigestEncryptionAlgorithm not proper set #51

Open
dragom opened this issue Nov 28, 2022 · 2 comments
Open

sodDigestEncryptionAlgorithm not proper set #51

dragom opened this issue Nov 28, 2022 · 2 comments

Comments

@dragom
Copy link

dragom commented Nov 28, 2022

87df880
This is not always same algorithm. One used to sign certificate other to sign SOD file. @daferna

@tananaev
Copy link
Owner

So, what is the right solution? It seems like old code didn't work for some passports and you're saying new one doesn't work for some? Which passport it doesn't work for?

@dragom
Copy link
Author

dragom commented Nov 30, 2022

Not expert on this. But previos code looks more valid, and it works if CA sign alg is different from SOD sign alg. And change was made because BC not return proper string?
Probably you should check what readId do in their app and do the same.

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