hgrc generated by mach mercurial-setup gives "abort: certificate for bugzilla.mozilla.org has unexpected fingerprint 47:13:a2:14:0c:46:45:53:12:0d:e5:36:16:a5:60:26:3e:da:3a:60"

RESOLVED FIXED in mozilla27

Status

()

Core
mach
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Trunk
mozilla27
x86_64
Windows 8
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
I ran mach mercurial-setup a while ago, and it added the following to my hgrc:

[hostfingerprints]
bugzilla.mozilla.org = 45:77:35:fd:6f:2c:1c:c2:90:4b:f7:b4:4d:60:c6:97:c5:5c:47:27
hg.mozilla.org = 10:78:e8:57:2d:95:de:7c:de:90:bd:22:e1:38:17:67:c5:a7:9c:14

I've happily been using that for several weeks, but today got:

Fetching...abort: certificate for bugzilla.mozilla.org has unexpected fingerprint 47:13:a2:14:0c:46:45:53:12:0d:e5:36:16:a5:60:26:3e:da:3a:60
(check hostfingerprint configuration)

...whilst using qimportbz.

Presuming the fingerprint change is intentional, we should add it to:
http://mxr.mozilla.org/mozilla-central/source/tools/mercurial/hgsetup/config.py#12

glob, was it intentional/expected?
Flags: needinfo?(glob)
(Assignee)

Comment 1

4 years ago
#it:
14:32:23 - edmorley: is this expected?
14:32:24 - edmorley: abort: certificate for bugzilla.mozilla.org has unexpected fingerprint 47:13:a2:14:0c:46:45:53:12:0d:e5:36:16:a5:60:26:3e:da:3a:60
14:32:49 - edmorley: cert changed recently?
14:33:49 - solarce|afk: yes it did
14:34:10 - edmorley: is the old one gone completely, or should I add both to my hgrc?
14:34:24 - solarce|afk: https://bugzilla.mozilla.org/show_bug.cgi?id=920380
14:34:28 - solarce|afk: just the new one
Depends on: 920380
Flags: needinfo?(glob)
(Assignee)

Comment 2

4 years ago
Ah, that bug was group infra until just now, which is why my search hadn't found it :-)
(Assignee)

Comment 3

4 years ago
Created attachment 822318 [details] [diff] [review]
Patch v1

Have tested that this in-place updates the existing value if present.
Attachment #822318 - Flags: review?(gps)
(Assignee)

Updated

4 years ago
Assignee: nobody → emorley
Status: NEW → ASSIGNED
(Assignee)

Comment 4

4 years ago
Whoops, inadvertently pushed this with a checkin-needed. Not going to back out for now given this should be a pretty trivial change, but will leave the review request set so you can confirm you are ok with that :-)

https://hg.mozilla.org/integration/mozilla-inbound/rev/bd9cbc876172

Updated

4 years ago
Attachment #822318 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/bd9cbc876172
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.