News for hackers. Stuff that matters.

curben

Re:Access for Infrastructure: SSH on Wednesday October 23, 2024 @10:49PM (#41931440)
Cloudflare has been offering SSH CA-based authentication for more than 2 years [1], I wrote a guide back in feb '23 [2]. The announcement is more about offering new features, such as more granular user control.

[1]:https://web.archive.org/web/20210418143636/https://developer...

[2]: https://mdleom.com/blog/2023/02/13/ssh-certificate-cloudflar...

Re:Show HN: I made a super-simple Image CDN on Thursday October 03, 2024 @09:03PM (#41736771)
Image CDN primarily offers image resizing, especially useful for responsive images. It has a sizable market, both Cloudflare and AWS offer image processing service, see also major players like Cloudinary and Cloudimage.

Image and general CDNs are not exclusive: pictures resized on-the-fly and hosted on image CDN, while html/js/css hosted on general CDN.

Re:Autossh – automatically restart SSH sessions and tunnels on Saturday September 28, 2024 @10:46PM (#41684464)
If "orthodox" means "vpn traffic cannot be established through third-party cloud infrastructure", then tailscale and any other cloud-hosted ZTNA solutions wouldn't be accepted in that kind of enterprise.
Re:Autossh – automatically restart SSH sessions and tunnels on Saturday September 28, 2024 @10:23PM (#41684390)
SSH protocol does not protect against weak configuration, e.g. password authentication without brute force mitigation. Zero-trust can be misconfigured too, so it depends how well either of them is configured.
Re:Adapter lets you use cheap eSIM plans on any Android phone on Monday September 16, 2024 @01:36AM (#41553064)
The manual mentions it includes EasyEUICC hash in an ARA-M slot, so it should work. ARA-M does not apply to OpenEUICC; as a system app, it can work with any esim.

https://www.sysmocom.de/manuals/sysmoeuicc-manual.pdf (p. 26)

Re:Adapter lets you use cheap eSIM plans on any Android phone on Monday September 16, 2024 @01:34AM (#41553049)
JMP SIM Manager is a rebadged version of EasyEUICC available on f-droid. JMP resells eSIM card and usb reader from https://www.estk.me/product/
Re:TOTP Codes in the Terminal on Monday February 26, 2024 @05:19AM (#39509553)
for anyone new keepassxc, do check out the auto-type feature. you can trigger it (through keyboard shortcut) to type TOTP digits.
Re:How to Yubikey: A Configuration Cheatsheet on Saturday March 11, 2023 @12:14AM (#35105618)
On Android, to unlock Keepass database secured with Yubikey, an alternative to Keepass2Android+ykdroid is KeePassDX[1] + Key Driver [2]. Both USB and NFC are supported.

[1]: https://f-droid.org/en/packages/com.kunzisoft.keepass.libre/

[2]: https://gitlab.com/kunzisoft/android-hardware-key-driver

Re:pup: Parsing HTML at the Command Line on Wednesday November 30, 2022 @05:24PM (#33808765)
I'm using xmlstarlet in Alpine as a bare minimum way to scrap a webpage in CI pipeline.
I'm using these FF addons CanvasBlocker and Spoof Timezone to spoof UA and timezone. I checked vytal.io and it shows those addons can't fully spoof web worker method. I usually use https://browserleaks.com/javascript to test spoofing addons.
Re:Zorin OS 16 on Saturday April 17, 2021 @04:03AM (#26842479)
I think the most useful feature of modern filesystems (e.g. ZFS & Btrfs) relevant to desktop usage is the ability to create snapshot. Software store can automatically take a snapshot before add/remove/upgrade apps; if an upgrade causes issue (e.g. blank screen so there is no way to downgrade), just reboot and choose previous snapshot from boot entry.

https://arstechnica.com/gadgets/2020/03/ubuntu-20-04s-zsys-a...

Re:Tz: A Time Zone Helper on Tuesday March 23, 2021 @04:16PM (#26559876)
The diagonal combines light and dark themes' screenshot.

Light: https://postimg.cc/BPW3vwJN

Dark: https://postimg.cc/dkZvwKcL

Re:Piscina – The Node.js Worker Pool on Tuesday March 23, 2021 @03:44PM (#26559475)
AFAIK this is a wrapper of worker_threads API. https://github.com/tuananh/camaro utilises this for multi-threading processing of XML input. Hexo (static site generator) is attempting to utilise this library (https://github.com/hexojs/hexo/issues/4355).
Re:Replacing Dropbox in favor of DigitalOcean spaces on Monday January 25, 2021 @08:53PM (#25911480)
Hetzner managed nextcloud costs $12/month (https://www.hetzner.com/storage/storage-share?country=us).
Re:The State of IPv6 support on the Tor network on Friday January 15, 2021 @05:05AM (#25789015)
I have a .onion running on ipv6-only host and it's been working fine for the past few months. Relevant torrc configs:

  HiddenServicePort 80 [::1]:8080
  ClientUseIPv4 0
  ClientUseIPv6 1
  ClientPreferIPv6ORPort 1
I'm using Statically (https://statically.io/) which offers screenshot API so thumbnail can be generated automatically. In my blog template, I use the following snippet:

  <meta property="og:image" content="https://cdn.statically.io/screenshot/<%- post.link %>">
Re:Maps.me is gone, and we must bring it back on Wednesday December 23, 2020 @03:32AM (#25515658)
There is an existing f-droid version of Maps.me [1] and this looks like a separate effort. Despite having access to the source code, map hosting is a non-trivial problem [2].

[1]: https://gitlab.com/axet/omim

[2]: https://gitlab.com/axet/omim/-/issues/176

This project's logo reminds me of Metricon [1], an Australian construction company.

https://metricon.azureedge.net/Metricon/media/metricon/about...

Re:1MB Club on Thursday November 19, 2020 @06:53PM (#25155863)
[1] generates ico, png and svg. you may want to remove some favicons from the generated HTML snippet; in my brief testing, Firefox loads both png and svg, while Chrome loads ico.

[1]: https://realfavicongenerator.net/

Re:DKIM: Show Your Privates on Tuesday November 03, 2020 @12:06AM (#24976521)
> ...email providers to try deploying a key management strategy similar to the one I’ve described in this post.

Assuming author meant key rotation, Protonmail[1] offers automatic key rotation by using CNAME that alias to DKIM TXT which is rotated once in a while.

[1]: https://protonmail.com/support/knowledge-base/anti-spoofing/

Re:Show HN: Build a DIY license plate reader with machine learning on Thursday September 17, 2020 @12:08AM (#24501098)
This reminds me of an article [1] I read a few years back which utilised OpenALPR.

[1]: https://www.freecodecamp.org/news/how-i-replicated-an-86-mil...

If credit is not required, looks like a public domain thing. CC0 [1] is one, there are also some other public domain licenses [2].

[1]: https://creativecommons.org/publicdomain/zero/1.0/

[2]: https://choosealicense.com/appendix/

Re:A new hash algorithm for Git on Tuesday February 04, 2020 @04:50AM (#22233910)
The decision was made before the release of Blake3. The article did mention the algorithm is no longer hardcoded (hence the ability to support both SHA1 & SHA256). This means it's possible to transition to Blake3 (or any other) in future, though it won't be trivial.
Re:Every Google result now looks like an ad on Wednesday January 22, 2020 @02:06AM (#22115288)
Startpage shows more relevant local results for me, it's essentially a proxy to Google search. DDG supports redirect to Startpage by using "!s".
Re:DuckDuckGo Lite on Saturday January 18, 2020 @01:08AM (#22082673)
I get the error when I search using right-click menu or through an embedded search box. Regular search works fine.

The ones not working have Origin request header.

Re:DuckDuckGo Lite on Saturday January 18, 2020 @12:58AM (#22082644)
html minifer mostly just remove the whitespaces. Compression (gzip or brotli) preserves the source, i.e. decompressed file is exactly the same as the original's; whereas minifier alters the source.
Re:The Ever-Present Glow of LED Greenhouses on Wednesday October 23, 2019 @01:32AM (#21331390)
> claims about LED lifetime costs based on (seemingly false) figures about durability. (E.g. drive around Los Angeles and see the dead/dying LED streetlights all over the place).

LED can be made durable if desired. In Detroit's case[1], the high failure rate can be attributed to manufacturer cutting corner on heat dissipation.

[1]: https://news.ycombinator.com/item?id=19848794

It has been a core feature since v50, albeit with less feature than the addon. It's still disabled by default, just need to toggle the following configs to enable it:

  privacy.userContext.enabled;true
  privacy.userContext.ui.enabled;true
  privacy.userContext.longPressBehavior;2
The last config is so that you can open a new container tab by long-pressing the new tab button.