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

Add coveralls support #2

Open
vanlooverenkoen opened this issue May 15, 2021 · 2 comments
Open

Add coveralls support #2

vanlooverenkoen opened this issue May 15, 2021 · 2 comments

Comments

@vanlooverenkoen
Copy link
Collaborator

No description provided.

@dazzlingy1212
Copy link

I am confused about a qusetion , at the file certificate_util.dart,line 36 is final der = base64Decode(pem) , so what need to declare a variable cert in the method extractKid ?
Also when I use it, that show the error about invalid character at there. I change the variable pem to cert,and it is without error.
Can anybody tell me is it right?

@jeroentrappers
Copy link
Owner

To get the kid, you pass in the Document Signing Certificate. This can be in PEM or DER format. The function will strip the header and footer in case you pass PEM format. The DER and PEM format differ only in these headers and footer.

Then it takes the first 8 bytes.

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

3 participants