[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #25603 [Applications/Tor Browser]: Update Orfox HTTPS-E Add-on



#25603: Update Orfox HTTPS-E Add-on
----------------------------------------------+--------------------------
 Reporter:  sysrqb                            |          Owner:  sysrqb
     Type:  enhancement                       |         Status:  assigned
 Priority:  Very High                         |      Milestone:
Component:  Applications/Tor Browser          |        Version:
 Severity:  Normal                            |     Resolution:
 Keywords:  tbb-mobile, TorBrowserTeam201804  |  Actual Points:
Parent ID:                                    |         Points:
 Reviewer:                                    |        Sponsor:
----------------------------------------------+--------------------------

Comment (by sysrqb):

 Process for creating new https-everywhere xpi:

 1) Checkout tag `2018.4.11`
 2) Copy src/chrome/content/rules into another directory outside working
 directory (`cp -r src/chrome/content/rules ../`)
 3) Checkout tag `5.2.21`
 4) Edit src/install.rdf - clear updateURL and updateKey [0] (this prevents
 auto-updating)
 5) Delete directory src/META-INF/ (`rm -r src/META-INF`)
 6) Delete all current rules (`rm -r src/chrome/content/rules/`)
 7) Copy new rules into working directory (`cp -r ../rules
 src/chrome/content/`)
 8) `./makexpi.sh`
 9 `sha256sum pkg/https-everywhere-5.2.21~4c7803208b-dirty-eff.xpi` is
 {{{
 7a33c13dbd80fd881b1508fca6dc10fca787f8eb4da754104321537240ffb866  pkg
 /https-everywhere-5.2.21~4c7803208b-dirty-eff.xpi
 }}}
 10) Copy pkg/https-everywhere-5.2.21~4c7803208b-dirty-eff.xpi into `tor-
 browser/mobile/android/orfox/distribution/assets/distribution/extensions
 /https-everywhere-eff@xxxxxxxxxxx`

 [0] Diff from step (4)
 {{{
 diff --git a/src/install.rdf b/src/install.rdf
 index fe321f48b0..6fa8ece9c7 100644
 --- a/src/install.rdf
 +++ b/src/install.rdf
 @@ -15,8 +15,8 @@
          <em:optionsURL>chrome://https-everywhere/content/observatory-
 preferences.xul</em:optionsURL>
          <em:iconURL>chrome://https-everywhere/skin/icon-
 active-48.png</em:iconURL>
          <em:unpack>false</em:unpack>
 -        <em:updateURL>https://www.eff.org/files/https-everywhere-eff-
 update-2048.rdf</em:updateURL> <!-- 2015-08-14: New update URL to go with
 new id (https-everywhere-eff@xxxxxx) -->
 -
 <em:updateKey>MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6MR8W/galdxnpGqBsYbqOzQb2eyW15YFjDDEMI0ZOzt8f504obNs920lDnpPD2/KqgsfjOgw2K7xWDJIj/18xUvWPk3LDkrnokNiRkA3KOx3W6fHycKL+zID7zy+xZYBuh2fLyQtWV1VGQ45iNRp9+Zo7rH86cdfgkdnWTlNSHyTLW9NbXvyv/E12bppPcEvgCTAQXgnDVJ0/sqmeiijn9tTFh03aM+R2V/21h8aTraAS24qiPCz6gkmYGC8yr6mglcnNoYbsLNYZ69zF1XHcXPduCPdPdfLlzVlKK1/U7hkA28eG3BIAMh6uJYBRJTpiGgaGdPd7YekUB8S6cy+CQIDAQAB</em:updateKey>
 +        <em:updateURL></em:updateURL> <!-- 2015-08-14: New update URL to
 go with new id (https-everywhere-eff@xxxxxx) Deleted for Orfox -->
 +        <em:updateKey></em:updateKey> <!-- Deleted for Orfox -->
          <!-- Firefox -->
          <em:targetApplication>
              <Description>
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25603#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs