[tor-bugs] #32299 [Core Tor/Tor]: read GeoIPFile and GeoIP6File straight out of ZIP (.apk, .jar, .zip, .ipa) (was: read GeoIPFile and GeoIP6File straight out of APK file (Android-only))

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 5 09:01:11 UTC 2019


#32299: read GeoIPFile and GeoIP6File straight out of ZIP (.apk, .jar, .zip, .ipa)
-------------------------------------------------+-------------------------
 Reporter:  eighthave                            |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  Android, iOS, tbb-mobile, needs-     |  Actual Points:
  proposal                                       |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by eighthave):

 Seems to me that this proposal should focus on `zip:`, since the other
 package formats would work quite a bit differently.

 Another thing to note: although APK and JAR files are always readable as
 ZIP files, some strict ZIP libraries might get caught up on some aspects
 of the APK format, which are not part of the ZIP standard.  For example
 `zipalign` adds padding between entries using a method that is not
 specified in the ZIP standard (as far as I remember).  I do know that
 rewriting an APK with libzip will break that padding, and can make APKs
 not work.  I am pretty sure that breakage only comes when writing, and
 everything should read APKs just fine.  There might be some warnings or
 error messages though, depending on the reader config.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32299#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list