-
aeonsolution[m]
strcat: is there anything I can try testing out in the development branch to help out with? i checked the issues and didn't see anything new?
-
aeonsolution[m]
* strcat: is there anything I can try testing out in the development branch to help out with? i checked the Github issues page and didn't see anything new.
-
aeonsolution[m]
should I just try syncing again with the changes and troubleshooting from there?
-
renlord
wow, my ovh vps just went kaput
-
renlord
for a good 6 hours
-
renlord
no outage notice, nothing
-
aeonsolution[m]
thats horrible
-
aeonsolution[m]
sorry #
-
aeonsolution[m]
* sorry renlord
-
JTL
renlord: Which location?
-
renlord
SGP
-
JTL
That's a more recent location
-
JTL
and knowing how OVH works, that doesn't surprise me
-
JTL
I seem to recall hearing of similar issues when OVH's Quebec location was newer
-
renlord
cant even do a soft reboot in the panel
-
renlord
and there's this banner sayting my vps is being upgraded when i didnt even ask for an upgrade
-
renlord
and they didnt even announce maintenance or anything
-
renlord
ffs
-
strcat[m]
aeonsolution: it's thoroughly broken
-
strcat[m]
and yes I need help
-
strcat[m]
always do
-
Caleb
lots of people
-
Caleb
nice
-
renlord
how do i get a arch user cloak?
-
Caleb
ask the right people
-
Caleb
not sure they give them out anymore though but i could be wrong
-
aeonsolution[m]
strcat: got it, I'm "Extracting vendor files for Pixel devices" step
-
renlord
aeonsolution[m]: there's like 74 pending issues
-
aeonsolution[m]
Sorry, I wasn't being clear renlord. I understood the message as something broke when the changes were pulled into android-prepare-vendor
-
aeonsolution[m]
so i looked for new issues on the os-issue tracker or android-prepare-vendor repos and didn't see any
-
strcat[m]
no
-
strcat[m]
something broke in general
-
strcat[m]
the cause is not known
-
strcat[m]
there are already problems even if something hadn't broke recently
-
strcat[m]
I said I would be rolling back recent changes since the past release
-
aeonsolution[m]
noted, thank you for clarifying
-
strcat[m]
if there were other people working on the project someone would have noticed the dev branch wasn't working for a while
-
aeonsolution[m]
i was able to build 10 for the pixel 3a over the weekend, I can't build it now
-
strcat[m]
it still builds fine
-
strcat[m]
and maybe you built it but did you TEST it?
-
aeonsolution[m]
i didn't do the CTS tests, I started trying to rebuild the dev branch today
-
strcat
did you flash it and use it including connecting to a network?
-
strcat
aeonsolution[m]: it still builds fine
-
aeonsolution[m]
i did flash it, but i didn't connect to a network
-
strcat
there hasn't been any issue like that - just means you're doing something wrong building it
-
strcat
instructions are the same, code is the same
-
strcat
if it doesn't build now it's you doing something wrong
-
strcat
if there's an error, there's an error message
-
renlord
TheJollyRoger: ping
-
strcat
valldrac: I think your VPN lockdown change is broken when there isn't a VPN
-
» TheJollyRoger zooms in.
-
aeonsolution[m]
let me restart then; it doesn't error out, this just doesn't work now: `mv vendor/android-prepare-vendor/sargo/QQ2A.200501.001.B2/vendor/google_devices/* vendor/google_devices/`
-
strcat
I don't know what you mean by doesn't work
-
TheJollyRoger
renlord: ahoy! Sorry about that. I've been away from the PC a lot today >_<. What can I do for you...?
-
strcat
if there's an error there's an error message
-
TheJollyRoger
I haven't had much luck with Protobuf yet unfortunately, still fighting with my computer.
-
aeonsolution[m]
mv: cannot stat 'vendor/android-prepare-vendor/sargo/QQ2A.200501.001.B2/vendor/google_devices/*': No such file or directory
-
strcat
ok so you did something wrong there's no directory there
-
TheJollyRoger
(cue that gif of Chris Benoit jumping off the top of the cage to try to headbutt Kurt Angle and instead crashing onto his face)
-
strcat
the build instructions work and they're the same as before
-
strcat
you're just doing something wrong now - do what it says and it'll work
-
aeonsolution[m]
kk
-
strcat
you shouldn't need to run android-prepare-vendor again if you already had the vendor files for the build id but it WILL WORK if you do it right
-
TheJollyRoger
Got it. I'm just missing some dependencies, it seems. Think Python's being picky about google.protobuf and I'm not sure where that's hitting an error so I'm going to try it on a different OS.
-
JTL
TheJollyRoger: I should be working on a public "container" setup or something for building GrapheneOS within the next 10,000 days
-
» TheJollyRoger starts playing 10,000 days on full volume!
-
JTL
:D
-
TheJollyRoger
^_^
-
strcat
it's not really that many dependencies
-
TheJollyRoger
Right now I'm thinking if I can build it in a KVM virtual machine, what if I posted the QEMU image somewhere?
-
strcat
if people can't get it to build I don't expect them to be able to help
-
strcat
building it is the easy part
-
TheJollyRoger
Sorry. I'm trying, I'm trying >_<.
-
renlord
is the protobuf issue related to removing python2 as a dependency?
-
aeonsolution[m]
TheJollyRoger: did you switch to Manjaro
-
renlord
i can help look into that
-
TheJollyRoger
aeonsolution[m]: sorry, not yet. I've been out all day >_< and getting back to work on it now. I tried a few other combinations with Fedora but no success yet, so I'm going to move the VM image.
-
renlord
strcat: do we track aosp_alliance avp now as upstream?
-
strcat
renlord: yes
-
renlord
ok sweet
-
renlord
i guess the only missing bit is finding a FT maintainer for the pixel4 kernel?
-
renlord
for supporting pixel4?
-
strcat
more than the kernel
-
strcat
window of opportunity for Pixel 4 / 4 XL / 4a support is closing though
-
renlord
oh? but cdesai and danv now use sources available in the aosp tree now for things that already exist in the aosp tree though
-
strcat
can't add new devices so close to Android 11
-
strcat
renlord: not all things
-
strcat
just some
-
TheJollyRoger
renlord: I'm uh... I'm not sure what it is. I've got the error message here:
jollyrogers.ca/public/protobuf.txt . I later tried uninstalling `google`, `google-cloud`, and `protobuf` and then installing them system wide as root. I cleaned out the tmp directory and that fixed the out of space error.
-
strcat
you don't need anything called 'google' or 'google-cloud'
-
strcat
ImportError: No module named google.protobuf
-
renlord
the google namespace exists when you install protobuf
-
strcat
there's the error
-
strcat
you don't have protobuf for the python being used to run android-prepare-vendor
-
renlord
supposedly, but not since the latest debian package
-
strcat
TheJollyRoger: the main namespace of a python package != the package name
-
TheJollyRoger
OH. Oh wait so... so it's using the wrong interpreter, not finding protobuf, and then erroring out? Like using 3.7 when I have 3.8?
-
strcat
TheJollyRoger: and you have the wrong one that's why it doesn't work
-
strcat
TheJollyRoger: android-prepare-vendor uses python2
-
renlord
whoops, maybe i jumped ahead of myself
-
TheJollyRoger
I... oh. Th-th-that... that explains a lot...
-
renlord
i thought you're trying to remove python2
-
» TheJollyRoger smacks himself in the face.
-
renlord
py2 should just go away
-
strcat
it is
-
strcat
it's dead
-
strcat
projects using it need to move instead of using a dead project without security updates
-
JTL
Agreed
-
JTL
The writings been on the wall for a *long time*
-
renlord
there is python3-protobuf
-
strcat
AOSP has moved already just not retroactively for existing releases
-
strcat
renlord: yes the issue is android-prepare-vendor
-
strcat
not that
-
renlord
should probably look into avp to see if can just patch it
-
TheJollyRoger
So now all I gotta figure out is to find protobuf for python2 and install it... let's see..
-
strcat
just install a distro package for it
-
strcat
it's a common package
-
renlord
python2-protobuf
-
renlord
on ubuntu
-
strcat
there are not that many build dependencies
-
strcat
fewer than most small projects
-
renlord
fewer than a typical rust project lulz
-
» TheJollyRoger redfaces.
-
strcat
android-prepare-vendor itself has some prebuilts to make it easier
-
renlord
strcat: did you have an opinion about cargo when you were a rust contributor?
-
strcat
wasn't a fan of it or the people who made it
-
strcat
pretty hard-wired into the existence of it now
-
renlord
i thought so
-
TheJollyRoger
Hmm. Looks like we might have to rule out Fedora 32 for building until AOSP fully depreciates python2. Fortunately, for the one month I have left I think I can just spin up 30...
-
aeonsolution[m]
yeah
-
strcat
TheJollyRoger: this isn't a dependency of AOSP on python2
-
strcat
android-prepare-vendor isn't AOSP
-
TheJollyRoger
Oh.
-
aeonsolution[m]
i forgot to turn on my swap lol
-
aeonsolution[m]
nice
-
TheJollyRoger
XP Oops
-
TheJollyRoger
I'm just backing up the VM image and then switching it over to Manjaro.
-
aeonsolution[m]
nice, let me know if you need anything
-
TheJollyRoger
Thanks! I'll use your package list, hopefully I should be able to get everything set here. I think if this goes well I want to publish the VM image somewhere.
-
renlord
manjaro is really difficult to use
-
TheJollyRoger
Well, heh, looks like I'll be getting this headfirst XP.
-
BrokenCog
how so?
-
TheJollyRoger
BrokenCog: I've never used Arch or any sort of Arch-Like system before. Hopefully it shouldn't make too much difference in the end though.
-
BrokenCog
I was wondeirng why renlord said difficult to use ... I think you'll be fine.
-
TheJollyRoger
Whew.
-
renlord
its way harder than archlinux
-
renlord
and probably linux from scratch
-
renlord
i dont even know how to use it
-
» TheJollyRoger goes bug-eyed.
-
renlord
the community also consistently provides the wrong advice and insecure methods to solving problems
-
TheJollyRoger
Ok like... I had to read a little bit about LFS to understand the theory of what I was doing when I set up my system because we didn't have everything available at the time but like...
-
TheJollyRoger
that was like...
-
aeonsolution[m]
its arch with an installer? he's just using it as a vm not his main os
-
» TheJollyRoger gestures yanking out his own teeth.
-
TheJollyRoger
If it's gonna be harder than THAT aaaaaaa
-
renlord
archlinux is so easy, you can install without a fkin installer
-
JTL
Didn't they just tell people to roll back the clock when a certificate expired?
-
JTL
</snark>
-
renlord
i dont even know how to use the debian/ubuntu installer
-
aeonsolution[m]
do you have a script you can share?
-
JTL
renlord: I still remember the time I installed Gentoo on an old Pentium M laptop about 10 years ago
-
JTL
Forgot to compile in the IDE driver
-
renlord
aeonsolution[m]: what script, its just arch-chroot, pacman -S base done.
-
renlord
lol
-
TheJollyRoger
...oh good gravy
-
renlord
recovery is so easy with archlinux also
-
aeonsolution[m]
is arch-chroot a package?
-
aeonsolution[m]
let me check this out
-
TheJollyRoger
OK whew. As long as I can get ssh into the VM then I'm fine.
-
TheJollyRoger
Should be able to take it from here.
-
renlord
should come with the bootable usb
-
renlord
but you can install it also
-
renlord
arch-install-tools or something
-
TheJollyRoger
I left the keymap as "US" so I don't want to bother using it much more than I can, typing in QWERTY feels like walking around with your pants on backwards...
-
renlord
when asking for help in manjaro, it always involves steps that require you to bend over backwards
-
TheJollyRoger
Oh good gravy.
-
renlord
and does not even solve the underlying issue at the first place
-
JTL
renlord: Sounds like your describing Debian/Ubuntu people
-
renlord
i remember someone telling me one scenario -- cert expiration, they ask you to rollback your OS clock
-
TheJollyRoger
sadtrombone.com
-
renlord
wtf
-
JTL
renlord: Yes that's right
-
JTL
(as in the event)
-
BrokenCog
does anyone happen to recognize this error:
-
BrokenCog
FAILED: ninja: 'external/vanadium/prebuilt/arm/TrichromeChrome.apk', needed by 'out/target/product/generic/obj/APPS/TrichromeChrome_intermediates/package.apk', missing and no known rule to make it
-
renlord
BrokenCog: the prebuilt should be included
-
BrokenCog
via repo sync?
-
BrokenCog
when "m target-files-package
-
BrokenCog
starts I get this message:
-
BrokenCog
external/vanadium/Android.mk was modified, regenerating...
-
BrokenCog
and then that error at the very end.
-
renlord
i think so
-
renlord
-
renlord
yes
-
renlord
they are included
-
aeonsolution[m]
renlord: how long does it take you to setup arch linux from scratch?
-
BrokenCog
strange that repo sync didn't pick it up.
-
renlord
a working copy?
-
renlord
probably 5 mins?
-
renlord
then clone my dotfiles, pacman -Syu pkglist.txt done
-
renlord
probably all up and running by 30 mins
-
aeonsolution[m]
you know all the steps to partition from memory like that?
-
TheJollyRoger
Heh, "Arch Linux From Scratch" XP.
-
TheJollyRoger
I struggle to set up a Stage 2 :P.
-
TheJollyRoger
Er, Stage 3.
-
strcat[m]
btw nytimes is officially dropping third party advertising / tracking... since they are moving to first party advertising / tracking and explicitly selling the user data they gather, lol
-
BrokenCog
you don't get ads if you have a subscription.
-
TheJollyRoger
Ha, well I guess that makes sense...
-
TheJollyRoger
>_<.
-
TheJollyRoger
I'm just imagining trying to reproduce Arch using LFS and I'm like "oooooh baby, that's for folks braver than I :P"
-
JTL
strcat[m]: heh I saw that
-
strcat[m]
BrokenCog: which just makes it even easier for them to track you
-
strcat[m]
not seeing ads != not being tracked
-
strcat[m]
especially since the nytimes does first party data collection / profile building and then sells your data (so they are worse than facebook)
-
BrokenCog
it's a different type of tracking, true.
-
strcat[m]
not a different type of tracking
-
strcat[m]
it's more thorough and integrated
-
strcat[m]
sure
-
BrokenCog
the type of data valuable for resale is predicated on the data being useful for marketing/profit. If ad's aren't being placed, then the commercial benefit of tracking a person falls to zero. as long as we like free services (aka: services paid by ad revenue) then we'll have our marketing relevant data tracked and sold.
-
BrokenCog
this is part and parcel of a Consumerist based economy, but it crosses over into security, privacy, politics, etc.
-
strcat[m]
the data is definitely valuable without ads and blocking the ads doesn't mean they don't record and sell it
-
renlord
aeonsolution[m]: disk partitioning?
-
strcat[m]
not sure how you can claim that the commercial benefit of tracking people is zero without advertising
-
aeonsolution[m]
<renlord "aeonsolution: disk partitioning?"> yeah
-
renlord
ya, just use fdisk?
-
renlord
then mkfs.(type) partition?
-
aeonsolution[m]
i know the steps, im just want to point out that it may not be realistic to tell people to do that
-
BrokenCog
renlord: the apk is present: ./grapheneos-10/external/vanadium/prebuilt/arm64/TrichromeChrome.apk
-
aeonsolution[m]
its an unnecessary barrier to development for some
-
renlord
BrokenCog: did you set to the correct device?
-
renlord
an arm64 device?
-
renlord
in choosecombo
-
BrokenCog
so, choosecombo: TARGET_ARCH=arm but sync only pulled the 64bits. okay, that explains the missing file. need to figure out what happened with sync.
-
BrokenCog
thanks.
-
renlord
we dont ship arm prebuilts
-
renlord
sorry
-
renlord
only arm64
-
renlord
arm64 and x86_64
-
renlord
if you want 32bits, you have to build your own
-
renlord
then copy into that directory
-
BrokenCog
wouldn't expect them. what was the last Pixel 32bit?
-
renlord
did pixel gen 1 use armv7?
-
BrokenCog
don't know. never messed with pixel until this one.
-
BrokenCog
3a
-
renlord
3a supports 64bit, why do you even bother with arm?
-
renlord
just use arm64
-
renlord
choosecombo release aosp_sargo user
-
renlord
close your shell and start again
-
renlord
$ source script/envsetup.sh
-
renlord
$ choosecombo release aosp_sargo user
-
BrokenCog
I wasn't choosing arm. tha'ts what I need to figure out. How did choosecombo get something different.
-
BrokenCog
ahhh.. mistype. Not figure out what happened with sync. what happened with choosecombo.
-
strcat[m]
there was never a 32-bit Pixel
-
BrokenCog
well, there you go.
-
strcat[m]
Nexus 5X and 6P were 64-bit, as was the Nexus 9 from a year before those
-
strcat[m]
Nexus 6 was the last 32-bit Nexus phone
-
strcat[m]
GrapheneOS never supported the Nexus 6 officially
-
strcat[m]
so the Nexus 5 was the last 32-bit device for it
-
strcat[m]
which was also the initial device
-
strcat[m]
BrokenCog: why are you building for 32-bit arm is the real question
-
strcat[m]
we have arm64 and x86_64 prebuilts for Vanadium
-
strcat[m]
you can build it for 32-bit but there just isn't a good reason to do it
-
BrokenCog
I never claimed to be making 32bit nor asking for.
-
BrokenCog
choosecombo claimed it. not me.
-
strcat
Authentication-Results: mail.grapheneos.org; dmarc=fail (p=none dis=none) header.from=gmail.com
-
strcat
renlord: opendmarc passes through mails that fail
-
TheJollyRoger
It might take some time for rsync to copy everything back to the VM... really glad I don't have to completely set the whole thing back up again from scratch.
-
strcat
even though it's set to reject
-
strcat
wtf
-
strcat
I don't really recommend using a VM just more things that can go wrong
-
strcat
build with a normal setup first
-
strcat
install / build docs list officially supported distros where it's known to work properly
-
strcat
and the instructions are pretty painless, I regularly test them
-
renlord
yeah, opendmarc doesnt work very well
-
renlord
even opendkim exemptdomains dont work well
-
renlord
i exempted the linuxfoundation mailing lists but its still rejecting them
-
strcat
renlord: remember it's for FROM addresses
-
strcat
it's not for mail servers
-
strcat
it doesn't exempt their server
-
strcat
so you'd need to whitelist every address of people using broken mailing lists
-
renlord
the FROM address is the mailing list address
-
strcat
it's really up to them to NOT use broken mailing lists forging emails if they do
-
strcat
renlord: and they don't do dkim properly?
-
renlord
from *@lists.linuxfoundation.org
-
renlord
i suppose not
-
renlord
lol
-
renlord
i dont keep bounced emails
-
TheJollyRoger
strcat: okay :(. Got it >_<.
-
» TheJollyRoger goes to get another hard drive...
-
strcat
why can't you just build on whatever your normal OS is
-
BrokenCog
because if your host machine is involved with X number of projects, with conflicting library/versions/firmware/configuration overlaps, it becomes impossible.
-
strcat
there are hardly any build dependencies on the host
-
TheJollyRoger
Crap. Well, I'll go and try to find python2-protobuf for this thing.
-
BrokenCog
hardly. but a few.
-
TheJollyRoger
THat's the only thing that this thing is choking on so far.
-
strcat
AOSP builds in a sandbox with namespaces and doesn't leak that much from the host
-
BrokenCog
TheJollyRoger: what distro?
-
TheJollyRoger
If not though, I've got one more 1TB SSD left, and I can just throw Debian Busted-- uh, sorry, I mean Debian Buster onto this thing.
-
TheJollyRoger
Gentoo. T_T
-
strcat
and you can build in your own container too
-
strcat
there is no good reason to make things so complicated
-
strcat
stop making things overcomplicated as step one
-
strcat
follow the instructions as written
-
TheJollyRoger
Okay!
-
strcat
there was a time when GrapheneOS releases were not available, just sources
-
strcat
and many people including many non-programmers built it successfully via instructions inferior to what's there now
-
strcat
the instructions are far better now and there are *far fewer* build dependencies
-
renlord
i just use a container now
-
renlord
so i dont need all the extra baggage on my host OS
-
renlord
not that its alot to begin with
-
strcat
just make a fresh arch container (pacstrap -c build base)
-
strcat
only setup I did is enabling/generating en_US.UTF-8 locale and making a grapheneos user
-
strcat
step one installed repo, python3, git to init/sync
-
strcat
there it goes
-
strcat
can literally copy-paste the 4 sync commands
-
strcat
I have fiber so it goes pretty fast
-
renlord
i just use the debian buster image
-
strcat
renlord: I just install arch-install-scripts and use pacstrap -c dir base
-
strcat
renlord: it uses your existing package cache and mirrorlist
-
strcat
renlord: then, systemd-nspawn -D dir, do the setup as root
-
strcat
then switch to the non-root user
-
renlord
but your host package cache shouldnt have the build dependencies at the first place?
-
strcat
I mean it uses your host package cache for pacstrap
-
renlord
i see you use lxc directly
-
renlord
i still use docker
-
strcat
why does it matter if not everything is there
-
strcat
renlord: systemd-nspawn isn't lxc
-
strcat
could use something else but that works directly with an OS tree
-
strcat
nothing special
-
strcat
could also use debootstrap if you wanted debian but this is faster and I don't have to deal with debian
-
renlord
what's the size?
-
strcat
600M for base but you don't really need all of base
-
DannyWorkOrderPr
<renlord "i just use a container now"> Is your container's creation script anywhere?
-
strcat
don't need linux, etc.
-
renlord
DannyWorkOrderPr: no its in my local
-
strcat
pacstrap -c build-tree base python3 git gcc binutils bc diffutils freetype2 ttf-dejavu m4 rsync unzip zip signify
-
strcat
and install ncurses5-compat-libs
-
strcat
and the lib for android-prepare-vendor
-
strcat
it's pretty straightforward
-
DannyWorkOrderPr
<renlord "Danny@WorkOrderPro: no its in my"> What I mean is, would you be willing to share a script to make your Docker environment, a la DockerHub or whatever hotness is these days?
-
strcat
we could rebuild the renderscript clang to avoid the ncurses5 dep
-
strcat
you don't need some fancy environment
-
strcat
the build environment is not complicated
-
strcat
look at what I just posted
-
renlord
DannyWorkOrderPr: i can probably submit a PR for it, but its quite basic
-
TheJollyRoger
Okay!
-
renlord
but just use strcat's systemd-nspawn approac
-
strcat
either make an arch (pacstrap) or debian (debootstrap) container and systemd-nspawn
-
strcat
if you really want to build in a container
-
strcat
you need a dozen packages, that's it
-
strcat
if you want to build how I build use pacstrap
-
strcat
since people always want to do that for some reason even though the build requirements are really minimal
-
strcat
alright it finished syncing a while ago
-
strcat
building bonito kernel
-
renlord
til, there's a slub and slab allocator
-
DannyWorkOrderPr
<strcat "if you really want to build in a"> I'd really like to be able to script setting up the environment, one way or another (Docker popular for this) so I could switch to new hardware regularly with minimal friction
-
renlord
always thought they referred to different type of data structures
-
renlord
DannyWorkOrderPr: script/envsetup.sh does setup the environment
-
renlord
and choosecombo too
-
DannyWorkOrderPr
<renlord "Danny@WorkOrderPro: script/envse"> Dope, thanks. I need to take a closer look at the instructions. Only page I haven't read every single bit of, yet.
-
renlord
is openprivacy.ca a credible research group?
-
DannyWorkOrderPr
(on GrapheneOS.org)
-
JTL
renlord: Based in Western Canada
-
aeonsolution[m]
i figured out the issue, i didnt lower case the build id in the mv command
-
aeonsolution[m]
im building now
-
JTL
renlord: What exactly are you concerned with?
-
renlord
just curious
-
aeonsolution[m]
i want to say that the envsetup script, would lowercase the build_id before
-
strcat
no
-
strcat
it's android-prepare-vendor that lowercases it
-
strcat
for the output
-
strcat
but you can just autocomplete it anyway
-
aeonsolution[m]
right
-
aeonsolution[m]
thank you
-
-
mrxx_0[m]
Little wallpaper :)
-
mrxx_0[m]
(From Techlore video)
-
cyredanthem[m]
Techlore banned me I think. I didn't even say anything probably since I'm in the pro security gang
-
mrxx_0[m]
<cyredanthem[m] "Techlore banned me I think. I di"> Wut ? From his irc ? Because he has a telegram channel too
-
cyredanthem[m]
The matrix group
-
cyredanthem[m]
I dunno
-
blacklight447[m]
Update so far: if tried to reach out to purism two days ago regarding severe security issues with their librem.one service
-
JTL
blacklight447[m]: What now?
-
blacklight447[m]
So far, i have yet to get any response whatsoever
-
JTL
Can't say I'm too surprised since it seems Purism scared off the actually competent people from working for them
-
blacklight447[m]
<JTL "blacklight447: What now?"> Their email server fails minimum security requirements
-
JTL
Right
-
blacklight447[m]
They dont support dkim and dmarc, making it super easy to spoof
-
JTL
Unsurprising really
-
strcat
JTL: I noticed they don't have authenticated encryption for TLS (no DANE or even MTA-STS), DNSSEC, DKIM/DMARC, etc
-
JTL
That doesn't surprise me :|
-
strcat
they call crappy opt-in, optional GPG integration 'bleeding edge' encryption lol
-
blacklight447[m]
They don't have dnssec, dane or mta sts, making it damn easy to mitm and force them to send all mails via unencrypted smtp
-
strcat
GPG is a joke and they don't even do a good job of it
-
JTL
I've noticed
-
strcat
and it barely covers any emails in practice
-
blacklight447[m]
Their starttls policy has some weird choices
-
strcat
it has some outdated SSL3 protocol enabled
-
strcat
for TLS1.2
-
strcat
weird stuff
-
blacklight447[m]
Like who the hell uses/allows TLS_DH_ANON
-
JTL
Not me
-
strcat
blacklight447[m]: dunno never seen a setup like that
-
strcat
it's pretty weird
-
JTL
I guess thats what you get when you just slap Debian on a server and follow random guides from the internet? :P
-
mrxx_0[m]
strcat how did you start in security and android ?
-
strcat
bare minimum is MTA-STS + DKIM + DMARC quarantine + SPF + inbound DMARC enforcement
-
strcat
making it good requires more work including DANE - both inbound and outbound, and other things
-
blacklight447[m]
Lmao, the only thing they did correctly is configuring spf
-
strcat
and ofc keeping things properly is part of that baseline bare minimum
-
strcat
blacklight447[m]: SPF without DNSSEC is not correct
-
blacklight447[m]
But as they dont do dnssec, they can be completely subverted
-
strcat
and you have to put an SPF record for every A / AAAA / MX record
-
strcat
every subdomain needs an SPF record
-
strcat
it doesn't apply to subdomains
-
blacklight447[m]
Right
-
strcat
lets say you have bar.com with an SPF record at the top level
-
blacklight447[m]
Heh, didnt even notice that one
-
strcat
but you have a.bar.com, b.bar.com, c.b.bar.com
-
strcat
well, someone can send fake emails from all 3 of those bypassing SPF
-
strcat
since SPF only applies to top level
-
strcat
and without DMARC, SPF is basically useless anyway
-
strcat
it's not enforced in practice even with a hard fail policy
-
blacklight447[m]
I see
-
strcat
and if it's not a hard fail policy *and* no DMARC... it's even more useless
-
strcat
soft fail doesn't matter if you use DMARC since it's DMARC doing any enforcement
-
blacklight447[m]
But yeah, im just gonna try and reach out to them via some other channels
-
strcat
but I think it should be hard fail just so SPF alone provides basic protection - but it's annoying cause you have to add a record for each A / AAAA / MX record
-
strcat
every single subdomain needs an SPF record
-
blacklight447[m]
If i don't get any response, an article on privacytools is going up exposing their wrong doing
-
strcat
if you have CNAME record, that DELEGATES to where it points which is problematic
-
strcat
the place it points needs an SPF record
-
blacklight447[m]
They claim security, therefore atrracting folks with high security models to their service
-
strcat
blacklight447[m]: I mean as far as I'm concerned that's their overall approach to EVERYTHING
-
strcat
they are scammers imo
-
JTL
Good luck getting "random vendor" to proeprly setup SPF record for their CNAME
-
blacklight447[m]
But as they lack these minimum security requirements, they are truly endangering people
-
strcat
they never gave a shit about issues I reported to them
-
strcat
JTL: yeah best to not point CNAMES at anything to avoid delegating
-
blacklight447[m]
I wonder if they realise the magnitude and impact of their terrible decisions
-
strcat
JTL: so for example bing webmaster tools for some reason uses a CNAME record to verify
-
strcat
instead of a TXT record
-
strcat
it's dumb
-
JTL
strcat: Like I've mentioned, the actual competent people left or were fired over a year ago so I'd expeect nothing from them
-
strcat
instead of making _bing-webmaster-tools.site.com TXT record
-
JTL
strcat: that is so dumb
-
strcat
they have you make
-
strcat
adsgjsdalgjls9482yt894ygpwernjserjioghr23490.site.com CNAME pointing to verify.bing.com
-
strcat
makes NO SENSE
-
blacklight447[m]
<strcat "JTL: so for example bing webmast"> But... Then you completely fall outside of the spf standard right?
-
blacklight447[m]
As far as i know, it needs to be a txt
-
strcat
blacklight447[m]: this is not tied to email
-
strcat
just how they verify ownership of a domain for bing webmaster tools
-
strcat
blacklight447[m]: the issue is that if you have a CNAME pointing elsewhere
-
strcat
it *delegates* SPF to them
-
strcat
blacklight447[m]: so there will be a lookup of where it points
-
strcat
to see if they have a TXT record
-
strcat
for spf
-
strcat
blacklight447[m]: which bing does not have on that subdomain
-
blacklight447[m]
Aaah
-
strcat
blacklight447[m]: and even if it did I don't want to delegate trust to them like that
-
JTL
fair
-
strcat
blacklight447[m]: also by default with normal DMARC
-
strcat
blacklight447[m]: it uses relaxed SPF and DKIM enforcement
-
strcat
if you don't opt-in to strict
-
strcat
with strict they can only send mail as adsgjsdalgjls9482yt894ygpwernjserjioghr23490.site.com
-
strcat
blacklight447[m]: i.e. despite having DMARC bing can send email as you since you pointed a CNAME at them
-
strcat
but without STRICT policy for DMARC
-
strcat
they can also send email as site.com at least for SPF
-
strcat
;; ANSWER SECTION:
-
strcat
_dmarc.grapheneos.org. 3600 IN TXT "v=DMARC1; p=reject; adkim=s; aspf=s; pct=100; rua=
mailto:dmarc⊙go; ruf=
mailto:dmarc⊙go"
-
strcat
blacklight447[m]: adkim=s; aspf=s makes it strict
-
strcat
blacklight447[m]: anyways important to understand how *fucked* email is
-
strcat
blacklight447[m]: running an email server securely requires a fair bit of knowledge / setup
-
strcat
postfix is the best way
-
renlord
mail provider can almost never do strict enformcenent for dkim
-
renlord
their users will miss out on too many emails
-
renlord
for inbound especially.
-
blacklight447[m]
<strcat "blacklight447: running an email "> Fun fact, im a guy barely out of college, but im giving you a fair bet that if i were to run an email service, it would have been done way more properly then purism has done now
-
strcat
renlord: DMARC deals with that
-
strcat
if they say reject you should reject
-
strcat
renlord: opendmarc doesn't work properly tho
-
strcat
I need to figure that out
-
renlord
ya, but people say reject when they dont mean to
-
renlord
lol
-
blacklight447[m]
Its like they threw up a digital ocean droplet and bought the librem.one domain
-
renlord
broken dmarc policies everywhere
-
JTL
blacklight447[m]: pretty much
-
strcat
blacklight447[m]: and put some insecure mail server + put SPF record for top level domain
-
strcat
no inbound SPF/DKIM/DMARC enforcement
-
strcat
no DKIM/DMARC for their mails
-
renlord
and opendkim ignores dmarc no? if there's a invalidated dkim signature, it'll just reject
-
strcat
improper TLS setup
-
blacklight447[m]
And never dealt with any proper configuration, and called it a day
-
renlord
lol
-
strcat
no TLS authentication (no MTA-STS, no DANE)
-
strcat
no DNSSEC
-
strcat
I bet it has more issues than this
-
strcat
this is just the surface of it
-
blacklight447[m]
"We did it guys, we now have a secure email service"! (Just only pray and hope nobody actually tries to audit us)
-
renlord
secure email is tough to pull off, because your neighbour MTAs might not even co-operate with you
-
renlord
decentralized network yo
-
cyredanthem[m]
Email is stupid and should never be used
-
blacklight447[m]
Do you think they even update their server properly?
-
strcat
renlord: you don't need to enable reject for opendkim if DMARC is properly implemented
-
strcat
cause basically
-
cyredanthem[m]
I'm tempted to go Gmail I trust them most to not fuck up security
-
strcat
the DMARC implementation is supposed to reject if the policy is reject
-
blacklight447[m]
<renlord "secure email is tough to pull of"> Yeah, email is as secure as the weakest link in the chain
-
renlord
strcat: does your opendmarc work to expectation?
-
strcat
renlord: DMARC adds alignment checks + enforcement for SPF and DKIM
-
strcat
renlord: kinda
-
strcat
it fails when it should
-
strcat
passes when it should
-
strcat
but...
-
renlord
havent had a fail case so far
-
strcat
it does not reject emails it's like it ignores my configuration
-
renlord
for dmarc
-
strcat
renlord: if DKIM fails, DMARC will fail if there is a DMARC policy, etc.
-
strcat
same for SPF
-
strcat
renlord: btw DMARC needs *either* SPF or DKIM
-
strcat
I dunno if there's a way to make it force both
-
renlord
shouldnt it be both?
-
strcat
renlord: I think it requires that EITHER is valid
-
strcat
and aligned to the FROM address
-
blacklight447[m]
If one party fucks up, all is fucked up
-
blacklight447[m]
Question: if two mail servers sending email to eachother both have dane and starttls, and spf configured, would dkim still be of much use?
-
strcat
blacklight447[m]: well DMARC is mandatory
-
strcat
you need DMARC + SPF or DMARC + DKIM
-
blacklight447[m]
I mean if mail is sended over tls anyway, any alterations will turn to email into jibberish right?
-
strcat
blacklight447[m]: but someone else can send mail *as you*
-
strcat
blacklight447[m]: DANE and MTA-STS are enforced by the MTA sending mail
-
strcat
blacklight447[m]: the server never validates the client with TLS
-
blacklight447[m]
I see
-
cyredanthem[m]
Email is so very dumb
-
blacklight447[m]
Good point
-
strcat
there is no client cert
-
strcat
DANE / MTA-STS don't let the server receiving mail check client
-
strcat
the only check for the client is SPF / DKIM
-
strcat
and someone could fake a connection from you and bypass SPF
-
blacklight447[m]
I was only considering the "proving the email has been altered in transit" part of dkim here
-
strcat
email is FUCKED
-
strcat
blacklight447[m]: I've been thinking that it may make sense to only use DKIM + DMARC instead of SPF + DKIM + DMARC
-
blacklight447[m]
<cyredanthem[m] "Email is so very dumb"> What did you expact, its a protocal from the 80s
-
strcat
blacklight447[m]: but some places may enforce SPF but not DMARC
-
strcat
so...
-
strcat
that would be bad
-
blacklight447[m]
Its like trying to make sms secure, its almost impossible
-
strcat
blacklight447[m]: but afaik DMARC enforces having EITHER valid SPF or DKIM
-
strcat
and SPF is not very secure
-
cyredanthem[m]
School supplied email. Gmail for anything government based. Outlook for anything work related. Fuck off if you aren't one of them
-
blacklight447[m]
<strcat "blacklight447: but some places m"> So, basically, its just like with choosing to support dane or mta sts
-
blacklight447[m]
Dkim with dmarc is fine
-
blacklight447[m]
But as some folks may not support dkim, we better support spf as well
-
renlord
ok i changed it around again
-
renlord
i'll let dmarc do the rejecting
-
strcat
blacklight447[m]: DANE / MTA-STS is authenticated encryption - avoids leaking message or tampering with it along the way
-
blacklight447[m]
Similarly, dane is better, but some folks only do mta sts, so we may better support that as well
-
renlord
the testing flag does not even work properly in opendkim
-
renlord
it just behaves like reject
-
strcat
blacklight447[m]: DKIM is authentication for the message but without a way to mandate it so someone could send a non-DKIM signed message which would at best be a spam signal for a spam filter
-
strcat
AT BEST
-
strcat
blacklight447[m]: SPF in hard fail validates it APPEARS to come from a certain IP address
-
blacklight447[m]
<renlord "it just behaves like reject"> Its a but buggy in my experience as well
-
strcat
but that's not secure vs MITM
-
strcat
DMARC enforces that either SPF or DKIM matches the domain and is valid
-
strcat
I want a way to force both but I don't think that is supported
-
blacklight447[m]
Makes you wonder why though
-
renlord
strcat: if you want both, you can always tell dkim to reject bad signatures
-
blacklight447[m]
Seems like such a straight forward thing to support
-
strcat
renlord: DKIM is not mandatory
-
renlord
sure, then emails without dkim will fallback to spf checks only using dmarc
-
strcat
renlord: I have SPF enforcement (rejects hard fail, tempfails failure to get policy, etc.)
-
renlord
note: only rejecting bad dkim signatures
-
strcat
and DKIM enforcement
-
strcat
and DMARC enforcement
-
blacklight447[m]
Then again, even if you find a way to set your dmarc policy to require both, you need other MTA s recieving it to actually listen to it
-
strcat
but DKIM is not mandatory - there isn't a record saying 'must be dkim signed'
-
strcat
and DMARC allows either SPF or DKIM - doesn't force both
-
strcat
so I am concerned that someone able to MITM can send spoofed mails with 'valid' SPF
-
strcat
hmm
-
renlord
strcat: do you mean you only want to receive dkim-signed emails?
-
strcat
renlord: no I want to prevent people sending spoofed mails
-
strcat
via MITM
-
strcat
renlord: if they can pretend the message came from the IP of mail.grapheneos.org it will pass SPF
-
strcat
renlord: and they can just not DKIM sign it
-
strcat
and afaik that will pass DMARC
-
blacklight447[m]
<strcat "but DKIM is not mandatory - ther"> So your dkim record cannot state that its mandatory, do i understand that right?
-
strcat
blacklight447[m]: yes because there is not really "a DKIM record"
-
renlord
how do you do that? dont you need to do the HELO/OLEH Challenge response with a SMTP server?
-
strcat
blacklight447[m]: the signed emails refer to a record
-
strcat
blacklight447[m]: if they aren't signed, there is nothing to refer to
-
renlord
then when they do the PTR checks and what not, the ip spoofer will fail
-
blacklight447[m]
Ah, right, forgot about that
-
strcat
renlord: is that TLS authenticated via MTA-STS / DANE?
-
strcat
I guess so
-
blacklight447[m]
Wonder why they implemented it that way
-
renlord
yes, if they talk with smtps
-
strcat
yeah that makes sense
-
renlord
if not, helo/oleh into starttls
-
renlord
still interactive
-
blacklight447[m]
Why didnt they just implement it that if the mta recieves an email, it just checks that @domain s dns records for dkim or spf
-
strcat
blacklight447[m]: b/c people have super complex email setups
-
blacklight447[m]
Doesnt that make more sense then relying on what headers are in the email to see what to look up?
-
strcat
blacklight447[m]: basically with SPF enforcement -> receive email -> check subdomain for SPF policy -> enforce if hard fail (or maybe mark it if soft fail)
-
strcat
blacklight447[m]: DKIM is an OPTION to sign emails
-
strcat
blacklight447[m]: if the email is signed
-
renlord
blacklight447[m]: i can strip your headers along the way
-
strcat
it refers to where to get the key
-
renlord
lol
-
blacklight447[m]
Great, just what we need, more complexity...
-
strcat
blacklight447[m]: it's possible to have multiple DKIM signatures
-
strcat
or relays might replace / remove it
-
strcat
as they change the email and so on
-
blacklight447[m]
When learning about these email security measures, i was so hopefull
-
strcat
it's complicated
-
strcat
blacklight447[m]: but yeah need DANE / MTA-STS + SPF + DKIM + DMARC to prevent spoofing I guess
-
blacklight447[m]
But my hopes are getting lower by the day
-
strcat
having just SPF + DKIM + DMARC does not prevent spoofing by a MITM attacker
-
strcat
need DANE / MTA-STS too
-
renlord
strcat: i havent been getting mta-sts reports
-
strcat
and then you need all of this for the other way around
-
renlord
does that mean people are not using it to contact me using smpts?
-
strcat
renlord: send yourself an email from gmail
-
strcat
renlord: only google sends them
-
renlord
i receive many mail from gmail.com
-
renlord
but i dont get any reports
-
strcat
renlord: you should get mta-sts reports if you set up tls reporting then
-
renlord
i do have tls reporting!
-
strcat
I get reports
-
strcat
renlord: double check that you can receive that that address
-
strcat
-
strcat
that your policy works
-
renlord
ya i passed 100% all these tests
-
strcat
put grapheneos.org there
-
strcat
Policy: v=TLSRPTv1; rua=
mailto:tls-rpt⊙go
-
strcat
I get mails there
-
blacklight447[m]
Fun how, even if we configure everything right, if you were to send an email to librem.one, moest of your efforts go into the trash :D
-
strcat
blacklight447[m]: yep no authenticated TLS
-
strcat
blacklight447[m]: but also
-
renlord
-
strcat
blacklight447[m]: if people spoof @grapheneos.org they can send mail there and they won't reject it
-
renlord
dont get any :(
-
strcat
root@mail:/home/tls-rpt# ls Maildir/new/
-
strcat
1589624383.V801I40b92M915367.mail 1589710599.V801I40febM508375.mail 1589796300.V801I400d2M864633.mail 1589884659.V801I400ddM819529.mail
-
strcat
1589624588.V801I40b94M115647.mail 1589710602.V801I40fedM971138.mail 1589884022.V801I400dcM451188.mail
-
strcat
I don't have mutt set up to check tls-rpt@ and dmarc@
-
strcat
I split them into separate users
-
blacklight447[m]
Btw, i though smtps was just used to start a secure connection to your mta from your mua, and then starttls is used to make a secure connection for smtp to send the email to from your mta to another
-
renlord
i have virtual that routes them all to my main
-
strcat
security@ contact@ root@ postmaster@ etc. all go to daniel.micay@
-
strcat
renlord: well I have aliases for those
-
strcat
I just use /etc/aliases lol
-
blacklight447[m]
Is this not how this works?
-
strcat
I don't have virtual mails and I just use maildir
-
strcat
another option is just letting dovecot store mails itself
-
strcat
by using deliver to dovecot and using the dovecot db
-
strcat
probably more efficient than maildir but I like not being tied to dovecot
-
renlord
virtual storing using maildir format
-
renlord
dovecot is quite complicated
-
strcat
renlord: where does virtual store stuff
-
renlord
vmail
-
strcat
where is that?
-
renlord
/home/vmail on disk?
-
strcat
ah
-
strcat
I guess I could set up virtual but meh
-
renlord
so yeah, maildir format
-
strcat
renlord: well I alias everything to daniel.micay@ and that's a user
-
strcat
so it mostly goes into /home/daniel.micay
-
renlord
then i used imap sync to push my current folder layout into my mail host
-
renlord
so the setup now is very compatible with my old mail provider
-
strcat
root: daniel.micay
-
strcat
contact: root
-
strcat
caa: root
-
strcat
renlord: at the top of /etc/aliases
-
strcat
and I run 'newaliases' to update /etc/aliases.db
-
strcat
renlord: and it already has the standard ones like abuse, noc, security, postmaster, hostmaster, webmaster, www
-
renlord
dont like to use aliases since i need to create users for each
-
renlord
virtual is easier
-
strcat
renlord: you don't need users for each
-
strcat
aliases work without users
-
renlord
my mail host also supports 2 different domains
-
renlord
so virtual actually fits better for me
-
strcat
renlord: /etc/aliases is a mapping from address@ (on every host) -> username
-
blacklight447[m]
Lmao see this dude
-
blacklight447[m]
I called him out on his purism librem recommendation, naming their lack of microcode updates a security risk
-
renlord
if you do a look up on me my MX provider is actually katmail.xyz lol
-
strcat
so since I have contact@ there, it maps contact⊙aa, contact⊙go, contact⊙sa, contact⊙mgo -> daniel.micay user
-
-
blacklight447[m]
Apperently his "proffesional opinion" is that because microcode updates are a responsive measure, they dont matter
-
renlord
the nightmare ovh this morning made me consider setting up a 2nd fallback mail hos
-
renlord
fkin hell, all of the sudden cant even boot into rescue/soft reboot the vps
-
renlord
out for a good 6 hours
-
strcat
blacklight447[m]: microcode updates fix various vulnerabilities
-
strcat
not just spectre issues
-
strcat
not having microcode code == bunch of serious vulnerabilities unpatched
-
strcat
and the microcode is there either way
-
blacklight447[m]
Then why install any security updates at all, those are responsive as well, the argument doesn't add up at all
-
renlord
unless librem plan to design their own SoC, i dont think their marketing is honest at all
-
cyredanthem[m]
Blacklight please fix ptio it's broken
-
strcat
lets say there WAS a microcode backdoor - a microcode might be able to fix it if it doesn't stop updating microcode
-
strcat
renlord: their laptops don't have open source schematics, boards, etc.
-
strcat
it's not just the components that are closed source
-
strcat
CPU, GPU, Wi-Fi, motherboard, etc. all closed source
-
strcat
not just that
-
blacklight447[m]
<cyredanthem[m] "Blacklight please fix ptio it's "> Im gonna need a few more details, lol
-
strcat
even the case itself, etc. are closed source
-
strcat
there is nothing open about it
-
renlord
lol
-
renlord
the least they can do is let me 3d print the fkin case
-
renlord
on thingverse or someshit
-
strcat
96boards boards are at least open source boards
-
strcat
not components ON the boards
-
strcat
and btw that's enough for something to quality as 'open hardware' per that stupid org
-
strcat
it's dumb
-
blacklight447[m]
<renlord "unless librem plan to design the"> Fun fact, they could have chosen to go with RISC-v and design their own soc, its a free isa and is designed to be easily scaled down to small devices
-
renlord
the kirin960 SoC is not open source is it?
-
strcat
it's not open
-
strcat
no ARM SoC is open
-
cyredanthem[m]
> > <@cyredanthem:synapse.travnewmatic.com> Blacklight please fix ptio it's broken
-
cyredanthem[m]
> Im gonna need a few more details, lol
-
cyredanthem[m]
Bromite should be at the top of mobile. Lineage should have a warning due to misleading practices. Chromium should be recommended with a few privacy tweaks. Safari should be recommended. Replicant should be removed
-
blacklight447[m]
Yet they went the easy way choose an arm platform from nxp
-
renlord
well yeah exactly
-
strcat
blacklight447[m]: a super low quality / insecure one compared to status quo
-
cyredanthem[m]
Lineage should be worth mentioning not recommended
-
blacklight447[m]
<cyredanthem[m] "Lineage should be worth mentioni"> Ive tried bringing that up to the team but couldn't convince them to remove it
-
cyredanthem[m]
CalyxOS should be recommended due to Pixel 4 support being on the way which gives it a use case where it can be usable when GrapheneOS is not
-
cyredanthem[m]
Gotcha well thanks for trying
-
strcat
cyredanthem[m]: 'on the way' is the same status as GrapheneOS support for it
-
renlord
calyx, rattlesnake and graphene are all tracking the work in aosp_alliance
-
strcat
and the intention is that people purchase a device for GrapheneOS anyway
-
cyredanthem[m]
I don't think a group that actively lies about security patches should be on a privacy website at all
-
blacklight447[m]
Im firdt gonna try and add a warninf label
-
cyredanthem[m]
That's a start
-
cyredanthem[m]
Glad to hear it
-
cyredanthem[m]
Any chance of a Chromium based option on desktop? blacklight447
-
cyredanthem[m]
> cyredanthem: 'on the way' is the same status as GrapheneOS support for it
-
cyredanthem[m]
I thought they were going to try to get it out this week?
-
strcat
blacklight447[m]: also disabling multi-threading is not good enough lol
-
strcat
clueless person
-
strcat
how do they expect to disabling multi-threading
-
strcat
i.e. run an OS with 1 thread?
-
strcat
makes no sense
-
cyredanthem[m]
I purchased one for GrapheneOS no regrets
-
strcat
they are going to use a cooperatively scheduled OS in a single process in 2020?
-
cyredanthem[m]
> calyx, rattlesnake and graphene are all tracking the work in aosp_alliance
-
cyredanthem[m]
What's that?
-
strcat
I think they mean disabling multicore/HT but that is not at all good enough
-
renlord
do a tlb/cache flush every context switch
-
renlord
lol
-
blacklight447[m]
<strcat "clueless person"> You d be surprised how many folks see them selves as security experts these days
-
strcat
bunch of ignorant / dishonest people everywhere, yeah
-
strcat
on tons of topics
-
strcat
not just this
-
blacklight447[m]
Im at the ptio team, ive studied security and networking and are working with it daily, yet i don't even consider myself an expert yet
-
strcat
internet is just making people more ignorant / clueless
-
strcat
access to more information does not make people more informed cause they just pick and choose information aligning with their bias / beliefs
-
strcat
and make themselves more and more clueless
-
renlord
there are people out there who think that if they can read an abstract of a security paper and understand what is being written, they qualify as a security expert
-
strcat
pretty much destroying our fragile societies lol
-
blacklight447[m]
There is just so much shit out there
-
blacklight447[m]
Im surprised the internet even works as it does currently
-
strcat
apparently the internet will be what kills human civilization through misinformation
-
cyredanthem[m]
I'm a pentester and a cyber security grad who has read every Reddit post strcat has ever made and I don't consider myself more than a novice. My knowledge is shallow
-
cyredanthem[m]
I can't imagine what an expert sees
-
cyredanthem[m]
I can't stand Reddit
-
blacklight447[m]
<strcat "access to more information does "> You can thank search engines for that, giving people "relevent" results
-
blacklight447[m]
I would consider myself a novice as well
-
cyredanthem[m]
Is Firefox secure? Germany says it's the most secure! Done. Is Ubuntu secure? UK says it's the most secure! Done.
-
cyredanthem[m]
Now I'm officially a dumbass
-
cyredanthem[m]
Thanks Google
-
cyredanthem[m]
> I would consider myself a novice as well
-
cyredanthem[m]
I used to work on Lineage. *now that's scary*
-
blacklight447[m]
Purism is the most secure as they "designed their systems, chip by chip, to respect your privacy and security"
-
cyredanthem[m]
Firefox is private since we ship ads, have telemetry you can't turn off, we have useless privacy features, and we have terrible security
-
blacklight447[m]
Well, one point for firefix: i can configure it to not save anything
-
strcat
blacklight447[m]: don't understand how purism gets away with so much blatant lying
-
strcat
constantly lying
-
strcat
people WANT to be lied to, I think
-
strcat
purism's laptops are LESS open source than a chromebook lol
-
strcat
and vastly less secure
-
cyredanthem[m]
> Well, one point for firefix: i can configure it to not save anything
-
cyredanthem[m]
Brave, Edge, or make your profile read only
-
blacklight447[m]
<strcat "blacklight447: don't understand "> Because most folks do not know anything about security
-
blacklight447[m]
Thats the point
-
blacklight447[m]
They cash in on people who are unable to verify their claims
-
cyredanthem[m]
> purism's laptops are LESS open source than a chromebook lol
-
cyredanthem[m]
I just can't get over the forced Google account
-
cyredanthem[m]
I cant even make one when I tried to use a ChromiumOS rom
-
cyredanthem[m]
I rather use Linux
-
cyredanthem[m]
Desktop*
-
-
strcat
cyredanthem[m]: I'm talking about Chromebooks as hardware
-
strcat
you aren't forced to use ChromeOS on them
-
cyredanthem[m]
Bromite has always on incognito
-
cyredanthem[m]
> cyredanthem: I'm talking about Chromebooks as hardware
-
cyredanthem[m]
My bad sorry
-
cyredanthem[m]
That's a good point
-
cyredanthem[m]
An Intel is safer than an arm one right? I see a bunch of random companies making the ARM chips and I have no idea how trustworthy they are compared to Intel which at least is pretty good about patching
-
cyredanthem[m]
Purely Chromebook hardware I mean
-
cyredanthem[m]
I see ARM Chromebooks recommended and I feel like I wouldn't risk it unless it was Qualcomm
-
strcat
yandex is the worst search engine btw
-
strcat
my webmaster account with them expired and it seems like that wiped all knowledge it had of the site
-
strcat
good stuff
-
TheJollyRoger
Oh good effing gravy.
-
cn3m[m]
<cyredanthem[m] "An Intel is safer than an arm on"> that's a very good question. Hard to access how well a hardware maker audits and patches when they are small
-
TheJollyRoger
blacklight447[m]: "firefix" XD.
-
TheJollyRoger
That's glorious.
-
TheJollyRoger
I love it.
-
TheJollyRoger
I'm going to use that along with "Fireflops"
-
TheJollyRoger
"Firefix!"
-
cn3m[m]
Fireflops I do like they
-
cn3m[m]
that*
-
TheJollyRoger
Hehehehe
-
blacklight447[m]
<TheJollyRoger "blacklight447: "firefix" XD."> Finally someone caught it
-
cn3m[m]
I miss Firefox
-
blacklight447[m]
They can Fix the dumpster Fire of a browser: firefix
-
blacklight447[m]
<cn3m[m] "I miss Firefox"> Same
-
blacklight447[m]
Improves though
-
blacklight447[m]
If they fix their sandboxing on all platforms, and implement tab isolation, it will already be a lot better
-
blacklight447[m]
Sadly they are still stuck in 2012, browser security wise
-
cn3m[m]
they are stuck older than that
-
TheJollyRoger
Ahahaha X3.
-
cn3m[m]
They have so much work to do though. over a thousand win32k lockdown rules to add. They need to rework the x server and tighten seccomp rules. They need to get anything remotely like a sandbox on Android
-
cn3m[m]
then they need to add security hardening for anti exploit
-
cn3m[m]
they probably are a good 10 years off from catching up at this pace
-
cn3m[m]
Microsoft is right Firefox should be based on Chromium. They could stick to research
-
blacklight447[m]
The thing is though, do we want a single web render engine
-
blacklight447[m]
If gecko dies, then all thats really left is safari
-
cn3m[m]
gecko is 4% and is slow and broken
-
cn3m[m]
it's effectively dead
-
blacklight447[m]
Something being small doesnt mean insignificant
-
blacklight447[m]
4% on global scale is stilll tens of millions of people
-
renlord
i thought they gave up on firefox
-
renlord
and they are focusing their efforts on servo?
-
renlord
-
blacklight447[m]
Iirc, servo is their expirement where they can build a new engine in rust
-
blacklight447[m]
Then once something from it works, the plug it into gecko
-
hapssmak[m]
strcat: No, people don't want to be lied to. But for most non security experts, it's really hard where to search for information. If I search around the internet for a few hours how to increase my privacy and security, I end up with Linux, Firefox, an iPhone and Purism.
-
yekip[m]
Bitwarden for graphene - they only offer Google Play which I don't use. Can't find an APK on their site. Is it safe to download from APKPure?
-
yekip[m]
* Bitwarden for graphene - they only offer Google Play which I don't use. Can't find an APK on their site. Is it safe to download from APKPure? (can't find on fdroid either which I found a bit strange)
-
dallemon[m]
yekip: bitwarden has their own fdroid compatible repo
-
yekip[m]
sorry, not sure what that means.
-
yekip[m]
where do i go to download bitwarden android app on graphene?
-
dallemon[m]
-
dallemon[m]
-
yekip[m]
thanks. never really understood github either but i see it says "get it on fdroid". weird that it didn't come up in search on fdroid app
-
dallemon[m]
yekip: do you have fdroid or auroradroid installed?
-
yekip[m]
i have fdroid installed
-
dallemon[m]
Because it's not in fdroids own repository of apps
-
yekip[m]
ok i guess i dont really understand what this repository stuff means, or is.
-
yekip[m]
i see that last link thanks
-
dallemon[m]
Bitwarden has their own repository that you need to add to fdroid
-
yekip[m]
qr codes. never used those either
-
yekip[m]
can i do that via fdroid app? do i have to turn camera on or something?
-
yekip[m]
<dallemon[m] "Bitwarden has their own reposito"> so thats like a sub-area of fdroid owned by bitwarden/
-
yekip[m]
> <@dallemon:matrix.org> Bitwarden has their own repository that you need to add to fdroid
-
yekip[m]
* so thats like a sub-area of fdroid owned by bitwarden?
-
yekip[m]
i can see in FDroid settings, i can add a repo using url and fingerprint. not sure how to do QR. will have to open this page on phone (not on phone here) to copy paste the info. should get it working i think, thanks
-
yekip[m]
really must install riot on graphene, that's next!
-
yekip[m]
installing. thanks dallemon
-
yekip[m]
(it says my bitwarden repo in fdroid is "unverified". i inserted the fingerprint)
-
dallemon[m]
Sync repos. Maybe force close fdroid and open again
-
yekip[m]
trying that. thanks
-
user48
what is this place? I'm looking for help installing GrapheneOS
-
yekip[m]
you're in the right place
-
yekip[m]
see top: "Official IRC / Matrix channel for GrapheneOS"
-
yekip[m]
have you seen the help info put on github? i don't have the link but may be able to find it if you haven't seen it
-
yekip[m]
installation help/script by JollyRoger in here
-
yekip[m]
(named Peter Easton on github, iirc)
-
user48
what github page?
-
user48
-
yekip[m]
thats the ticket
-
user48
I'm looking for help running the flash.bat file (it gives errors each time), where could that be?
-
renlord
speak of the devil, google sent me my MTA STS report
-
renlord
lol
-
nscnt
user48: First thing: I hope you follow
grapheneos.org/install
-
nscnt
user48: If you provide us some more information, we could give you better support for your issue.
-
renlord
-
renlord
This PIN Can Be Easily Guessed: Analyzing the Security of Smartphone Unlock PINs
-
blacklight447[m]
<yekip[m] "Bitwarden for graphene - they on"> I believe they also distribute it via github
-
blacklight447[m]
Anyway, you can also download it from the playstore with the aurora app
-
user48
oh, figured it out, booted and set it up, now i just gotta figure out how android works (never used it before)
-
blacklight447[m]
The first thing you want to do is probbaly install fdroid
-
blacklight447[m]
Its an appstore with only foss apps
-
nscnt
user48: That's good to hear. Here are a lot of members willing to help if you have questions.
-
blacklight447[m]
What apps do you usually use?
-
blacklight447[m]
(Do you use stuff like spotify or signal?)
-
mxnorvak[m]
Is ungoogled chromium a good option for desktop browsing?
-
user48
how does the default browser work?
-
nscnt
user48: What exactly? You can use it just like any other browser. If you want more information about it, you could take a look at
grapheneos.org/usage#web-browsing
-
user48
yeah that was a dumb question, what should I use for music, I currently use iTunes (not apple music) since I'd never needed to move away, I've wanted to find an alternative that syncs with various platforms
-
user48
how much should I research each app before I install it (through f-droid)? Would the OS warn me if it tried to do anything that could compromise security?
-
nscnt
user48: I'm not familiar with iTunes. There are of course music players, but I don't have a recommendation as I'm using Spotify myself. If you want to sync files, I recommend Syncthing. It syncs files directly from device to device.
-
user48
yeah I was planning on doing that (syncthing)
-
nscnt
user48: Pay attention whether the app your planning to get through F-Droid is maintained and not "Updated 2 years ago" or something. Keep your apps up to date. It's just common sense. If an app doesn't really need permission X, deny it.
-
nscnt
*you're planning
-
fll[m]
mxnorvak: what would "ungoogled chromium" be?
-
fll[m]
You mean ungoogled chrome = chromium?
-
nscnt
user48: But no, the OS doesn't warn you if it could do something that would compromise security.
-
nscnt
user48: GrapheneOS provides Auditor, though. It checks your device integrity.
attestation.app/about
-
user48
hmm, for example the app 'Noice: Ad-free indefinite background noises' in permissions requests 'view network connections', could that compromise security and would there be a way to prevent in having those permissions and hope it works anyway?
-
cx2[m]
Ive made a few Grapheneos handsets, about to make another strictly for CTS. Has anyone been successful with the instructions at grapheneos.org/install on Fedora 32? Going to give it a shot as it’s my distro of choice...just wanted to get any insight from guys that have done in this environment perform
-
user48
but the Auditor app is on the play store lol
-
fll[m]
cx2: yea, successfully installed graphene with fedora but with downloaded fastboot, not the one from repos. Only adding to $PATH needed, no udev rules necessary
-
cx2[m]
Ok.... did you rm android-tools? It’s I’m getting version 20180828*
-
user48
recommendations for which android keepass variant is the best?
-
nscnt
user48: Auditor is shipped with a GrapheneOS install.
-
user48
ahhh...
-
cx2[m]
user48: keepassdx is pretty great and probably has the most active development
-
nscnt
user48: You're able to deny the Network permission on GrapheneOS, but if the app needs an internet connection to work, it won't run.
-
fll[m]
Hmmm...can't remember if I did rm. Might ve been that adding to $PATH just made it use the downloaded version
-
fll[m]
Adding requires a relog though iirc
-
user48
nscnt: thx
-
fll[m]
Also: if I removed I probably did dnf remove instead of RM ;)
-
cx2[m]
<fll[m] "Hmmm...can't remember if I did r"> Got it. I’ll see what happens. I remember some time back Linux (don’t remember the distro) was complaining about the repo version
-
cx2[m]
<fll[m] "Also: if I removed I probably di"> Haha... got me! I am switching back from a machine running SIlverblue (no dnf), and macOS
-
cx2[m]
Well that’s not true.... dnf if inside of a toolbox
-
cx2[m]
But you get the idea
-
fll[m]
:D
-
mxnorvak[m]
-
mxnorvak[m]
This
-
user48
what's the best practices for playing around with android themes?
-
fll[m]
mxnorvak: ah thx. Didn't know that was a thing. I'll check that out later
-
mxnorvak[m]
Yeah its great that its degoogled and it's based on chromium but idk if the developer applied the necessary patches and security updates that the regular chrome browser gets
-
mxnorvak[m]
Was wondering if anyone knows about it or has used it
-
user48
can you connect usbs to pixels?
-
user48
i saw on a website that it works if the storage type is fat32 which seems weird...
-
yekip[m]
<blacklight447[m] "Anyway, you can also download it"> thanks BL. heard of aurora but not tried it yet.
-
yekip[m]
<user48 "yeah that was a dumb question, w"> have you heard of quod libret? not sure if they have a version for android but i am about to find out as I am looking for a non apple player for mac OS. I use Vinyl player on graphene. also SimpleCamera, Open Camera, and Simple Gallery is nice. Transistor - I use for internet radio, lovely simple app turns phone into radio which works in standy nicely.Signal, Omni Notes,
-
yekip[m]
DuckDuckGo browser, Scrambled Exif. Thats about all the apps I have right now, in case any are useful to look at. All are good for privacy (according to my own research, always do your own though!)
-
fll[m]
If you're looking for NTFS support, that might have prohibitive licensing. At least most Linux distros don't offer it via their main repos...
-
yekip[m]
<user48 "can you connect usbs to pixels?"> afaik you can, but I haven't tried yet myself. I could be wrong, but I think someone told me you can. I think JollyRoger said you can take a backup to USB Stick that way. I _think_
-
fll[m]
A very quick (unthorough) search suggests that NTFS is not available on Android. Would require root + installation of support. I guess besides fat32 ext4 should work too?
-
brenneke[m]
Can anyone please suggest a good office suite app that works with GrapheneOS? Still struggling with finding something suitable, was using WPS but seems it is unhappy when too many permissions restricted.
-
yekip[m]
I would have to suggest a desktop computer :D
-
yekip[m]
sorry! email on my phone is modern enough for me, can't imagine trying to write a spreadsheet!
-
yekip[m]
* sorry! email on my phone is modern enough for me, can't imagine trying to write a spreadsheet with my thumbs!
-
yekip[m]
* sorry! email on my phone is modern enough for me, can't imagine trying to write a spreadsheet with my thumbs!
-
yekip[m]
i wanted to give Eddie (AirVPN) a go on graphene.
airvpn.org/android - Their app is pretty good I think (security wise). Is there any advantage to choosing app over openVPN, or vice versa?
-
brenneke[m]
<yekip[m] " * sorry! email on my phone is m"> Agree but nice to at least have an app that will read and edit a docx for example when away from desktop.
-
bseeinu[m]
Mullvad much more stable than Eddie
-
bseeinu[m]
On graphene
-
yekip[m]
Thanks, I don't want Mullvad, PIA was excellent in t erms of app performance, widget too and way faster connections. I got Eddie installed and it's horrible. Constant alerts. No idea what encryption algorithm to use either. But worst of all, speed test gives me 0.5mbps. Not sure what's wrong, could be bad signal although I ws getting 5-10mbps without VPN turned on. And Air servers are very fast usually. weird. i may dump
-
yekip[m]
it and go back to PIA
-
bseeinu[m]
:) OK, curious why no mullvad
-
yekip[m]
mainly price. i am very confident in it's performance and privacy etc. just price really
-
yekip[m]
i already have 3 subs to VPNs, dont need another one especially at a fiver a month. times are hard ya know :D
-
yekip[m]
big respect for mullvad all the same
-
lvkm[m]
user48: you can connect an usb stick with the otg adapter (one comes in the box). exfat is also supported if you need it for files bigger than 4gb.
-
lvkm[m]
if you want some cunstomisation get xscreensaver from fdroid for some tweakable live wallpapers. uses surprisingly little battery.
-
lvkm[m]
* user48: you can plug in a usb stick with the otg adapter (one comes in the box). exfat is also supported if you need it for files bigger than 4gb.
-
lvkm[m]
if you want some cunstomisation get xscreensaver from fdroid for some tweakable live wallpapers. uses surprisingly little battery.
-
lvkm[m]
* user48: you can plug in a usb stick with the otg adapter (one comes in the box). exfat is also supported if you need it for files bigger than 4gb.
-
lvkm[m]
if you want some customization get xscreensaver from fdroid for some tweakable live wallpapers. uses surprisingly little battery.
-
yekip[m]
I notice PIA (and others) have a builit in kill switch. I always use that, but is there any point as I see Graphene settings offer the options in there, always on and block traffic outside VPN. I have both turned on, so shall i bother with the VPN app's own kill switch or is that 'over kill'. tee hee
-
yekip[m]
Does anyone have a view on allowing BitWarden to have access to autofill password fields?
-
flabbergasted
It's a matter of trust. Do you trust Bitwarden? I do.
-
bseeinu[m]
I do have it on too
-
dazinism
-
dazinism
bseeinu: Collabora office is the only functional on device office suite I've found. Its a split apk so had to mess about a bit to install
-
dazinism
Possibly Aurora store handles split apks now?
-
dazinism
Using nextcloud via web browser with only office used to work on mobile, but they recently broke it!
-
dazinism
-
dazinism
cryptopad.fr stuff kinda works ok on device.
-
dazinism
*on mobile devices
-
dazinism
I've never tried any commercial/proprietary office suites on mobile
-
dazinism
Actually scratch commercial, blatantly all the things I just mentioned are....
-
cx2[m]
fll: did you have permissions problems on fedora? I can see the handset, but “no permissions”
-
dazinism
cx2: have you set up the path?
-
fll[m]
cx2: hmm...can't remember tbh. You did try sudo I guess?
-
cx2[m]
Yes
-
dazinism
adb? Given permission on device?
-
cx2[m]
dazinism: path set for platform tools adb devices lists the hand self, with “no permissions”
-
cx2[m]
Nvm... FINALLY it decided to pop up on the handset
-
fll[m]
fastboot --version shows the new one now?
-
fll[m]
Ah ok
-
yekip[m]
<flabbergasted "It's a matter of trust. Do you t"> thanks
-
cx2[m]
So that was a lie...
-
cx2[m]
$PATH is correct... fastboot version is also correct. Still getting “no permissions”
-
DannyWorkOrderPr
<yekip[m] "ok i guess i dont really underst"> You should probably learn these! Sent you an invite to that room because there's a lot of questions being asked in there similar to yours (some of which are mildly OT for this room =] )
-
yekip[m]
<DannyWorkOrderPr "You should probably learn these!"> OT?
-
yekip[m]
Ah, I had a load of spam invites so i rejected all quickly but thought i saw a username i recognised! feel free to send again, in fact please do :)
-
DannyWorkOrderPr
yekip: Sent!
-
yekip[m]
thanks. will accept and jump in later, just off out here.
-
cx2[m]
fll: so it seems there are two versions of fastboot installed. Will sees my device just fine, but I believe it’s out of date. The other is definitely updated to 30.XX, with it in my $PATH it still says “no permission”
-
dazinism
I'd try and get rid of the old one
-
mxnorvak[m]
Why doesn't Google just announce pixel 4a, leaks used to be blurry pics, now it seem like every other day there is a whole new 10 min video showing a feature of pixel 4a in depth
-
dazinism
cx2: guess worth trying different leads / usb ports alsp
-
cx2[m]
dazinism: did that, current version still doesn’t have permission
-
cx2[m]
Platform-tools is living in /home/....$PATH is set.... still, no permissions
-
DannyWorkOrderPr
Here we fuckin go again, with the discrediting Graphene.
-
DannyWorkOrderPr
Feel free to state your experience and understanding of the GrapheneOS project and its lead dev here:
matrix.to/#/!GibBpYxFGNraRsZOyl:mat…axfaqrRVmzZD-mPgXXHsjk5LGopylkebtBU
-
strcat
DannyWorkOrderPr: in which channel
-
DannyWorkOrderPr
Techlore, mods no less.
-
cx2[m]
That’s because techlore is a bitch
-
strcat
DannyWorkOrderPr: what are they doing
-
DannyWorkOrderPr
Fuckin cocksuckers are insufferable.
-
strcat
I thought that community supported the project?
-
cx2[m]
He’s called up out a while back when the channel was trashing grapheneos, he said “I supportED the device, not the developer...blah blah crybaby shit”
-
strcat
I don't understand
-
DannyWorkOrderPr
He needs to reign in his mods before he loses mindshare in that room.
-
strcat
what exactly is happening? why are people attacking myself and the project there?
-
strcat
don't understand
-
strcat
never had any conflict with them afaik
-
cx2[m]
<strcat "I thought that community support"> Thought so too until techlore actual chimed in and was whining because apparently he asked you about the video he made re: GrapheneOS install / review. And he didn’t receive the response he wanted.
-
cx2[m]
Like I said, on the topic of GrapheneOS, techlore himself has whined about it. I’m sure he encourages his mods to do the same.
-
strcat
I don't understand
-
strcat
never did anything to them
-
strcat
James apparently contacted him
-
strcat
wonder if that has anything to do with it
-
-
cx2[m]
Techlore stated that he asked you if there was a certain way you wanted the video done, or anything that you wanted added. He said he didn’t receive a good response. Also stated that he believes that the project management is toxic
-
strcat
I didn't want people relying on a video that is frozen in time
-
strcat
and you see the results of people relying on some old fastboot version on Windows
-
strcat
I need to merge the changes to flash-all.bat but they weren't submitted as a pull request
-
strcat
so I lost track of that
-
strcat
maybe JTL knows?
-
strcat
I think it was JTL and someone else working on it?
-
strcat
can't remember
-
flabbergasted
@strcat This might be a stupid question, and completely unrelated to GOS, but when I plug in the charger, it takes a couple of seconds before it starts to charge, and then it vibrabes another time a little later indicating charging is in process. Is this related to GOS/hardware or AOSP? Pixel 3a XL
-
strcat
don't know
-
-
DannyWorkOrderPr
strcat: I don't use this term lightly. In fact, first time. But this is pure FUD.
-
DannyWorkOrderPr
strcat: the mods there are privacy > security.
-
DannyWorkOrderPr
strcat: I linked you to the discussion above. And will be posting more screenshots here.
-
cx2[m]
Well regarding a video, I dont’ disagree to a point. As long as it explicitly states that “this video is current as of today, this will likely not work with future releases, etc.”
-
cx2[m]
Where I take issue is just with him being annoying and whining
-
strcat
DannyWorkOrderPr: I'd guess James is involved in this
-
DannyWorkOrderPr
But they're already retracting messages due to being called onto the carpet.
-
flabbergasted
I left Techlore after 10 seconds after I joined it. It's a bunch of bull.
-
strcat
DannyWorkOrderPr: techlore said at one point James contacted him and this is what James likes to do
-
strcat
and it's such BS to say I don't accept help from others - I just didn't want to have that kind of installation video
-
-
strcat
and I have not had the time / energy to do interviews or things like that largely due to what James is doing
-
limitless0[m]
He removed the post i think
-
strcat
it's not at all true that I "don't accept help"
-
strcat
doesn't make any sense
-
strcat
why are these people spreading BS and attacking me
-
strcat
never did anything to them
-
flabbergasted
Should just remove the matrix channel and stick to irc. Since Techlore is pretty high up in suggestions in matrix in that category.
-
-
strcat
I just don't understand this
-
-
-
-
strcat
he told me at one point James contacted him and I think that explains a lot
-
strcat
you can see what happened with the Samourai Wallet community
-
strcat
and he has caused the same problems elsewhere
-
strcat
people are so easily manipulated
-
-
DannyWorkOrderPr
<strcat "never did anything to them"> It's not about you, Daniel. It usually never is. It's about control over a topic - how people should protect themselves in tech. And the "nice, privacy" crowd don't like when actual security enters the ring and boxes their ears.
-
DannyWorkOrderPr
Surely my messages will eventually go through, ( Matrix.org homeserver sucks today), but, strcat, It's not about you, Daniel. It usually never is. It's about control over a topic - how people should protect themselves in tech. And the "nice, privacy" crowd don't like when actual security enters the ring and boxes their ears.
-
DannyWorkOrderPr
<flabbergasted "Should just remove the matrix ch"> That's exactly why the Matrix channel *shouldn't* be removed!
-
strcat[m]
no plans to remove the Matrix channel
-
strcat[m]
but it is really slow
-
strcat[m]
and unreliable
-
joshman[m]
Do you guys know any advantages on using LTE Mode only?
-
strcat[m]
-
limitless0[m]
Is it better to use irc on mobile? I have never used irc before
-
limitless0[m]
For this channel
-
flabbergasted
Unless your carrier supports VoLTE you should not use LTE only.
-
joshman[m]
* Do you guys know any advantages on using LTE Mode only? Like maybe better battery life or maybe some security advantages?
-
DannyWorkOrderPr
<strcat[m] "and unreliable"> Matrix.org is unreliable. Wonder how bad the hit to the userbase would be if this room moved to another homeserver.
-
joshman[m]
<flabbergasted "Unless your carrier supports VoL"> My carrier does not support. Why shouldn't I use it?
-
flabbergasted
If you rely on regular calls and texts you shouldn't use it.
-
joshman[m]
Regular calls and texts are far in the 90s for me
-
flabbergasted
For you maybe, but not for the gen pop.
-
strcat[m]
Danny@WorkOrderPro: well does it have to move
-
strcat[m]
or could there just be a new room that would see the other matrix users via irc bridge?
-
strcat[m]
if there was another server bridged to it would the matrix users here just see them as irc users
-
strcat[m]
which seems fine
-
DannyWorkOrderPr
Yeah, I mean, if you just made a new room with a tchncs.de matrix account, it'd be on that homeserver, for example
-
strcat[m]
this bridge system is also annoying because I don't fully control this room, the irc service does
-
strcat[m]
really annoying
-
strcat[m]
and it kicks 'inactive' users
-
DannyWorkOrderPr
tchncs.de (for example)**
-
strcat[m]
which sucks
-
strcat[m]
Danny@WorkOrderPro: I don't understand why that techlore community is being nasty
-
strcat[m]
also GrapheneOS does a lot of work on privacy not just security enhancements
-
strcat[m]
the privacy also depends on the security
-
strcat[m]
so security enhancements reinforce privacy
-
strcat[m]
but we do a lot of work on privacy improvements
-
benpa[m]
FYI rooms are not tied to a particular homeserver
-
benpa[m]
this room is already "on" matrix.org and tchncs.de
-
strcat[m]
and have landed a lot of stuff upstream in that area
-
strcat[m]
benpa: but this one is tied to the irc service
-
benpa[m]
federation means that the content of this room is seen by both servers
-
strcat[m]
benpa: the irc service thing owns it not me
-
strcat[m]
and the main lag issue is with the irc service thing I think
-
strcat[m]
I also don't like how aggressively it kicks people
-
DannyWorkOrderPr
<strcat[m] "the privacy also depends on the "> We've told them 200 times. They're willfully ignorant.
-
strcat[m]
it kicked people that were pretty core community members and just inactive for a few months
-
strcat[m]
Danny@WorkOrderPro: do they understand we do a lot of work on privacy and work to fill in gaps from not having Play Services
-
DannyWorkOrderPr
benpa: So what's the fix, ask everyone to move their accounts to another Homeserver?
-
strcat[m]
Danny@WorkOrderPro: sandbox improvements restricting what apps can do, permission system improvements (features like Network and Sensors permissions), MAC randomization improvements, all kinds of other things
-
strcat[m]
tons of stuff we've landed upstream
-
benpa[m]
<DannyWorkOrderPr "benpa: So what's the fix, ask ev"> that's one benefit of Matrix - messages are shared (per room between servers)
-
benpa[m]
it sounds like the big problem you're having is that the Freenode bridge is laggy
-
strcat[m]
benpa: I think the main issue is the irc service thing since I don't actually own this room
-
strcat[m]
benpa: since matrix.org server has rooms for irc channels we used the existing room thinking it was the best approach to avoid people split across multiple rooms bridged to the same irc channel
-
DannyWorkOrderPr
benpa At this stage, the lack of performance of Matrix.org is a detriment to the mindshare of Matrix, as evidenced by this community.
-
DannyWorkOrderPr
<strcat[m] "Danny@WorkOrderPro: I don't unde"> strcat, It's not about you, Daniel. It usually never is. It's about control over a topic - how people should protect themselves in tech. And the "nice, privacy" crowd (Techlore mods, Mozilla, etc) don't like when actual security enters the ring and boxes their ears.
-
strcat[m]
I'm not sure it was the best approach since this way we're stuck with the irc service
-
benpa[m]
<DannyWorkOrderPr "benpa At this stage, the lack of"> we are aware of that
-
strcat[m]
can't replace it with another and it won't give me full control of this room
-
strcat[m]
even though I own the irc channel
-
strcat[m]
ideally I could get admin in this room
-
benpa[m]
ok, let's see if we can solve that wrt adminship
-
strcat[m]
I have founder access for the irc channel although I don't think freenode will actually give you an 'sop' status in the channel
-
strcat[m]
it just works via chanserv
-
strcat[m]
I think think &user exists on freenode or oftc
-
benpa[m]
I hadn't realised you were having these problems - just happened to look in here by chance...
-
strcat[m]
lol I'm always having problems with everything
-
strcat[m]
I am used to it
-
strcat[m]
not specific to matrix
-
DannyWorkOrderPr
<benpa[m] "I hadn't realised you were havin"> We'd really appreciate any insight you can give from the Matrix side, this community needs to continue to spread its wings!!
-
bseeinu[m]
No help with reboot, open camera, clearing caches etc
-
bseeinu[m]
Wth??
-
bseeinu[m]
Blueline
-
-
bseeinu[m]
Doesn't work in any app, rear camera
-
strcat[m]
bseeinu: try turning it off instead of a reboot
-
benpa[m]
<DannyWorkOrderPr "We'd really appreciate any insig"> basically bridging Matrix and Freenode is an ongoing, endless struggle
-
benpa[m]
-
benpa[m]
^ gives a little context
-
strcat[m]
benpa: so basically it'd be nice if there was some way to show the bot I own the channel and get owner privs
-
benpa[m]
yeah I'm working on that now
-
strcat[m]
the way it does privs is a little bit weird since if it ever sees you get +o it gives you persistent +o here
-
strcat[m]
mod, w/e
-
strcat[m]
so the way I gave myself privs is I did +o on my matrix username in the channel
-
strcat[m]
but I could register my matrix username and identify as it
-
strcat[m]
you can group nicknames on freenode so it'd have founder status
-
strcat[m]
so if the bot could check with NickServ that would probably be enough
-
strcat[m]
and maybe that's also a better way to handle giving mod status really
-
strcat[m]
NickServ/ChanServ
-
strcat[m]
vs just seeing who has +o atm
-
bseeinu[m]
<strcat[m] "bseeinu: try turning it off inst"> Same thing. Framerate drops to crazy low when opening any camera apps. Only 1 of 2 selfie cams works, only with open camera
-
strcat
it's normal that only 1 front camera is supported by most apps
-
madaidan[m]
<strcat[m] "Danny@WorkOrderPro: I don't unde"> The Techlore community has went seriously downhill. I'm even being personally slandered by them now.
-
strcat
bseeinu[m]: don't know why that's happening
-
strcat
madaidan[m]: yeah I just don't understand why this stuff happens
-
strcat
upsetting for me
-
bseeinu[m]
Open camera could switch between both front cameras
-
bseeinu[m]
Ugh dude
-
bseeinu[m]
No camera app can access it
-
strcat
on which device, Pixel 3?
-
bseeinu[m]
I'll just have no camera on a new pixel 3 for now I guess
-
bseeinu[m]
Whyyyy
-
cx2[m]
<cx2[m] "Ive made a few Grapheneos handse"> Guys, just rolling this forward to see if I can get an assist please
-
madaidan[m]
<strcat "madaidan.: yeah I just don't und"> The mods and members there are really incompetent
-
DannyWorkOrderPr
<strcat "upsetting for me"> Not my intention, just wanted to mobilize the community
-
DannyWorkOrderPr
<bseeinu[m] "No camera app can access it "> I've had the camera module cable come off the board and permanently cause this error.
-
madaidan[m]
I was countering bullshit there all the time until I was eventually banned for nothing
-
madaidan[m]
And I'm still being harassed by them
-
bseeinu[m]
<DannyWorkOrderPr "I've had the camera module cable"> Jesus, I bumped it lightly this morning
-
bseeinu[m]
Like 1/100th of what happened to my iPhone
-
DannyWorkOrderPr
Might have also just fucked the module itself, cable could be fine, haha
-
DannyWorkOrderPr
Had that happen, too
-
DannyWorkOrderPr
Camera sensors are finnicky
-
bseeinu[m]
Do I need to open the frigging phone
-
bseeinu[m]
For one small bump with case?
-
cx2[m]
Adb devices “no permission”
-
bseeinu[m]
Didn't realize pixel 3 could have this much industrial design garbage
-
DannyWorkOrderPr
<bseeinu[m] "Do I need to open the frigging p"> Do you want to ensure the camera will work? haha
-
bseeinu[m]
Have you ever fixed it? Danny@WorkOrderPro
-
DannyWorkOrderPr
Luckily, the one of mine I cared about started working again on its own, the one that was damaged by a crushing issue lol
-
DannyWorkOrderPr
Unofficial advice, knock it around again! 😂
-
bseeinu[m]
I hate this so much
-
-
strcat
it's different than problems other people have
-
strcat
so 99% chance it's a hardware issue
-
bseeinu[m]
Yeah so
-
strcat
you could factory reset to make it a 99.99% chance but you probably have data you don't want to lose
-
bseeinu[m]
Hear this
-
bseeinu[m]
I slabbed the phone on the table
-
bseeinu[m]
It works again
-
bseeinu[m]
This is some high level garbage QA and design
-
strcat
well I don't think they have any real QA issues
-
strcat
but some devices have issues like any other product
-
bseeinu[m]
Thanks for the butchering advice Danny@WorkOrderPro . apparently I need to slap my phone or be very gentle
-
strcat
don't think it's more than usual
-
bseeinu[m]
Then it's ID
-
bseeinu[m]
iphones since 2007
-
bseeinu[m]
Never has anything similar ever happened
-
bseeinu[m]
I guess I had exhausted my luck :)
-
DannyWorkOrderPr
<bseeinu[m] "Thanks for the butchering advice"> maybe it just has an attitude, mate 😂😂😂 Nah, you likely have a lose cable.
-
strcat
bseeinu[m]: maybe was shipped extremely roughly but I doubt that's the issue
-
strcat
since I wouldn't expect that to happen if nothing was wrong in the first place
-
bseeinu[m]
Thx for the help. Next releases I look forward Bluetooth audio and no dramatic SERIOUS CAMERA ERROR HELP HELP from open cam :)
-
strcat
next release fixes the upstream bluetooth audio bug
-
madaidan[m]
Danny@WorkOrderPro: btw I've heard the same mental health shit from another person. I wonder if they're linked.
-
strcat
it means they have been talking to James
-
strcat
-
DannyWorkOrderPr
<madaidan[m] "Danny@WorkOrderPro: btw I've hea"> madaidan. I wouldn't waste time looking for the conspiracy, albeit likely to be one - it's just as likely that people are parroting shit (I just called one of them Polly recently, lol). They tend to do that.
-
madaidan[m]
It was just a few days ago too
-
madaidan[m]
Something might've happened recently (*cough* James cough*)
-
madaidan[m]
<DannyWorkOrderPr "madaidan. I wouldn't waste time "> It was a different person in a different room that Valynor isn't in.
-
DannyWorkOrderPr
Oh, I've got you
-
strcat
madaidan[m]: James is actively attacking me across the board and reaching out to lots of people
-
strcat
so it's to be expected
-
strcat
this is what he does
-
strcat
need him to be stopped somehow
-
madaidan[m]
Is James active on matrix (that you know of)?
-
madaidan[m]
I've never seen him here
-
DannyWorkOrderPr
madaidan. You don't think he'd be here under his own name, do you?
-
madaidan[m]
<DannyWorkOrderPr "madaidan. You don't think he'd b"> He is on other platforms
-
DannyWorkOrderPr
On reddit? Or chatrooms?
-
blacklight447[m]
<madaidan[m] "Is James active on matrix (that "> Hes 100% lurking in this chat
-
-
DannyWorkOrderPr
IRC?
-
madaidan[m]
<blacklight447[m] "Hes 100% lurking in this chat"> He can just use the log bot or view.matrix.org. Doesn't need an account.
-
DannyWorkOrderPr
Anyway, not a good topic to persist here
-
blacklight447[m]
Both
-
madaidan[m]
<DannyWorkOrderPr "On reddit? Or chatrooms?"> A bunch of stuff. Reddit, Telegram, emails etc.
-
blacklight447[m]
The dude is a maniac
-
-
cx2[m]
Yes. “Older fastboot” in that I was able to list my device without issue.
-
cx2[m]
Installed platform tools with fastboot 30.XX and now I am getting “no permissions”
-
cx2[m]
I am also not being prompted by the handset to “trust this device” either.
-
fll[m]
Maybe wrong chmod on the the platform tools?
-
cx2[m]
Already `chmod -R 755 platform-tools1
-
cx2[m]
* Already `chmod -R 755 platform-tools`
-
cx2[m]
Again, worked fine with the older fastboot.... but i didnt’ want to continue with the older version since i figured it would cause issues down the road
-
strcat[m]
remove it
-
strcat[m]
start over
-
strcat[m]
don't chmod or change anything
-
strcat[m]
follow instructions to the letter
-
cx2[m]
Fastboot version prints correctly with the up-to-date version.
-
cx2[m]
This tells me that my $PATH is correct
-
cx2[m]
When querying the device `adb devices` it prints `xxxmydevice. no permissions;...`
-
strcat
did you remove it and start over
-
BrokenCog
cx2[m]: did you try invoking fastboot with sudo? It would point you in the correct direction to figure out the problem.
-
cx2[m]
Yes. I have started over a few times now.
-
cx2[m]
Of note, I am on fedora, with android-tools, I was able to successfully query the handset. But did not proceed further due to the instructions stating that it’s out of date and broken on Ubuntu and Debian (Fedora wasn’t covered, but given that the android-tools version was from 2018, I figured it applied here as well. ) Therefore I removed android-tools, and instead opted for platform-tools.
-
cx2[m]
But, as noted, adb in platform tools prints “no permissions”
-
BrokenCog
also, what is output of 'which fastboot'
-
cx2[m]
`~/platform-tools/fastboot`
-
BrokenCog
$ fastboot devices
-
BrokenCog
no permissions fastboot
-
BrokenCog
is that the error?
-
BrokenCog
and, did you try 'sudo fastboot' ?
-
cx2[m]
That’s the printout of “which fastboot”
-
BrokenCog
yes, I understood that. Is the message from "fastboot devices" looking like:
-
cx2[m]
Command not found when “sudo fastboot”
-
BrokenCog
no permissions fastboot
-
nickcalyx[m]
BrokenCog:
-
BrokenCog
cx2[m]: yeah, you need to 'sudo $(which fastboot)' ...
-
BrokenCog
because your PATh isn't in root's
-
cx2[m]
I think that’s definitely my issue, so the question would be how to correctly set my path. I copy and pasted from the documentation, which at least gets me into platform tools
-
BrokenCog
it's not a path issue. did you run the command as sudo? and what was hte result?
-
strcat
btw you shouldn't generally use the `which` command
-
cx2[m]
$(which fastboot) prints `fastboot: usage: no command`
-
BrokenCog
cx2[m]: yes, you need to put the options after it ... 'sudo $(which fastboot) devices' for intsance
-
BrokenCog
cx2[m]: yes, you need to put the options after it ... 'sudo $(which fastboot) -l devices' for intsance
-
BrokenCog
strcat: he needs which here because root doesn't have his user's ~/android-tools stored in roots $PATH. once he figures out the permissions issue, he won't need sudo, and thus won't need to use which.
-
strcat
yeah but you shouldn't use which
-
strcat
it's an obsolete / bad command
-
cx2[m]
Learning is occurring... haha
-
cx2[m]
Ok... does not print anything.
-
strcat
BrokenCog: which doesn't match how the shell looks up commands
-
BrokenCog
but the device is connected? and, developer options USB Debugging is enabled?
-
cx2[m]
Yes.
-
BrokenCog
strcat: it's close enough in this case.
-
BrokenCog
cx2[m]: does 'adb devices' show the device?
-
cx2[m]
`adb devices` proves this.
-
cx2[m]
The problem is, it also prints `mydevice No permissions;`
-
strcat
fastboot is not adb
-
strcat
the install instructions don't use adb
-
strcat
fastboot does not connect to a device booted into the OS
-
strcat
you're making things way more complicated than they need to be by doing stuff not in the instructions
-
BrokenCog
cx2[m]: is your device at the bootloader screen?
-
madaidan[m]
There's `type` instead of `which`
-
cx2[m]
Ok...swapped cables and ports.
-
cx2[m]
Sudo `$(which fastboot) -l devices` prints `myxxdevicexx. Fastboot usb:1-3`
-
BrokenCog
cx2[m]: and as non-root user?
-
cx2[m]
`no permissions`
-
cx2[m]
I’m sorry.... `fastboot devices` prints `no permissions`
-
cx2[m]
And yes I’m at the boot loader screen
-
cx2[m]
I don’t think i answered that before
-
BrokenCog
-
BrokenCog
cx2[m]: when you talked about fastboot, it was probably assumed.
-
strcat
cx2[m]: your distro is making things way more complicated than they need to be, just do it again from the start as root
-
BrokenCog
or fix udev permissions.
-
strcat
you don't gain anything not doing it as root when you are freely transitioning to root with sudo anyway
-
strcat
might as well just be doing it as root
-
strcat
no advantage to overcomplicating it
-
strcat
not security
-
cx2[m]
<BrokenCog "cx2: when you talked about fastb"> Ok, i just wanted to make sure I was answering you correctly
-
BrokenCog
if he fixes the udev permissions, he won't be doing it as root.
-
strcat
don't overcomplicate it
-
strcat
this could all be done in 5 minutes
-
strcat
instead of making it way harder than it has to be
-
strcat
the instructions don't use adb, only fastboot
-
strcat
if you're on a distribution that does not permit accessing usb devices as non-root just do it as root
-
strcat
start over again and do it as root
-
strcat
don't make things overcomplicated, this process takes 5 mins
-
strcat
-
cx2[m]
strcat: macOS was a breeze.... I am ok with the distro “making it difficult” Again. This device is purely going to be used purely for CTS. So if that means I can ALSO hang a note about “Fedora being difficult, and here’s the workaround” then I want to do that as well
-
BrokenCog
cx2[m]: try that udev perm's adjustment in the link, it should then work as a non-root user.
-
strcat
cx2[m]: the problem is udev doesn't include rules for lots of things by default
-
strcat
you aren't allowed to access random kinds of devices as non-root on a traditional linux distro
-
strcat
even though it doesn't make much sense
-
BrokenCog
that's the nature of udev/usb/world-full-of-manufacturers miking with various security intrepretations.
-
strcat
if you EVER run sudo from your user account
-
strcat
or enter your password ever
-
strcat
and have sudo enabled with unrestricted use
-
strcat
your account is equivalent to root
-
madaidan[m]
Yeah, someone can trivially intercept/keylog the password.
-
strcat
or make your commands do something else
-
strcat
when you enter them
-
strcat
if you use sudo to run things as root then your account is basically root
-
strcat
what's the distinction?
-
strcat
and I'm sure all the important data is in your user account
-
strcat
it is not a security model that makes any sense
-
cx2[m]
Ok. The goal here isn’t to ultimately add to my collection of devices. The goal is to troubleshoot, correctly, “installing GrapheneOS for Fedora users”
-
cx2[m]
Since it’s not in the documentation, I can hopefully add it to the unofficial
-
strcat
run
-
strcat
sudo -i
-
strcat
-
BrokenCog
did the udev perms work? you'll probably need to reboot for them to take affect.
-
cx2[m]
So what is the ROOT problem then? What I’m trying to get to the bottom of, is why Fastboot will not run on fedora without root
-
BrokenCog
restarting udev is fraught with Usually and Frequently leading to Doesn't.
-
strcat
cx2[m]: because linux distros don't let you access usb devices without root
-
BrokenCog
it doesn't need root, it needs udev to have non-root permissions to the USB device.
-
BrokenCog
read that link.
-
-
strcat
cx2[m]: they have special cases for certain kinds of things like usb flash drives
-
strcat
cx2[m]: they don't include a standard special case for things they don't know about
-
BrokenCog
Google's AOSP has a udev rule to add for their devices to solve this.
-
strcat
so if you plug in a serial debug cable or anything else
-
madaidan[m]
It's incredibly easy
-
strcat
it's totally useless
-
strcat
without root
-
flabbergasted
Yeah Leaseweb can't be compared to Novoserve in my experience.
-
flabbergasted
wrong channel
-
strcat
so just use root and don't bother setting up udev rules
-
strcat
far more likely you screw up stuff with udev rules
-
cx2[m]
strcat: but I can access it just fine with android-tools. It’s platform-tools that are causing issues
-
BrokenCog
LOL.
-
strcat
cx2[m]: don't know what you mean by that
-
strcat
what is 'android-tools'
-
strcat
guessing some messed up fedora package with nonsense like setuid / setgid binaries]
-
strcat
anyway just do it as root that's what your distribution needs
-
strcat
fussing around with udev rules is pointless
-
strcat
if you do stuff via sudo from your user account, it is basically the root account anyway
-
cx2[m]
<strcat "cx2: don't know what you mean by"> When downloading android-tools (which is old so I `dnf remove` it) it initially worked without root. Again, i realized it was old, and accoriding to the instructions, went with downloading platform-tools..... which is not working
-
strcat
just run `sudo -i` and do everything in that shell instead
-
strcat
cx2[m]: I don't know what android-tools is
-
strcat
cx2[m]: that's not an AOSP / Android thing
-
strcat
that's some non-standard fedora thing
-
strcat
cx2[m]: perhaps android-tools includes udev rules for fastboot with some devices
-
cx2[m]
What is android tools?? It’s in your documentation
-
cx2[m]
“Arch Linux: android-tools provides fastboot...”
-
strcat
cx2[m]: that's an arch linux package
-
strcat
a fedora package called android-tools is not the same thing
-
strcat
android-tools is an arch linux package made by the maintainer of the package
-
strcat
he wrote a new build system for fastboot, adb, etc. and packages it his way
-
strcat
includes a random assortment of tools he chose
-
strcat
that is arch linux specific
-
cx2[m]
well that’s where I made the mistake. Either way, I removed it.... even though fastboot was working just fine.
-
strcat
it is an arch linux project not an AOSP / Android project
-
strcat
the whole thing seems based on a misunderstanding of AOSP
-
strcat
by these distros
-
strcat
they don't understand the versioning system of platform-tools (fastboot, adb, etc.) somehow and invented their own
-
strcat
they don't understand how to sync the sources
-
strcat
they don't know how to use the build system
-
strcat
and they made their own downstream packages with their own versioning schemes, etc.
-
strcat
so for example
-
strcat
-
strcat
# Android has a huge and monolithic build system that does not allow to build
-
strcat
# components separately.
-
strcat
but you can run `m adb fastboot` to build just those...
-
strcat
and there are build targets for the SDK repository packages like platform-tools
-
strcat
so you can build platform-tools as a whole
-
strcat
and have a zip produced with the standard platform-tools
-
strcat
cx2[m]: anyway you don't have udev rules for this kind of device so you need to do stuff as root
-
strcat
cx2[m]: you're overcomplicating it by doing some stuff as non-root and some as root, etc.
-
strcat
cx2[m]: either obtain set up proper udev rules or use root
-
strcat
and listen to my warning that fussing around with udev rules is not actually accomplishing anything and is overcomplicating it
-
strcat
gives you another thing that could go wrong and you need to maintain that
-
strcat
get your distro to provide less bad packages
-
cx2[m]
So with `sudo -i` —-> `fastboot —version` prints `bash: fastboot: command not found...`
-
cx2[m]
Then `Install package ‘android-tools’ to provide command ‘fastboot’`
-
strcat
what arch linux does is still super messed up just far less than fedora, debian, etc. which all have differently fucked up stuff
-
strcat
-
strcat
sudo -i gives you a root shell
-
strcat
you are starting over as root
-
strcat
cx2[m]: you have a lot of different options but you're choosing to stay stuck overcomplicating things
-
strcat
self-inflicted issues
-
strcat
either do everything as root or do what is required to make it work as non-root
-
strcat
otherwise you will encounter the issues you have encountered mixing a non-root environment with a DIFFERENT root environment
-
strcat
you can't set up fastboot for one user and then run it in a different user's environment
-
strcat
linux distros overcomplicate this
-
strcat
it would be really easy to not use the CLI at all if they just had proper packages
-
strcat
could ship an unlock and lock script
-
strcat
double click unlock, double click flash-all, double click lock
-
strcat
but no they decide to make everything super fucked up / complicated
-
strcat
I could just tell people the only supported OSes are Windows, macOS and Arch Linux and explicitly check for and reject other distros until they fix their packages
-
cx2[m]
strcat: heres the deal... You’re original comment, was “follow the instructions to the letter”
-
cx2[m]
No where in those instructions does it say anything about `sudo -I` etc. In fact, following those instructions *does not* work on Fedora apparently.
-
cx2[m]
Things like “self-inflicted issues” are not useful. Especially when I have stated multiple times that I am creating this handset PURELY to help out however i can. If that means it’s only CTS then so be it. If that **ALSO** means I can help provide a workaround to getting GrapheneOS up and running on Fedora, then even better.
-
strcat
cx2[m]: your distro doesn't have a working non-root user
-
strcat
use root for everything
-
strcat
or spend your time working around / fixing the distro including setting up custom udev rules
-
strcat
which is a super messed up thing to need
-
strcat
the way this works is just broken
-
strcat
List of distribution packages:
-
strcat
Arch Linux: android-tools provides fastboot and other useful tools not required for installation such as adb. android-udev provides udev rules allowing fastboot and adb to work in local sessions without root.
-
strcat
cx2[m]: the answer to your problems is there
-
strcat
and don't ask me why extra udev rules are required - I can't justify how fucked up it is
-
strcat
that udev rules are required to use a hardware bitcoin wallet, serial debug cable and all kinds of other devices not fitting existing rules
-
strcat
it doesn't make any sense
-
cx2[m]
<strcat "cx2: the answer to your problems"> You’re still getting this wrong. This is not “my” answer. I already have a grip of phones that I can’t use. This answer is for the community. For people that are, in this case, on Fedora.
-
cx2[m]
* > <@freenode_strcat:matrix.org> cx2: the answer to your problems is there
-
cx2[m]
You’re still getting this wrong. This is not “my” answer. I already have a grip of phones that I don’t use running GrapheneOS. This answer is for the community. For people that are, in this case, on Fedora.
-
cx2[m]
I am fortunate in that I have the means to procure multiple machines and handsets to support in this way, since I am clearly not a programmer.
-
strcat
report a bug to your distribution about their broken packaging and OS
-
strcat
multiple bugs
-
strcat
1) they should allow local users to use USB devices without special rules or packages
-
strcat
2) they shouldn't have totally broken android SDK packages, if they aren't going to properly build / package things they shouldn't have packages for them
-
strcat
they should use the upstream versioning and upstream build system
-
strcat
and stop making broken crap
-
strcat
or call it fedora-android-tools to make it clear it isn't some upstream / AOSP / Android thing it's their own fork
-
strcat
if people pulled that shit with my project I would be telling them they have to stop naming it after my project based on trademark law like firefox did with debian for a long time
-
madaidan[m]
<strcat "and stop making broken crap"> I don't think that's possible. Linux distros *are* broken crap.
-
strcat
what justification do they have to write their own broken build system for this
-
strcat
they don't understand the software or what they're doing
-
strcat
and why is root needed to access USB devices unless you make a bunch of custom udev rules for each type of USB device other than basic things like flash drives
-
cn3m[m]
no real alternative sadly @madaidan.:matrix.org
-
strcat
why is it so fucked
-
strcat
my answer is just do everything as root since your user account is already effective root anyway
-
strcat
what difference would it make if you just logged in as root compared to a user account with full root access
-
strcat
it's just like UAC on windows but worse
-
strcat
UAC is less bad than this kind of sudo use
-
strcat
I wonder if the windows subsystem for linux thing has working usb devices
-
madaidan[m]
<cn3m[m] "no real alternative sadly @madai"> TempleOS
-
cn3m[m]
wsl2 should iirc
-
strcat
but wsl2 is just a vm
-
strcat
so it has all the problems of the distro
-
cn3m[m]
true
-
anupritaisno1[m]
Everything is okay there
-
anupritaisno1[m]
<strcat "2) they shouldn't have totally b"> Just use arch Linux
-
madaidan[m]
Imagine how advanced the world would be if everyone were strcat clones
-
anupritaisno1[m]
No
-
madaidan[m]
Yes
-
dazinism
<madaidan[m] "Danny@WorkOrderPro: btw I've hea"> I know what it probably is.. its the Milkman
-
BrokenCog
what is the [m] indicate on user nicks?
-
dazinism
They dont like Daniel and they are vicious, I've seen folks on Techlore quoting from MMJDs vicious attacks
-
madaidan[m]
<dazinism "I know what it probably is.. its"> I hate that guy
-
dazinism
BrokenCog: people bridged from matrix
-
BrokenCog
ahh.
-
cn3m[m]
<madaidan[m] "Imagine how advanced the world w"> I dream of this
-
madaidan[m]
<dazinism "They dont like Daniel and they a"> One of the Techlore mods is also a mod of MMJD's cybersecurity overview room.
-
anupritaisno1[m]
Imagine if everyone was Daniel
-
anupritaisno1[m]
Linux would be hardened
-
madaidan[m]
<BrokenCog "what is the [m] indicate on user"> Matrix users
-
anupritaisno1[m]
You wouldn't be able to hack into your friend's PC and steal their porn /s
-
madaidan[m]
<anupritaisno1[m] "Imagine if everyone was Daniel"> It would be paradise
-
dazinism
Not against Daniel but I know MMJD holds endless grudges and likes to have totally unbelievable exaggerated extended rants where he makes stuff up character assassinating people
-
anupritaisno1[m]
<madaidan[m] "It would be paradise"> *trouble in paradise
-
madaidan[m]
<dazinism "Not against Daniel but I know MM"> **X** e
-
dazinism
He banned me from all his rooms ages ago because I called him out on one of his untrue character assassinations
-
dazinism
I wasnt sad to not have to read his shit anymore
-
anupritaisno1[m]
Well it's matrix
-
anupritaisno1[m]
Destroy him with 10k alts
-
dazinism
lol
-
strcat
dazinism: this stuff is causing immense harm
-
strcat
james primarily but also people like that milkman guy
-
anupritaisno1[m]
I mean what's stopping you?
-
madaidan[m]
<anupritaisno1[m] "Destroy him with 10k alts"> Internet vigilante brigaders
-
anupritaisno1[m]
<madaidan[m] "Internet vigilante brigaders"> No
-
anupritaisno1[m]
Just for laughs
-
mxnorvak[m]
-
mxnorvak[m]
Finally
-
anupritaisno1[m]
<strcat "james primarily but also people "> BTW what's going on
-
anupritaisno1[m]
Like you were expecting a unique person but it was just me, dazinism
-
-
cx2[m]
When using `curl`, how do I know that I am downloading the Beta Channel? The address is the exact same unless i am way off
-
strcat
-
strcat
-
strcat
the URL for a given release is the same
-
strcat
the channels refer to releases
-
dazinism
strcat: that stuff sounds like exactly the kind of thing milkman would say. And he's always happy to bring up his grudges and expand on the fantasies of his character assassinations.
-
strcat
it's also what james does
-
strcat
and btw milkman literally destroyed the old matrix channel
-
strcat
because he was pissed I wanted control of it even though he claimed he MADE IT FOR ME
-
strcat
he claimed he was just running it for me
-
strcat
and would turn over control if I ever wanted it
-
strcat
and then when I did
-
strcat
he threw a fit and blew it up
-
anupritaisno1[m]
BTW Daniel
-
anupritaisno1[m]
How are streaming updates verified?
-
strcat
anupritaisno1[m]: by update_engine
-
cn3m[m]
can we have a group for sharing misinformation sources and countering them?
-
strcat
anupritaisno1[m]: same as regular updates
-
cn3m[m]
I would participate, but I never see such things
-
anupritaisno1[m]
Maybe you could just ignore him if that's possible
-
strcat
can't ignore people that are actively spreading misinformation and turning people against the project
-
strcat
running character assassination campaigns specifically targeted at me
-
strcat
it's aggressive harassment
-
anupritaisno1[m]
I was trying to add it to my client and madaidan brought up the concern
-
anupritaisno1[m]
<strcat "because he was pissed I wanted c"> BTW how great is the damage he does?
-
strcat
both of them cause substantial damage
-
strcat
I would say they succeed in wiping out half of the time and energy I have for the project
-
strcat
so 50% of the resources of the only full time dev
-
anupritaisno1[m]
<strcat "anupritaisno1: by update_engine"> But before install or after install?
-
strcat
and they have caused so many people to be pushed away from the project
-
strcat
anupritaisno1[m]: define install
-
madaidan[m]
His group has 3k+ members
-
anupritaisno1[m]
<madaidan[m] "His group has 3k+ members"> Oh boy
-
aeonsolution[m]
<cn3m[m] "can we have a group for sharing "> an enforcable code of conduct would help to alleviate this pressure on project and trying to deplatform the people causing harm
-
strcat
anupritaisno1[m]: streaming updates require leaving out the payload.bin from the update package it downloads
-
strcat
instead it's just metadata
-
strcat
and then it passes it to update_engine
-
strcat
I didn't finish implementing it
-
aeonsolution[m]
getting moderators would also help a lot too
-
strcat
matrix is federated
-
anupritaisno1[m]
<strcat "anupritaisno1: define install"> Writing to the partitions?
-
anupritaisno1[m]
<strcat "both of them cause substantial d"> Any way we can help?
-
strcat
I already got some of his channel aliases removed from matrix.org but not all
-
aeonsolution[m]
right now its only jolly and strcat that do the moderating, i believe
-
anupritaisno1[m]
But tbh madaidan you can only go so far
-
strcat
clearly I need to take much more extreme measures
-
aeonsolution[m]
and it takes too much time from them to deal with the trolls and misinformation
-
madaidan[m]
<anupritaisno1[m] "Any way we can help?"> Debunk the bullshit people spread
-
anupritaisno1[m]
Bullshit spread like wildfire
-
anupritaisno1[m]
<madaidan[m] "Debunk the bullshit people sprea"> Think I already do that
-
strcat
aeonsolution[m]: the problem is not really this channel
-
aeonsolution[m]
<anupritaisno1[m] "Bullshit spread like wildfire"> basically
-
strcat
it's people spreading misinformation elsewhere specifically 2 people with huge spiteful grudges
-
strcat
and other people they have converted to their side to help spread character assassination nonsense
-
strcat
and misinformation / fraudulent claims
-
cn3m[m]
how do we find this bullshit?
-
strcat
people just repeat this unsourced info
-
strcat
cn3m[m]: by actively joining tons of communities and watching for it
-
strcat
cn3m[m]: we know it is happening in certain communities already
-
dazinism
Was really sad to see Millman build his empire of BS and vicious authoritarianism on matrix. I watched him join matrix and squat/make loads of matrix.org rooms for loads of popular OS projects and tech subjects.
-
strcat
James has been in the Samourai Wallet community for 2+ years and has used it as a platform to spread fraudulent claims and character assassination about me
-
strcat
misinformation about me, GrapheneOS, etc. designed to scam people out of money through the business he hijacked
-
cn3m[m]
does anyone have a list? I am very active on /r/privacytoolsio and I have had nothing but support for GrapheneOS
-
strcat
cn3m[m]: samourai wallet community is the main one we are aware of where James is very active there engaging in his own brand of information warfare on the project
-
strcat
spreading misinformation, giving people gifts, flattering them
-
cn3m[m]
Ah I'll check that out thanks
-
madaidan[m]
Samourai bans anyone debunking that shit :(
-
strcat
cn3m[m]: they have 2 telegram channels where he's very active spreading misinformation
-
strcat
and the people in that community are supporting him and helping him harm GrapheneOS and myself
-
strcat
and actively participating
-
anupritaisno1[m]
strcat would you like if I try to implement streaming OTAs in the updater?
-
cn3m[m]
thanks strcat
-
strcat
cn3m[m]: and then there is this techlore community which originally seemed to support the project, but he got upset and now apparently they are doing spiteful things like spreading misinformation
-
strcat
don't quite understand what happened with that
-
strcat
anupritaisno1[m]: also need a script to generate the update packages for them
-
strcat
anupritaisno1[m]: you can try working on it
-
strcat
anupritaisno1[m]: I have initial support for it already - it downloads the entire existing update zip (including payload) and then does a streaming update
-
strcat
so it downloads payload 2x
-
strcat
anupritaisno1[m]: so what it needs is a separate slim update package without the payload.bin included
-
strcat
anupritaisno1[m]: also haven't tested it for a long time
-
strcat
anupritaisno1[m]: cdesai ran into some problems with CAs with it
-
strcat
didn't work with Let's Encrypt
-
strcat
don't know what that was about
-
anupritaisno1[m]
They can switch sides in the blink of an eye where the cash is
-
anupritaisno1[m]
BTW I have some code and a metadata generator
-
anupritaisno1[m]
Though it's not the best code I can send some of it to you privately
-
anupritaisno1[m]
Techlore is just a YouTuber
-
strcat
maybe issue is it doesn't trust cross-signed CAs
-
anupritaisno1[m]
<strcat "anupritaisno1: also need a scrip"> I already have some very broken code
-
cn3m[m]
Techlore banned madaidan and cyredanthem which are strongly in our camp
-
strcat
anupritaisno1[m]: Updater has support for it
-
strcat
cn3m[m]: techlore did or his mods did?
-
madaidan[m]
<strcat "cn3m: they have 2 telegram chann">
t.me/samouraiwallet and
t.me/samouraifunny
-
anupritaisno1[m]
<strcat "maybe issue is it doesn't trust "> What about self-signed?
-
anupritaisno1[m]
Madaidan was an admin
-
strcat
anupritaisno1[m]: it needs to be a valid Web PKI cert
-
strcat
I just think there is some stricter check maybe it doesn't trust cross-signed CAs
-
anupritaisno1[m]
On telegram only the admin who promotes you and the owner can ban you
-
cn3m[m]
not entirely sure
-
strcat
which Let's Encrypt still is with the default cert chain
-
madaidan[m]
<strcat "cn3m: techlore did or his mods d"> Techlore himself wanted me gone from his entire community
-
cn3m[m]
not entirely sure
-
cyredanthem[m]
Hey he banned me I think since he was the only mod on
-
cyredanthem[m]
I hadn't talked in a while
-
madaidan[m]
<anupritaisno1[m] "Madaidan was an admin"> I got demoted a while before that for more bullshit reasons
-
cdesai
anupritaisno1[m]: strcat by default update engine only trusts certs_google instead of all certs, so you need a cert with a common root with Google which lets encrypt doesn't have anymore
-
cdesai
But it's a one line change
-
cdesai
grep -r cacerts_google system/update_engine
-
-
anupritaisno1[m]
Yeah got it
-
strcat
DannyWorkOrderPr: which channel is this happening in btw
-
dazinism
<madaidan[m] "Samourai bans anyone debunking t"> Milkman bans anyone who questions him. Is anyone in his big cybersecurity room? (actually it someone called fractal who is admin, but gave him all power over that room)
-
anupritaisno1[m]
strcat that is what I'm doing
-
anupritaisno1[m]
Just generate all metadata beforehand and then parse in the app
-
anupritaisno1[m]
But I'm not shipping this yet
-
anupritaisno1[m]
Notice how I don't close any input stream, causing memory leaks
-
anupritaisno1[m]
Also I am lost at how to validate the output
-
madaidan[m]
<dazinism "Milkman bans anyone who question"> I'm in it.
-
strcat
cyredanthem[m]: where were you banned from?
-
strcat
-
strcat
this is the existing code for streaming updates
-
strcat
anupritaisno1[m]: it already works if you fix the CA issue
-
anupritaisno1[m]
BTW sorry about that spam
-
anupritaisno1[m]
Will use github gist next time
-
strcat
anupritaisno1[m]: but 'works' means it downloads the payload 2x since the payload is in the zip file
-
strcat
so this needs to have a new name for the streaming update zip
-
strcat
and need that to get generated
-
strcat
it can get the payload from the old style zip
-
anupritaisno1[m]
I have very similar behavior on the lineageos client that I was working on
-
strcat
that's fine - it works already
-
strcat
anupritaisno1[m]: they used an early revision of my code
-
strcat
btw
-
anupritaisno1[m]
But now I have the impression that lineage's is beyond repair
-
strcat
~50 lines of it
-
anupritaisno1[m]
<strcat "anupritaisno1: but 'works' means"> Yeah that's what I mean to fix
-
strcat
Log.d(TAG, "streaming update test");
-
strcat
final SharedPreferences preferences = Settings.getPreferences(this);
-
strcat
final String downloadFile = preferences.getString(PREFERENCE_DOWNLOAD_FILE, null);
-
strcat
engine.applyPayload(getString(R.string.url) + downloadFile, payloadOffset, 0, headerKeyValuePairs);
-
anupritaisno1[m]
Basically lineage treats A/B updates like A-only until the application part
-
strcat
anupritaisno1[m]: this part is correct already
-
strcat
anupritaisno1[m]: it makes sense for that to use the old style zip
-
cdesai
Does that recovery update sample handle streaming?
-
strcat
cdesai: well Updater has streaming update support already it's just hidden behind a property + not useful due to not dling a lightweight metadata zip
-
strcat
basically all that's needed is fixing the CA issue + downloading a lightweight metadata zip and it'll work
-
anupritaisno1[m]
Yes but that also means they trigger recoverysystem..verifypackage() for A/B which is an unnecessary check
-
strcat
and then later remove the property check
-
strcat
anupritaisno1[m]: it is not entirely unnecessary
-
cdesai
Yeah it does work well, especially with deltas where the download penalty isn't that high
-
dazinism
If anyone has been in their for a while, bet if you do a search for GrapheneOS you'll find some vicious Milkman rants against GrapheneOS / Daniel
-
strcat
dazinism: someone actually handed control of something to milkman?
-
anupritaisno1[m]
<strcat "basically all that's needed is f"> I'll try this approach out, thanks
-
strcat
anupritaisno1[m]: if you are already using Updater just fix the CA issue cdesai mentioned
-
anupritaisno1[m]
So strcat I use that java to generate my metadata and then ship it into a signed metadata zip the updater can verify?
-
strcat
and try setting sys.update.streaming_test to true
-
strcat
anupritaisno1[m]: this is the Updater code
-
strcat
I am not sure what you mean
-
anupritaisno1[m]
No but I plan to soon
-
strcat
anupritaisno1[m]: first use Updater using the standard generate_metadata.py + this Updater client app
-
strcat
it doesn't require anything more than a static web server
-
dazinism
Need to have been in the room to search
-
anupritaisno1[m]
I meant signing a metadata zip with the releasekey and letting updater verify it
-
anupritaisno1[m]
Then extracting that zip to get the metadata
-
strcat
anupritaisno1[m]: the standard zip is already the right thing other than including payload.bin
-
strcat
just need to omit payload.bin
-
strcat
generate a 2nd update zip with no payload.bin
-
strcat
anupritaisno1[m]: the script to do this is the ota_from_target_files script
-
strcat
it needs to generate a 2nd zip with no payload.bin
-
strcat
it's pretty simple
-
anupritaisno1[m]
<strcat "generate a 2nd update zip with n"> Yes exactly what I meant
-
strcat
and then when doing a streaming update, this code needs to use the lightweight zip
-
strcat
instead of the full zip
-
strcat
for the initial download
-
strcat
-
madaidan[m]
<strcat "cyredanthem: where were you bann"> He was banned from the Techlore room
-
strcat
anupritaisno1[m]: it needs to check if it's in streaming mode here
-
anupritaisno1[m]
<strcat "and then when doing a streaming "> I will try to implement this
-
dazinism
<strcat "dazinism: someone actually hande"> The bit I had trouble parsing is when I asked them why they left it with Milkman they said that lots of people speak highly of him and like his mod style?!?
-
strcat
anupritaisno1[m]: and if it's in streaming mode
-
strcat
anupritaisno1[m]: dl the lightweight zip instead
-
strcat
-
strcat
this is already right
-
strcat
anupritaisno1[m]: so basically existing zip is signed zip with metadata + payload.bin
-
anupritaisno1[m]
Yeah got it
-
anupritaisno1[m]
Thanks
-
strcat
anupritaisno1[m]: payload.bin is stored uncompressed in the zip and it can be downloaded using the offset like this
-
strcat
anupritaisno1[m]: so no need to have a separate payload.bin
-
strcat
cdesai: do you have a link to the update_engine CA issue
-
anupritaisno1[m]
Already read the docs and see the java code up
-
anupritaisno1[m]
It is already calculating a zip offset
-
aeonsolution[m]
hey strcat is there a place in android-prepare-vendor I can help contribute with, how far back did you revert? Do you have a commit I can start from to work on my side.
-
anupritaisno1[m]
<aeonsolution[m] "hey strcat is there a place in a"> Yes
-
cdesai
strcat: just change cacerts_google to cacerts in update_engine, it's a constant.
-
anupritaisno1[m]
Figure out what's wrong with dexopt for vendor apps
-
cdesai
I didn't change it yet because I wasn't sure if we'd want to limit it to a subset too
-
aeonsolution[m]
let me look, thanks anupritaisno1:
-
anupritaisno1[m]
<anupritaisno1[m] "Figure out what's wrong with dex"> Also strcat I reproduced this issue on a oneplus 3
-
aeonsolution[m]
* let me look, thanks anupritaisno1
-
cdesai
aeonsolution[m]: you can also check #AOSPAlliance logs, I was talking with renlord about how to remove what's in aosp already from vendor
-
anupritaisno1[m]
Dexpreopting lineage parts with speed caused system UI to repeatedly crash on a oneplus 3
-
strcat
anupritaisno1[m]: the one with android-prepare-vendor needing LOCAL_PREOPT := false?
-
anupritaisno1[m]
Looking at logs exactly the same issue you had with the vendor apps
-
anupritaisno1[m]
I couldn't fix it btw
-
anupritaisno1[m]
I just disabled dexpreopt for that component as it seems lineage had disabled it until android 7 came out
-
anupritaisno1[m]
And idk why it doesn't crash on anything newer than that
-
anupritaisno1[m]
Yep
-
anupritaisno1[m]
It happened in 2 places on 2 legacy devices
-
anupritaisno1[m]
But nothing on current gen ones
-
anupritaisno1[m]
On the oneplus 2 same component when dexopted broke a small tri state slider that's standard on all oneplus phones
-
strcat
I don't know if it's still an issue
-
aeonsolution[m]
thanks
-
strcat
I think aeonsolution[m] ran into it
-
strcat
because atm in the dev branch
-
anupritaisno1[m]
But since the issue was only apparent on the oneplus 3 crashing
-
strcat
I didn't reapply the LOCAL_PREOPT := false change
-
anupritaisno1[m]
I never noticed it happen on the oneplus 2 until I had fixed it on the oneplus 3
-
strcat
when I switched to the aosp alliance android-prepare-vendor I forgot to add it back
-
strcat
and it seemed to work fine without it now
-
aeonsolution[m]
<cdesai "aeonsolution: you can also check"> let me check that out and with dexopt like anupritaisno1 mentioned
-
strcat
lemme try a factory reset
-
anupritaisno1[m]
Well if anything
-
anupritaisno1[m]
Wiping dalvik seems to alleviate the issue
-
anupritaisno1[m]
But
-
strcat
ah yeah
-
strcat
factory reset caused it
-
strcat
makes sense
-
anupritaisno1[m]
Not a solution
-
strcat
I'll add back my workaround
-
strcat
it's a serious issue and needs to be resolved ASAP
-
anupritaisno1[m]
The issue can come back to the oneplus 3, just a matter of time before it does
-
anupritaisno1[m]
Yeah
-
anupritaisno1[m]
Let me know if you do
-
anupritaisno1[m]
I couldn't figure it out at all
-
cdesai
Lineage has better handling of vendor these days
-
cdesai
The extraction scripts are in vendor/lineage
-
anupritaisno1[m]
Also something more strange
-
-
anupritaisno1[m]
You see that?
-
anupritaisno1[m]
strcat wonder where the odex go?
-
-
anupritaisno1[m]
Wow what the hell happened there
-
anupritaisno1[m]
This seems to be some kind of an issue that only happens on the product partition
-
anupritaisno1[m]
I don't see this happen on system or vendor
-
strcat
anupritaisno1[m]: nah not tied to that
-
strcat
it just happens that on your device qcril stuff is there
-
strcat
on Pixel 3a it's on system
-
strcat
on Pixel 4 I think it moved
-
anupritaisno1[m]
Let's hope google fixes that on R
-
anupritaisno1[m]
Also strcat what if we set dexopt to nostripping instead?
-
anupritaisno1[m]
Sm8150, same CPU as p4
-
strcat
anupritaisno1[m]: might work around it by having it fall back to another method
-
strcat
but it's not a fix
-
strcat
and it's only for these prebuilt vendor files
-
strcat
I don't know what the problem is
-
strcat
it's a serious issue that needs to be fixed
-
anupritaisno1[m]
Try the nostripping maybe?
-
strcat
among others
-
strcat
anupritaisno1[m]: that would be a workaround not a fix
-
strcat
I'd rather not dexpreopt these if it's broken
-
strcat
added back my workaround to the new android-prepare-vendor
-
aeonsolution[m]
I can test any changes for the Pixel 3a, just let me know. I'm still looking around trying to figure out the dex stuff
-
anupritaisno1[m]
<strcat "it's a serious issue that needs "> You've said that thrice now we get it
-
strcat
aeonsolution[m]: I worked around it already
-
-
strcat
aeonsolution[m]: it's NOT fixed - just worked around again
-
strcat
cx2[m]: that's normal/expected
-
strcat
fastboot checks for stuff to flash that isn't there for that kind of device
-
-
anupritaisno1[m]
Assume attacker somehow manages to compromise the recovery
-
strcat[m]
it's not a major issue at all
-
cx2[m]
GOT IT! Ok great then up and running.
-
cx2[m]
Now, can I reflash my other handsets to the beta channel so that while I am sitting in COVID-19 hell, i can run CTS on all of them
-
anupritaisno1[m]
<strcat "fastboot checks for stuff to fla"> BTW how much of a risk is fastbootd?
-
strcat[m]
anupritaisno1: if they 'somehow manage to compromise the recovery' it's not relevant anymore
-
strcat[m]
it's some extra recovery attack surface and hardly any at that
-
strcat[m]
it's not a substantial difference from how it was before
-
strcat[m]
recovery is less privileged than the bootloader fastboot mode
-
strcat[m]
it reduces the privileges from what they were before
-
strcat[m]
recovery can't flash the AVB key or unlock
-
anupritaisno1[m]
Alright I guess
-
anupritaisno1[m]
So secure boot still protects?
-
strcat[m]
yes recovery can't unlock, it's better that this code is in recovery than fastboot mode in terms of attack surface
-
strcat[m]
recovery can't flash avb key / unlock since it's just root
-
strcat[m]
also you can't flash images when locked anyway
-
strcat[m]
so it barely adds attack surface
-
anupritaisno1[m]
But it can flash
-
anupritaisno1[m]
I just have concern about the
-
strcat[m]
anupritaisno1: it doesn't allow flashing when locked and the attack surface is better in recovery than fastboot mode
-
anupritaisno1[m]
Firmware partitions that are just FAT and never avb checked
-
strcat[m]
because fastboot mode has much more privileges than root
-
anupritaisno1[m]
Or is that a completely meaningless concern?
-
strcat[m]
anupritaisno1: which partitions?
-
strcat[m]
firmware is supposed to be verified by verified boot
-
strcat[m]
there is a /persist partition with some data but the worst that can happen is basically bricking the device / functionality it has
-
anupritaisno1[m]
<strcat[m] "anupritaisno1: it doesn't allow "> During development I use builds that allow flashing for now even when locked
-
strcat[m]
like wiping the encrypted TEE attestation keys that are there
-
strcat[m]
anupritaisno1: I am talking about production - flashing is not allowed when locked, only sideloading a signed OTA update
-
strcat[m]
and verified boot (at least on devices properly implementing it) verifies the OS via the AVB key that's flashed onto the device
-
strcat[m]
and does rollback protection
-
anupritaisno1[m]
<strcat[m] "like wiping the encrypted TEE at"> Pixel stores those there?
-
strcat[m]
that's a separate thing from the keymaster integration for verified boot state / OS version
-
strcat[m]
anupritaisno1: yes they are encrypted with a key only available to TEE
-
anupritaisno1[m]
<strcat[m] "and verified boot (at least on d"> Yeah that too is a big problem
-
strcat[m]
and stored in /persist
-
strcat[m]
that's for the TEE attestation - StrongBox has those attestation keys internally
-
strcat[m]
the TEE doesn't have internal storage, instead it has provisioned keys in /persist that are encrypted and then the data it stores via the OS in userdata
-
anupritaisno1[m]
What about Qualcomm's fancy wrappedkey FBE?
-
strcat[m]
it encrypts the data and then stores it in the OS
-
strcat[m]
anupritaisno1: what about it?
-
anupritaisno1[m]
<strcat[m] "anupritaisno1: what about it?"> Is it any different?
-
strcat[m]
that's a different thing
-
strcat[m]
unrelated to verified boot
-
anupritaisno1[m]
Okay so it still goes to persist?
-
strcat[m]
uh I'm confused now
-
strcat[m]
I never said anything is stored in persist at runtime
-
strcat[m]
what keys do you think I'm talking about
-
strcat[m]
I think you misunderstand what I said - I didn't say what you think I did
-
anupritaisno1[m]
So pixel doesn't have a couple of vfat partitions for modem and bt-firmware unlike most others?
-
anupritaisno1[m]
<strcat[m] "what keys do you think I'm talki"> Encryption keys?
-
strcat[m]
encryption keys are never stored unencrypted and they have nothing to do with /persist
-
strcat[m]
I never said anything about encryption keys
-
strcat[m]
that's a different topic
-
anupritaisno1[m]
On okay
-
anupritaisno1[m]
Sorry got you
-
strcat[m]
I said that the TEE attestation keys (NOT encryption keys or anything to do with disk encryption) are provisioned into /persist
-
strcat[m]
and they are encrypted with a key only available to the TEE
-
strcat[m]
the TEE hardware-bound key
-
strcat[m]
in fact the TEE firmware can't access that key
-
strcat[m]
it's only available to the hardware
-
strcat[m]
the TEE can only use the key
-
strcat[m]
so the way the TEE gets the attestation keys is it decrypts them from /persist
-
anupritaisno1[m]
Ah makes sense
-
anupritaisno1[m]
Also what about the vfat partitions?
-
strcat[m]
anupritaisno1: the TEE-based keystore stores the keys in the OS via an OS daemon
-
strcat[m]
it encrypts the data
-
strcat[m]
then stores it in the OS
-
strcat[m]
that's how the TEE stores data
-
anupritaisno1[m]
Okay interesting
-
strcat[m]
the newer StrongBox keystore is an HSM with internal secure storage
-
strcat[m]
it works differently and provides a higher level of security / isolation from the OS
-
strcat[m]
it is a separate SoC with secure storage + secure timer
-
strcat[m]
tamper resistant / evident
-
strcat[m]
i.e. the Titan M
-
strcat[m]
which provides the StrongBox keystore on Pixels
-
strcat[m]
Samsung's new generation Qualcomm phones use the Qualcomm SPU to provide StrongBox keystore
-
strcat[m]
it's similar but probably doesn't have insider attack protection like the Pixel's Titan M - dunno
-
anupritaisno1[m]
Wonder when this will be mainstream
-
strcat[m]
anupritaisno1: dunno which vfat partitions you mean
-
strcat[m]
but in general
-
strcat[m]
firmware is all supposed to be verified other than some small state partitions for provisioned state
-
strcat[m]
and those are not supposed to be trusted
-
anupritaisno1[m]
<strcat[m] "anupritaisno1: dunno which vfat "> Most Qualcomm devices have 3 partitions that are never avb backed
-
strcat[m]
and they should generally be made read-only after provisioning the device
-
strcat[m]
anupritaisno1: AVB is for verifying the OS not firmware
-
anupritaisno1[m]
A modem firmware partition, a bt-firmware partition and a dsp partition
-
strcat[m]
anupritaisno1: Qualcomm Secure Boot verifies firmware
-
strcat[m]
anupritaisno1: there are more partitions than those
-
strcat[m]
there are a dozen firmware partitions
-
strcat[m]
anupritaisno1: AVB is how the final boot stage before the OS verifies the OS and then how the OS verifies itself
-
anupritaisno1[m]
Yeah but pixel 4 doesn't flash any from what I see?
-
strcat[m]
anupritaisno1: don't know what you mean by that
-
anupritaisno1[m]
<strcat[m] "anupritaisno1: don't know what y"> Those files are not in the factory images from what I see
-
strcat[m]
anupritaisno1: Qualcomm Secure Boot is what verifies earlier boot stages
-
anupritaisno1[m]
Okay
-
strcat[m]
that is how the firmware partitions are verified
-
strcat[m]
then AVB verifies the OS
-
strcat[m]
anupritaisno1: Pixel factory images generally have all these partitions bundled into a bootloader.img and radio.img
-
strcat[m]
those are not partitions
-
strcat[m]
you can extract them
-
strcat[m]
they are just an archive format for bundling a bunch of signed images
-
strcat[m]
rather than having 12 different loose firmware images
-
strcat[m]
since the version is supposed to match across them and it'd be a bad idea to flash them individually
-
strcat[m]
so they are flashed together
-
strcat[m]
now that there are A/B updates it's less serious but it would have been super easy to brick devices without having them bundled into bootloader.img
-
strcat[m]
cause you could brick it by flashing just some of those images
-
strcat[m]
A/B updates largely alleviates this
-
anupritaisno1[m]
BTW how fast is Qualcomm secure boot exactly?
-
anupritaisno1[m]
On my device the modem partition seems to be 200mb in size
-
anupritaisno1[m]
<strcat[m] "anupritaisno1: Pixel factory ima"> Ah that clears it
-
anupritaisno1[m]
Thanks
-
anupritaisno1[m]
BTW does graphene currently flash these partitions through the A/B updater?
-
strcat[m]
anupritaisno1: well I don't think it blocks booting other stuff
-
strcat[m]
it doesn't really matter how long it takes to bring up the modem
-
strcat[m]
the modem partition is not just the cellular implementation, it's also Wi-Fi, etc.
-
strcat[m]
each thing runs in a sandbox on it
-
strcat[m]
anupritaisno1: yes this is part of the regular updates
-
strcat[m]
anupritaisno1: they have A/B partitions
-
strcat[m]
the regular update system deals with it
-
anupritaisno1[m]
Can non-AB partitions be updated?
-
strcat[m]
abl.img aop.img bootloader.img cmnlib64.img cmnlib.img devcfg.img hyp.img keymaster.img modem.img qupfw.img radio.img tz.img xbl_config.img xbl.img
-
strcat[m]
anupritaisno1: these are A/B partitions
-
anupritaisno1[m]
While the system is running
-
strcat[m]
everything is an A/B partition
-
anupritaisno1[m]
Yeah
-
strcat[m]
firmware and OS are A/B partitions
-
anupritaisno1[m]
I'm trying to figure this out for my device and
-
anupritaisno1[m]
There's a partition my manufacturer flashes
-
anupritaisno1[m]
That is not an A/B partition
-
anupritaisno1[m]
I don't know how stock flashes it
-
strcat[m]
if there is a non-A/B firmware partition, I assume it can be updated while the OS is running, but it's not really supposed to be that way
-
anupritaisno1[m]
But it's not an A/B partition and it somehow gets flashed by the updater is all I know
-
strcat[m]
look at gpt-utils
-
strcat[m]
qualcomm thing
-
anupritaisno1[m]
Static_nvbk is the name
-
strcat[m]
-
strcat[m]
-
-
anupritaisno1[m]
Qupfw is non A/B here
-
anupritaisno1[m]
And is never flashed by the updater
-
anupritaisno1[m]
Idk what uefisecapp is
-
anupritaisno1[m]
strcat (@strcat:matrix.org): thanks for being patient and answering all questions I had
-
anupritaisno1[m]
Really appreciate the effort
-
aeonsolution[m]
i ran `adb shell dumpsys` and saw this for qcrilmsg:
-
aeonsolution[m]
Message 21: { when=+4s138ms what=12 obj=ProcessRecord{1674aaf 0:com.qualcomm.qcrilmsgtunnel/1001} target=com.android.server.am.ActivityManagerService$MainHandler }
-
anupritaisno1[m]
> <@aeonsolution:matrix.org> i ran `adb shell dumpsys` and saw this for qcrilmsg:
-
anupritaisno1[m]
> Message 21: { when=+4s138ms what=12 obj=ProcessRecord{1674aaf 0:com.qualcomm.qcrilmsgtunnel/1001} target=com.android.server.am.ActivityManagerService$MainHandler }
-
anupritaisno1[m]
Ignore that's just some verbose logging
-
anupritaisno1[m]
Also that screenshot is not from a pixel
-
anupritaisno1[m]
So don't try to look for it on a pixel
-
aeonsolution[m]
kk
-
anupritaisno1[m]
strcat can you upgrade the chromium base to 83?
-
anupritaisno1[m]
83 fixes the weird browser crash issue I had
-
cn3m[m]
funny I get crashes in 83 on Bromite, but not Vanadium 81
-
strcat
anupritaisno1[m]: we track the stable releases
-
strcat
looks like 83 is now stable
-
strcat
people are welcome to help migrate
-
strcat
it's a lot of work
-
-
anupritaisno1[m]
On bromite with 83 base the page is usable
-
-
anupritaisno1[m]
On vanadium, the latest 81 the browser freezes
-
strcat
we migrate to each new stable release
-
strcat
you're welcome to help
-
strcat
I don't have time to do everything myself
-
strcat
unfortunately I've been doing most of the Vanadium ports by myself
-
aeonsolution[m]
anupritaisno1: I can help you out!
-
anupritaisno1[m]
Will see what I can do strcat
-
anupritaisno1[m]
I don't have enough resources to do a full chromium build at least right now
-
aeonsolution[m]
i can build chromium i think, let me check. is it more than building vanadium?
-
strcat
need to sync the new code, rebase onto it
-
strcat
build and make sure it works
-
strcat
fix any problems
-
strcat
it's a LOT of work to do regularly
-
aeonsolution[m]
maybe i can just focus on learning to do that for vanadium, and for the 10 branch, i can just build the os and test if it works for the pixel 3a?
-
aeonsolution[m]
does that sound good to you?
-
aeonsolution[m]
* maybe i can just focus on learning to do that for vanadium, and for the 10 branch, i can just build the os and test if the commited changes work for the pixel 3a?
-
madaidan[m]
Does linux-hardened's ASLR improvements make it as good as PaX's ASLR? I've seen strcat's comparison and it looks like it basically is but I want to be sure.