Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

some certificate fingerprints cause decoding error #6524

Closed
diracdeltas opened this issue Jan 4, 2017 · 5 comments
Closed

some certificate fingerprints cause decoding error #6524

diracdeltas opened this issue Jan 4, 2017 · 5 comments

Comments

@diracdeltas
Copy link
Member

reported by eric lawrence:
image uploaded from ios

@diracdeltas diracdeltas added the bug label Jan 4, 2017
diracdeltas added a commit that referenced this issue Jan 4, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
@bsclifton
Copy link
Member

@diracdeltas is this fixed by #6525?

@diracdeltas
Copy link
Member Author

i'm not 100% sure due to lack of the test certificate, but we can close this and reopen if not.

@bsclifton
Copy link
Member

bsclifton commented Jan 13, 2017

Closing; if not fixed by #6525, let's re-open 😄

Test Plan

At least to do a regression test:

  1. go to a site like https://wrong.host.badssl.com/ with an invalid ssl cert
  2. click 'view certificate'
  3. the hex-encoded certificate fingerprint should appear

@luixxiul luixxiul added this to the 0.13.1 milestone Jan 13, 2017
@bsclifton
Copy link
Member

was gonna add the new QA/required tag but you beat me to it, @luixxiul 😄

bsclifton pushed a commit that referenced this issue Jan 14, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 17, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 17, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 18, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 20, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
NejcZdovc pushed a commit to NejcZdovc/browser-laptop that referenced this issue Jan 23, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in brave#6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 23, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 24, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 25, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
bsclifton pushed a commit that referenced this issue Jan 25, 2017
The cert fingerprint emitted by Muon/Electron is base64 encoded [1], so it may contain '/'. I think we were truncating the certificate fingerprint when this was the case, which may have caused the decoding error in #6524.

[1] https://cs.chromium.org/chromium/src/net/base/hash_value.h?q=net::HashValue&sq=package:chromium&l=58

Auditors: @darkdh
@bbondy
Copy link
Member

bbondy commented Feb 3, 2017

Test failed on macOS, I posed a follow up here:
#7042

@diracdeltas could you take a look?

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

No branches or pull requests

6 participants