Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2020-04-30 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  cohosh
 Type:  project  | Status:
 |  assigned
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-must
-+-

Comment (by cohosh):

 Got a build working here: https://gitweb.torproject.org/user/cohosh/tor-
 browser-build.git/log/?h=snowflake_android

 I'm doing another build with #34043 and then testing that on my phone to
 see what it's like.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2020-04-29 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  cohosh
 Type:  project  | Status:
 |  assigned
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-must
-+-
Changes (by cohosh):

 * owner:  (none) => cohosh
 * status:  needs_revision => assigned


Comment:

 Picking this up to work on it.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2020-03-05 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-must
-+-
Changes (by gaba):

 * keywords:
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201907, anti-censorship-roadmap-august, snowflake
 =>
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201907


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-09-25 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907, anti-censorship- |
  roadmap-august, snowflake  |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-must
-+-
Changes (by gk):

 * keywords:
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201907, anti-censorship-roadmap-august
 =>
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201907, anti-censorship-roadmap-august, snowflake


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-09-25 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907, anti-censorship- |
  roadmap-august |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-must
-+-

Comment (by gk):

 FWIW: the fix for #25483 just landed and we should redo our Android
 patches based on that.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-07-18 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907, anti-censorship- |
  roadmap-august |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-must
-+-
Changes (by gaba):

 * keywords:
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201907
 =>
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201907, anti-censorship-roadmap-august


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-07-18 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-must
-+-
Changes (by gaba):

 * cc: cohosh (added)
 * sponsor:  Sponsor28-can => Sponsor28-must


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-07-01 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-

Comment (by gk):

 Replying to [comment:25 boklm]:
 > Replying to [comment:24 gk]:
 > > 3) What's the reason for moving the `gclient config` part outside of
 the `if [ ! -d "src"]` one, in particular as this affects non-Android
 platforms as well. And what does it mean? That it is
 > > not run for Linux and macOS anymore?
 >
 > If the `gclient config` is behind the `if [ ! -d "src"]`, then changes
 to gclient config are not taken into account unless we remove the `src`
 directory. So moving it outside allows us to update this config without
 removing the `src` directory.
 >
 > It seems we should have a patch moving that part outside of the `if [ !
 -d "src"]` on the stable branch too, otherwise building master will update
 the gclient config, and then building stable will keep using the master
 version of the gclient config.

 Okay, sounds reasonable. Yes, we should keep that in mind once we need
 this on stable (which we currently don't do).

 > The `target_os` line means fetching dependencies specific for those
 platforms. It seems we don't need specific dependencies for the Linux and
 macOS builds as we had no `target_os` defined before.
 >
 > With this change we will fetch Android dependencies (and Windows ones,
 but we can remove it for now), and will include it in the webrtc tarball
 used for every platforms. This means we include some dependencies not
 needed in the Linux and macOS builds, but this avoids generating one
 tarball for each platform.

 Yes, that seemed to be perfectly reasonable. Just the Windows part is not
 needed yet (maybe not even ever given the build issues), thus let's remove
 it for now.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-07-01 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-

Comment (by boklm):

 Replying to [comment:24 gk]:
 > 3) What's the reason for moving the `gclient config` part outside of the
 `if [ ! -d "src"]` one, in particular as this affects non-Android
 platforms as well. And what does it mean? That it is
 > not run for Linux and macOS anymore?

 If the `gclient config` is behind the `if [ ! -d "src"]`, then changes to
 gclient config are not taken into account unless we remove the `src`
 directory. So moving it outside allows us to update this config without
 removing the `src` directory.

 It seems we should have a patch moving that part outside of the `if [ ! -d
 "src"]` on the stable branch too, otherwise building master will update
 the gclient config, and then building stable will keep using the master
 version of the gclient config.

 The `target_os` line means fetching dependencies specific for those
 platforms. It seems we don't need specific dependencies for the Linux and
 macOS builds as we had no `target_os` defined before.

 With this change we will fetch Android dependencies (and Windows ones, but
 we can remove it for now), and will include it in the webrtc tarball used
 for every platforms. This means we include some dependencies not needed in
 the Linux and macOS builds, but this avoids generating one tarball for
 each platform.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-07-01 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201907   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-
Changes (by gk):

 * keywords:
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201906R
 =>
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201907
 * status:  needs_review => needs_revision


Comment:

 Thanks! It seems I got reproducible builds now, nice! Here come some
 review notes:

 93b7f904ec931c56adf9f84b50756cf2f7776f38 -- okay
 524f9d9b6cfc6418e237fcd6c5264bb301a2411f -- okay
 093ab72ddc37be1f4932213c4a78ff1e55348500 -- not okay;
 1) So, we need a particular OpenSSL version or is the one in Stretch just
 too old? Could you add a
 comment here explaining what happens (and ideally pointing to the
 problematic
 code)?
 2) `+  target_os = ["win", "android"]` -- we don't target Windows
 right now and should leave that target out
 3) What's the reason for moving the `gclient config` part outside of the
 `if [ ! -d "src"]` one, in particular as this affects non-Android
 platforms as well. And what does it mean? That it is
 not run for Linux and macOS anymore?
 4) We could change the `GN_ARGS`-adding parts to
 {{{
 [% IF c("var/linux") -%]
   GN_ARGS+=
 [% ELSIF c("var/osx") -%]
   GN_ARGS+=
 [% ELSIF c("var/android") -%]
   GN_ARGS+=
 [% END -%]
 }}}
 commit 082b4fd8759ef9e88317940d77d091291d0363df -- not okay; Just copying
 the .aar over does not mean it gets included into the final result. I
 think we'd need to update the `android-dependencies.patch` file for that
 as well. However, I am not exactly sure about the way forward here as the
 .aar approach seems to be in line with
 https://github.com/guardianproject/AndroidPluggableTransports but that's
 not how we currently utilize PTs on mobile which is having a binary like
 we do on desktop. I'll bring this as a topic for the meeting discussion up
 today.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-06-28 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201906R  |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-
Changes (by boklm):

 * keywords:
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201906
 =>
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201906R
 * status:  needs_revision => needs_review


Comment:

 There is a new patch for review in branch `bug_28672_v7`:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_28672_v7&id=082b4fd8759ef9e88317940d77d091291d0363df

 This gomobile patch is fixing the issue with `/tmp/gomobile-work-
 X` paths:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/tree/projects/gomobile/0001-If-the-GOMOBILE_TMPDIR-env-variable-
 is-defined-
 use-t.patch?h=bug_28672_v7&id=082b4fd8759ef9e88317940d77d091291d0363df

 However there was still an issue with a `/tmp/go-buildX`. I tried
 fixing it with a `sed -i -E -e 's#(/tmp/go-build|/tmp/go-
 link-)[0-9]{9}/#\1X/#g' libgojni.so`, but this did not fix the
 issue completely as there was still differences after that:
 {{{
 --- out/snowflake/snowflake-d11e55aabe37-android-armv7-d0aca3.aar
 +++ /home/boklm/reproduce-build/tor-browser-build/out/snowflake/snowflake-
 d11e55aabe37-android-armv7-d0aca3.aar
 ├── zipinfo {}
 │ @@ -1,10 +1,10 @@
 │ -Zip file size: 1090707 bytes, number of entries: 8
 │ +Zip file size: 1090705 bytes, number of entries: 8
 │  -rw---  3.0 unx  154 t- defN 19-Apr-16 16:59
 AndroidManifest.xml
 │  -rw---  3.0 unx0 b- stor 19-Apr-16 16:59 R.txt
 │  -rw---  3.0 unx11138 b- defN 19-Apr-16 16:59 classes.jar
 │  drwx--  3.0 unx0 b- stor 19-Apr-16 16:59 jni/
 │  drwx--  3.0 unx0 b- stor 19-Apr-16 16:59 jni/armeabi-v7a/
 │  -rw---  3.0 unx  3133888 b- defN 19-Apr-16 16:59 jni/armeabi-
 v7a/libgojni.so
 │  -rw---  3.0 unx   25 t- stor 19-Apr-16 16:59 proguard.txt
 │  drwx--  3.0 unx0 b- stor 19-Apr-16 16:59 res/
 │ -8 files, 3145205 bytes uncompressed, 1089881 bytes compressed:  65.4%
 │ +8 files, 3145205 bytes uncompressed, 1089879 bytes compressed:  65.4%
 ├── jni/armeabi-v7a/libgojni.so
 │┄ No file format specific differences found inside, yet data differs (ELF
 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked,
 not stripped)
 │ @@ -20,16 +20,16 @@
 │  130: 0400  52e5 7464 f089 0d00 f099 0d00  R.td
 │  140: f099 0d00 1066 0a00 1066 0a00 0600   .f...f..
 │  150: 0800  0400  5300  0400   S...
 │  160: 476f  3966 3676 6e5f 5755 5876 6950  Go..9f6vn_WUXviP
 │  170: 6c7a 4a38 6c30 6a47 2f62 5769 6354 4c66  lzJ8l0jG/bWicTLf
 │  180: 3656 6572 7637 456d 536e 5945 792f 5877  6Verv7EmSnYEy/Xw
 │  190: 766f 4d72 5359 5250 6a78 345f 3264 4f6f  voMrSYRPjx4_2dOo
 │ -1a0: 505a 2f35 5767 4c57 5934 555a 4c4a 6e65  PZ/5WgLWY4UZLJne
 │ -1b0: 4d53 4146 6f68 6900      MSAFohi.
 │ +1a0: 505a 2f45 7054 3844 3964 6734 765f 6134  PZ/EpT8D9dg4v_a4
 │ +1b0: 6648 4c51 7767 3700      fHLQwg7.
 │  1c0:     0100     
 │  1d0:   1200  4300     C...
 │  1e0:   1200  5000  48d9 0b00  P...H...
 │  1f0: 4400  1200 0b00 7b00  9cd9 0b00  D...{...
 │  200: 0800  1200 0b00 9800  8cd9 0b00  
 │  210: 0800  1200 0b00 bf00  94d9 0b00  
 │  220: 0800  1200 0b00 e600  00d9 0b00  
 │ @@ -326,15 +326,15 @@
 │  0001450: 0100 0100 0100 0100 0100 0100 0100 0100  
 │  0001460: 0100 0100 0100 0100 0100 0200 0200 0100  
 │  0001470: 0100 0100 0100 0100  0200 0100 0200  
 │  0001480: 0200 0200 0100 0100 0100 0200 0200 0200  
 │  0001490: 0200 0200 0200 0200 0200 0200 0100 0100  
 │  00014a0: 0200 0200 0200 0200 0100 0200 0200 0100  ...

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-06-18 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201906   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-

Comment (by dcf):

 Replying to [comment:19 gk]:
 > They are not but it seems we are close. Just `libgojni.so` differs for
 me with what seems to be mostly different tmp directories being used
 during build:

 These are reminiscent of the mismatches in comment:4:ticket:22831. There,
 we dealt with it by running a sed command to clobber random paths of the
 form /tmp/go-buildX and /tmp/go-link-X. In this case, it
 looks like /tmp/gomobile-work-X is needed as well.

 Not sure about the other one either, though. It doesn't look like a
 timestamp.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-06-14 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201906   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-

Comment (by gk):

 It seems the same issues are affecting the `x86` build.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-06-14 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201906   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-

Comment (by gk):

 FWIW, it seems this one gets built in `gomobile`'s `bind_andriodapp.go` in
 {{{
 err := goBuild(
 "gobind",
 env,
 "-buildmode=c-shared",
 "-o="+filepath.Join(androidDir,
 "src/main/jniLibs/"+toolchain.abi+"/libgojni.so"),
 )
 }}}
 Oh, and the result in the previous comment is for the `armv7` target.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-06-14 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_revision
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201906   |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-
Changes (by gk):

 * keywords:
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201906R
 =>
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201906
 * status:  needs_review => needs_revision


Comment:

 Replying to [comment:18 boklm]:
 > There is a patch for review in branch `bug_28672_v6`:
 > https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_28672_v6&id=c18a7c37c9a439205da55830cbecc0c4a89429ec
 >
 > I did not check yet that the build is reproducible.

 They are not but it seems we are close. Just `libgojni.so` differs for me
 with what seems to be mostly different tmp directories being used during
 build:
 {{{
 --- /dev/fd/63  2019-06-14 18:21:34.285763344 +0200
 +++ /dev/fd/62  2019-06-14 18:21:34.285763344 +0200
 @@ -20,12 +20,12 @@
  0130: 0400  52e5 7464 f089 0d00 f099 0d00  R.td
  0140: f099 0d00 1066 0a00 1066 0a00 0600   .f...f..
  0150: 0800  0400  5300  0400   S...
 -0160: 476f  7043 6a4a 6c57 3058 4d41 5478  Go..pCjJlW0XMATx
 -0170: 5970 6c6f 3775 3452 2f44 6844 5253 6a69  Yplo7u4R/DhDRSji
 -0180: 6434 6435 525f 6b79 6d34 715a 462f 2d74  d4d5R_kym4qZF/-t
 -0190: 4275 6253 4632 2d6a 344a 714c 3052 6448  BubSF2-j4JqL0RdH
 -01a0: 6568 2f69 7a52 4435 5f67 3931 775f 4564  eh/izRD5_g91w_Ed
 -01b0: 6d6b 497a 5075 3700      mkIzPu7.
 +0160: 476f  786a 5532 4a43 634c 694f 3272  Go..xjU2JCcLiO2r
 +0170: 6b33 5172 4356 586e 2f5f 4d2d 384a 7a59  k3QrCVXn/_M-8JzY
 +0180: 3536 4178 354d 6d53 5f5a 784f 612f 5858  56Ax5MmS_ZxOa/XX
 +0190: 7337 314b 6d44 5672 4f33 796e 3973 3532  s71KmDVrO3yn9s52
 +01a0: 5076 2f49 4f4c 5378 6b67 6d6e 395f 4665  Pv/IOLSxkgmn9_Fe
 +01b0: 722d 7033 2d45 6f00      r-p3-Eo.
  01c0:     0100     
  01d0:   1200  4300     C...
  01e0:   1200  5000  48d9 0b00  P...H...
 @@ -133,7 +133,7 @@
  0840:   1000 f1ff 005f 5f63 7861 5f66  .__cxa_f
  0850: 696e 616c 697a 6500 4c49 4243 006c 6962  inalize.LIBC.lib
  0860: 632e 736f 002f 746d 702f 676f 2d62 7569  c.so./tmp/go-bui
 -0870: 6c64 3235 3637 3734 3035 332f 6230 3031  ld256774053/b001
 +0870: 6c64 3739 3430 3230 3539 332f 6230 3031  ld794020593/b001
  0880: 2f65 7865 2f61 2e6f 7574 005f 5f63 7861  /exe/a.out.__cxa
  0890: 5f61 7465 7869 7400 5f63 676f 5f38 3938  _atexit._cgo_898
  08a0: 6432 6164 3234 6165 315f 4366 756e 635f  d2ad24ae1_Cfunc_
 @@ -330,7 +330,7 @@
  1490: 0200 0200 0200 0200 0200 0200 0100 0100  
  14a0: 0200 0200 0200 0200 0100 0200 0200 0100  
  14b0: 0100  0100 0100 0100  0100 0100  
 -14c0: 0100 0100 045e 8d0d 1400     .^..
 +14c0: 0100 0100 f4b7 cd09 1400     
  14d0: 1d00    0100 0100 1500   
  14e0: 1000    630d 0500  0200  c...
  14f0: 1000    f099 0d00 1700   
 @@ -97548,14 +97548,14 @@
  0017d0b0: b259 0600 8559 0600 5b59 0600 2c59 0600  .Y...Y..[Y..,Y..
  0017d0c0: e158 0600 9058 0600 6058 0600 2858 0600  .X...X..`X..(X..
  0017d0d0: f457 0600 2f74 6d70 2f67 6f6d 6f62 696c  .W../tmp/gomobil
 -0017d0e0: 652d 776f 726b 2d36 3238 3136 3038   e-work-628160833
 +0017d0e0: 652d 776f 726b 2d32 3034 3030 3234 3432  e-work-204002442
  0017d0f0: 2f73 7263 2f67 6f62 696e 642f 676f 5f6d  /src/gobind/go_m
  0017d100: 6169 6e2e 676f  2f74 6d70 2f67 6f6d  ain.go../tmp/gom
 -0017d110: 6f62 696c 652d 776f 726b 2d36 3238 3136  obile-work-62816
 -0017d120: 3038  2f73 7263 2f67 6f62 696e 642f  0833/src/gobind/
 +0017d110: 6f62 696c 652d 776f 726b 2d32 3034 3030  obile-work-20400
 +0017d120: 3234 3432 2f73 7263

Re: [tor-bugs] #28672 [Circumvention/Snowflake]: Android reproducible build of Snowflake

2019-06-14 Thread Tor Bug Tracker & Wiki
#28672: Android reproducible build of Snowflake
-+-
 Reporter:  dcf  |  Owner:  (none)
 Type:  project  | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tbb-mobile, tbb-rbm, |  Actual Points:
  GeorgKoppen201904, ex-sponsor-19,  |
  TorBrowserTeam201906R  |
Parent ID:  #30318   | Points:
 Reviewer:   |Sponsor:
 |  Sponsor28-can
-+-
Changes (by boklm):

 * keywords:
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201906
 =>
 tbb-mobile, tbb-rbm, GeorgKoppen201904, ex-sponsor-19,
 TorBrowserTeam201906R
 * status:  new => needs_review


Comment:

 There is a patch for review in branch `bug_28672_v6`:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_28672_v6&id=c18a7c37c9a439205da55830cbecc0c4a89429ec

 I did not check yet that the build is reproducible.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs