HNHacker News
TopNewBestAskShowJobs

aborsy

3,203 karma · joined August 2, 2020

submissionscomments
aborsy··on Repetitive negative thinking associated with cognitive decline in older adults
How do politicians and people in the business world maintain a normal life?

There are constant attacks, backstabbing, sues, etc.

aborsy··on Pass: Unix Password Manager
The OS protections apply to all applications. In addition, the job of agents like gpg-agent or ssh-agent is to protect secret keys while they are cached (like preventing OS writing keys to swaps). You can configure them to erase keys after a certain time, require user’s confirmation for each key operation, store gpg keys in internal TPM or external hsm, and would talk to the agent through specific sockets.

Unlike browser-based password managers, the agents don’t continuously interact with the browser code and remote elements (probably don’t have network access at all).

One area that matters that I forgot to mention in my comment below is that, as a result of all above, Pass doesn’t check the domains and doesn’t protect against phishing. There might be extensions, but at that point, you might as well use keepassxc.

aborsy··on Pass: Unix Password Manager
That’s true for any password manager. If the database/store is unlocked (so the master password is cached or available in RAM), all passwords can be extracted. You have to lock the password manager when you don’t need it.

In fact, with Bitwarden, the cached password is exposed to the browser that has a large attack surface (including interacting with random remote servers). There was just a vulnerability in most browser based password managers including Bitwarden that would allow a remote attacker trick a user send out their passwords.

I use Bitwarden but mostly for non-critical passwords.

aborsy··on Pass: Unix Password Manager
Nothing specific to pass. It’s just Yubikey setup with GPG; that’s part of the appeal!

https://github.com/drduh/YubiKey-Guide

This guide covers many adjacent topics; the relevant part is generating the secret key inside Yubikey, or in an airgapped system and doing “key-to-card” in gpg.

aborsy··on Pass: Unix Password Manager
I have heavily used Pass over the years. Here are some of its pros (an update to my comment several years ago):

* Your secret key can be stored in Yubikey, handled by a dedicated OpenPGP agent. This allows deriving a strong key from a weak one. Your password is basically a short PIN with max 3 tries. Every password retrieval can require a physical touch. This is convenient and secure!

Pass makes sense if you use it with a hardware key, with touch enabled. With this setup, it’s hard to beat its security.

* It uses public key cryptography, and comes with its advantages. You don’t need your master password to add/encrypt passwords. You only need that for decryption. Less exposure of master key, and more convenience.

For that reason, it’s well suited to share passwords with other people or devices. You can encrypt to multiple public keys. This adds multi user and device support.

You can easily add a backup offline public key (which you may print) if you lose your Yubikey.

* You can decrypt a single password without decrypting and exposing other passwords. The passwords are isolated, if you use Yubikey.

* Searching passwords is quick and transparent. You easily see what is in your store.

* You can use it programmatically, eg, your backup script can grab a password from the store.

* It’s a short bash script that you can verify, and delegates encryption to a dedicated well-audited cryptographic tool.

* PGP is a standard, and GPG and git are widely available. There is no database to break or migrate. You can read your passwords anywhere and in the future.

* The script is written by the creator of the acclaimed Wireguard!

There are also cons.

* Some people don’t like that it leaks metadata (filenames, and password tree), though there are versions of pass that fix it.

* Lately gpg is causing some troubles with Debian Trixie. GPG agent frequently locks the Yubikey and requires restarting pcscd (probably due to conflicts with pcscd). There is a similar tool Passage using Age, maybe that solves it.

* There are mobile apps, but they are not as frequently updated as something like Bitwarden apps (which has client for every OS, and frequently fixes bugs and adds functionality).

* I haven’t used and not sure how good browser support is.

Here is a post on a similar password management with GPG replaced with Age

https://words.filippo.io/passage/

aborsy··on Old timers, what did you read to study Unix or languages by the book?
Is there a more in depth introduction to Linux than the book you cited?

It’s long and covers many topics, yet sometimes not in sufficient detail (see boot process).

aborsy··on Tarsnap is cozy
As several said, Restic does the same for free (bring your own storage). Tarsnap makes no sense, it’s 50-100X more expensive than alternatives.

And Restic is good quality software.

aborsy··on OpenWrt: A Linux OS targeting embedded devices
See

https://www.wundertech.net/opnsense-vs-openwrt/

To be clear, OpenWRT is a great OS. The UI is a bit old fashioned, existing functionality could be exposed more cleanly, and the terminology could be more intuitive.

This is basically what gl-inet did! You can compare how they expose functionality. Of course, it’s limited, but eventually the remaining features in LUCI could be incorporated in the same UI.

aborsy··on Dropbox Paper mobile App Discontinuation
Dropbox is example of a bad company.

Why Dropbox doesn’t offer features adjacent to sync, like: end to end encryption for consumers, backup solutions like backblaze, S3-like buckets, controls like with S3 (like those related to IAM), tools to monitor folders and see analytics, flexible storage plans, equivalent of the Firefox/Bitwarden send, equivalent of services like ProtonDrive, and stop locking down ordinary features behind additional payment wall (even in paid plans, like using your available storage with more than one user for security and for defining scope for each device). My Dropbox Plus $120/year offers a fraction of what my managed nextcloud provides.

If you pay Dropbox 10$/month, you can’t set a damn password or expiry date to the file that you share. You have to pay even more for this simple feature.

Their password manager is limited to 50 passwords in their free plan. What these people are thinking?

aborsy··on Signal Secure Backups
Come on, $2/month is nothing, and doubtful would raise much of “revenue “. That’s a coffee a month.
aborsy··on OpenWrt: A Linux OS targeting embedded devices
I come from OPNSense (different use case). Nice well-designed robust UI, even if people say opnsense is flexible and thus complex.

Given that, I feel GL-inet users rarely visit the advanced section (Luci).

aborsy··on OpenWrt: A Linux OS targeting embedded devices
Couldn’t developers of OpenWRT come up with a better UI?

It’s not user friendly at all.

aborsy··on Troubleshooting ZFS – Common Issues and How to Fix Them
I think ZFS send -w should be default. You enter a flag if you want to send plaintext.

Also something like sanoid needs to be built in to ZFS. Find out all newer snapshots at source by zfs list and send the first and last.

Nice website btw. Does anyone know what tools are used to build this website?

aborsy··on Who Owns, Operates, and Develops Your VPN Matters
Do people here trust their ISPs more than their VPN providers? That’s the question!

On the other hand, as far as privacy from the end point is concerned, users can be identified regardless of IP addresses. Visit fingerprint.com, you will get an identifier, then connect to a privacy VPN and change servers once in a while. The website will identify you, tell you are the same user visited last week from such location, and the number of times you visited.

Browsers (except Tor) send so much data that accurate identification is possible without IP address. And services could refuse to work if users don’t provide the required information, although that info could be randomized.

aborsy··on Ask HN: Best self-hosted wiki solution in 2025? Mediawiki or something else?
I spent some time searching for a good wiki a few months ago.

It depends on your use case. The simplest and oldest wiki might be Docuwiki. There is no database, and organization is based on text files in folders. You can make decent wikis with it, but it’s minimalist and can be hard for the users to use it.

Then we have enterprise solutions for collaboration by Microsoft, Google, Atlassian, etc. They can’t be used in our workplace, due to organization policy.

I went with Bookstack for a wiki to be used by a group of people. The interface and fonts are pretty, it’s super fast, installation is easy, and automatic updates have been problem free so far. The content must be organized in terms of shelves/books/chapters/pages, but some people want any number of categories and titles. It doesn’t allow a lot of customization, but the choices made are OK.

Mediawiki is complex, and takes more time to administer. It could make sense for large number of users. I stopped using it after upgrades broke the installation a few times, and, frankly, the interface looks outdated to me in most themes, and needs customization which takes time. Obviously, it’s very customizable, there are tons of resources and we know it can scale to billions of people!

aborsy··on The Synology End Game
Why can’t the user enter the encryption passphrase in DSM, which is actually the default in LUKS and allowed in TrueNAS etc?

The DSM itself lives in an unencrypted partition or volume. Applications with data in encrypted volumes will be inaccessible until the volumes are unlocked.

As usual, there is an easy workaround. You can run a KMIP server in a docker container and set up an external keystore. Once synology allows you to proceed with volume encryption, you can discard the KMIP server if you want and use the recovery keys.

aborsy··on The Synology End Game
I back up to Synology, but always recover from ZFS.

Synology DSM has all kinds of limitations and is slow. Your encryption cannot be like this, you cannot store data in your NVMes, the number of versions must be limited to that, you cannot search snapshots, Hyperbackup explorer provides just one button: Recover (compare that with restic or Borg!), encryption in HB is opaque, ABB is limited to specific kernel versions, information out of SMART is limited, cannot upgrade drives’ firmware, search options are too limited and search is bad, OpenVPN is old and has compatibility issues with newer systems, … I can go on and on!

You cannot compare that with a backup system with ZFS, restic/borg, syncthing and rclone, in the same class!

aborsy··on The MiniPC Revolution
Thanks!

AOOSTAR 2-bay AMD R7 5825U mini PC seems to check the boxes, for an entry-level storage + virtualization miniPC host. The CPU is similar to AMD R7 5800H in a Beelink SER5 Pro miniPC which runs proxmox very well.

It has a cpu with 8C/16T, up to 4.5GHz, and supports max 2x32gb DDR4 3200Mhz RAM, 2x4T PCIe 3.0 M.2 NVMes and 2x2.5G NICs.

aborsy··on The MiniPC Revolution
But a two bay NAS is typically maxed out at 16 GB of RAM, see UGREEN or QNAP. The CPUs are also dog slow for non-NAS tasks, like running VMs and containers.

Zimaboards come close. Two sata ports and 1-2 NVMe via PCIe. I heard the board may not be able to power all these drives. RAM is limited to 8-16 GB.

I guess I should separate HDD storage in a proper NAS and use a miniPC for VMs and containers only.

aborsy··on The MiniPC Revolution
Yeah I know, like Beelink 6 NVMe. But NVMe storage is not affordable at high capacities. So, I want two +14 TB HDDs for cold slow storage, and two 4 TB for fast warm storage for VMs, containers, databases, and applications.

I also need a lot of RAM for proxmox VMs and containers. The CPU in my experience need not have many cores. I mean truenas itself virtualized demands 8GB of RAM.

aborsy··on The MiniPC Revolution
Does anyone have recommendation for a mini PC with min 2 sata ports for two 3.5” HDDs, min 2 NVMe for ssd storage, one ssd or eMMC for OS, and 64GB of RAM, with the ability to power up the HDDs from the miniPC (not requiring external power source)?

The HDDs are installed in a case externally. An external PCIe slot to support those 4 mixed drives via an adapter would work too. I tend to avoid usb HDDs enclosures, since usb connection doesn’t work well with ZFS.

That would be a cool ZFS NAS.

aborsy··on Ask HN: What to do with a pure mathematics degree?
If you do the job that the employer wants, does it matter you are 27 or 77?!

They get what they want.

aborsy··on Ask HN: Which Linux or windows desktop do you find the easiest and fastest?
Debian Trixie is snappy. Feels faster than Ubuntu and Fedora.
aborsy··on Mozilla Firefox Is Dying
It’s been my default browser, also at universities I have been to (many use Linux desktop in common PCs). No issues.

Those items you mentioned are not really issues so to speak. You could say things like that about anything.

aborsy··on Debian 13 “Trixie”
The difference between Debian and Ubuntu is decreasing with each release recently. I was pleasantly surprised that Debian recognized all hardware components in my laptop released one year ago out of the box.

Hardware support is good and UI is great! It feels snappier than Ubuntu, may be due to lack of snap and fewer services and applications installed by default.

aborsy··on Encrypted back up to SMB and Proton Drive with rclone
If you want backup, restic is the way to go. Rclone sends your files, it’s not a backup tool. I think it has some kind of versioning, not really a backup feature.
aborsy··on Encrypted back up to SMB and Proton Drive with rclone
If you use crypt backend of rclone, you don’t need end to end encryption of proton.
aborsy··on Terence Tao on the suspension of UCLA grants
Research 50 years ago, sure. Research now is very different. It’s short term, chasing money, trends, citations, prestige, hierarchy, academic power, and applications. Public should fund only the useful part of it.
aborsy··on Proton Authenticator – secure 2FA, your way
Does the world need yet another authenticator?

While Proton’s existing products need a lot of work.

aborsy··on The future is not self-hosted, but self-sovereign
Go to a grad office and talk to PhD students in technical subjects (other than CS). Ask them, what is a certificate, DNS, reverse proxy, SSH public key, docker, TCP/IP, hypervisor, … You would be surprised how many people have no idea! You can’t expect people manage their servers.

I spent half of today tracking down a DNS issue at home. Your home lab will evolve and there will be changes. You need to stay current with the required knowledge, and that takes time and attention.

← PreviousPage 8 of 34Next →