Skip to content

Conversation

@greimers
Copy link

I added a function to hash a local certificate file in DER format. This is very useful when you have not deployed your certificate, yet, or just for debugging.
Accordingly, I added the DER file for google.co.nz and added a button to the sample GUI.

Also added a bit more debug prints to better see which hash belongs to which certificate.

I also removed a lot of blank lines, because I found it a bit hard on my small screen. Sorry, if that messes with your coding style.

Initially I wanted to see why the hashes from Apple's frameworks are different from the OpenSSL hashes. That's why I added hex-output for debugging and realised that OpenSSL as well as the Security.framework pad the public keys with additional but different bytes. If someone knows why that is, please add it to the readme.

- adds domains to public key hash debug logging
…om DER files

- added google_co_nz sample DER file
- added GUI button to calculate DER hash
- added more debugging prints to better see which hash belongs to which certificate
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

Successfully merging this pull request may close these issues.

1 participant