News for hackers. Stuff that matters.

lmns

>When an attacker gains a foothold in a corporate environment, they will immediately try to find any accessible credentials to assist in lateral movement.

So you think this isn't the case with home users? Maybe I still misunderstand the point that is being made here, but from my perspective it's only a matter of time until my encrypted password store gets exposed to the local attacker (as soon as I unlock it).

Have you tried a different USB-A charger? Some smaller devices have problems with USB-C to USB-C. I don't know why this is the case, though. It's just something I have observed with different devices.
What are "absurd" amounts of CPU and memory? Calculating and pinning dependencies is just a very difficult problem which happens to be reducible to SAT. If you think a SAT solver takes a lot of time and memory, then all alternatives would probably be even slower.
Re:Things I do every time I start a Django project on Friday June 24, 2022 @05:13AM (#31859379)
I use pip-tools with venvs for that and can‘t complain. It pins dependencies and you can create different requirements.txts for local dev and production (production for me is usually dev minus some debugging tools). It‘s not particularly fancy, but it gets the job done.
Re:Tell HN: iOS Signal eats your disk space on Sunday April 10, 2022 @09:38AM (#30976837)
Threema's protocol doesn't even implement forward secrecy. From a security standpoint Threema is closer to iMessage than to Signal or other Signal-protocol-based messengers.
My understanding is that containers actually can access nftables with CLONE_NEWUSER even without CAP_NET_ADMIN.

EDIT: Apparently the Docker default capabilities don't allow CLONE_NEWUSER: https://opensource.com/business/15/3/docker-security-tuning

Re:Start Self Hosting on Thursday March 24, 2022 @04:19AM (#30787367)
Are you implying that getting init script customisations overwritten by package managers isn't a problem with non-systemd init managers?

I have lost track how often that happened with sysvinit, because the "logic" how to treat customisations was usually handled by the package manager and they messed it up regularly.

systemd has a standard way to handle customisations. As long as you put everything you do in /etc/systemd/system, everything is fine. It's simple and works across distributions.

It is different. I can run a Debian VM with GUI applications on any recent x86 Chromebook. It's pre-installed and supported.
Re:Google to end support for OnHub routers in 2022 on Tuesday December 21, 2021 @03:08AM (#29635108)
802.11n with 5 GHz is okayish, but using 2.4 GHz can be brutal. It's not just the bandwidth, the whole frequency band is just bad. My latency regularly goes through the roof and voice calls are noticeably worse than with 5 GHz wifi.

802.11ac mandates 5 GHz, so it's a reasonable baseline. I don't even care if it's SISO, MIMO or whatever as long as I don't have to fall back to 2.4 GHz.

Re:Ask HN: A cheap smartwatch with a supported SDK on Saturday December 11, 2021 @01:24PM (#29523021)
With that budget you won't find an always-on display. OLED panels are just too expensive.
Re:Alpine Linux 3.15 on Wednesday November 24, 2021 @10:32AM (#29330949)
Try 'python3' or 'python2'.
Re:Ask HN: Why there are no Android mini phones? on Saturday November 20, 2021 @09:52AM (#29288564)
I think the appeal of the 13 mini is that it actually has all the interesting features of the bigger phones (minus 120 hz and ProRes), just in a smaller phone. I would agree that this is true for the SE, though, but it's also significantly cheaper.
Re:Google Pixel 6 and Pixel 6 Pro on Wednesday October 20, 2021 @01:57AM (#28927270)
They could easily do it if they wanted to, now that they have more control over the SoC. With Chrome OS they already do it. Most devices that are released now will get 8 years of security updates, which are supplied by Google.
Re:Google Pixel 3 (XL) bricking out of nothing on Thursday September 16, 2021 @01:39PM (#28554692)
A toothpick also works fine.
Re:NP Complete 3rd Grade Math Problems (2018) on Sunday August 29, 2021 @06:34AM (#28345658)
The author forgot to add the "duckie" item in the list.
Re:Another free CA as an alternative to Let's Encrypt on Saturday August 21, 2021 @03:36AM (#28255025)
I guess the installation via pip is only best effort in the sense that they can't support every platform that pip is able to run on. For example their dependency on the "cryptography" library might cause problems on platforms which can't get a pre-compiled version from PyPi and have to built it from source.

If you are on x86 and use a distribution with glibc I wouldn't expect any problems.

It's tricky, because most phones can't be flashed with an alternative aftermarket OS. I know that LineageOS etc. exist, but most phones don't have a stable build and a lot of SoCs will never work reliably with an aftermarket OS.

In that case whoever will exploit your phone first is the one who owns it, not you.

Re:From stolen laptop to inside the company network on Wednesday July 28, 2021 @05:35PM (#27990042)
64 characters? Why would they do that?
Re:K-9 Mail is back on Saturday July 24, 2021 @02:40PM (#27943426)
Modern low- to midrange phones certainly have more RAM and storage than your 2014 phone, which matters more than the raw benchmark scores.
Re:Debian bullseye release planned on 2021-08-14 on Saturday July 24, 2021 @10:28AM (#27941222)
This has been a problem for a long time. I'm not sure why other distributions are better at this than Debian, but I think it has something to do with how Debian splits up software in much more packages than other distributions. Maybe it's more difficult to keep track of the state?
>Most desktops today only have a browser and some office application installed.

The desktops I see on a daily basis don't have only a browser and office application installed.

I'm not sure which phone or OS you are using, but almost all smartphones have some kind of TPM or TEE nowadays. FWIW, the banking app on my Android phone makes use of that through the KeyChain API.

>Chances that the average user's phone is compromised is very high.

How do you know? Android and iOS apps are much better sandboxed than desktop applications (which usually aren't really sandboxed at all). I would guess the chance of phones getting compromised is much lower than for the average desktop.

I've never heard of a phone that does this.
I know what you mean, but as soon as you have transitive dependencies it doesn't work at all. At that point you can't reproduce the same state of your venv at a later date because some minor version of a dependent package could change and maybe break your build.
I'm surprised that pip-tools isn't more popular. For the stuff I do with Python (small CLI tools, casual webdev) it's completely adequate. I can pin down my dependencies, upgrade to a new pinned state and sync my venvs with the packages specified in the generated requirements.txt.

Maybe there are more elegant or modern ways of doing this, but for my personal projects I haven't found a reason to switch to anything else.

Btw, there is also micropipenv[0] now which can consume both poetry and pipenv lockfiles and convert them to pinned down requirements.txts as generated by pip-tools.

[0] https://pypi.org/project/micropipenv/

How do you pin all of your dependencies to a specific version with just venv, pip and a requirements.txt? How do you upgrade them later?
Re:Pg8000 – Pure-Python PostgreSQL driver on Friday May 14, 2021 @08:48AM (#27153656)
I don't know, that's what the developers say (last paragraph): https://pypi.org/project/psycopg2/
Re:Pg8000 – Pure-Python PostgreSQL driver on Thursday May 13, 2021 @06:42PM (#27148412)
Packaging is simpler. psycopg2-binary is actually not recommended for production use, so you have to compile it yourself.
Re:Using Computer Modern on the web (2013) on Wednesday May 12, 2021 @08:30AM (#27129492)
Am I the only one who never liked Computern Modern? It works and the math symbols are very complete, but it just looks way too thin.
Re:OPNsense and HardenedBSD are parting ways on Friday April 23, 2021 @10:48AM (#26915276)
I know, but just setting MemoryDenyWriteExecute=yes is even easier.

Older »