News for hackers. Stuff that matters.

jamieweb

Re:Ask HN: What are some good methods to prove current time? on Sunday October 11, 2020 @11:22AM (#24746386)
I looked into this a few years ago[1]. The solution I came to involves putting the hash of the most recent Bitcoin block in your document, and then signing the hash of your document into the Bitcoin blockchain.

This cryptographically proves that the document was created/published within those two time bounds.

This of course doesn't help in all cases, i.e. you could edit an old document to make it look newer, but I'm not aware of any way to properly solve that particular problem without a trusted third-party.

[1] https://www.jamieweb.net/blog/proof-of-timestamp/

Re:Ask HN: What are you using headless Chrome for? on Sunday September 27, 2020 @09:07AM (#24606352)
This has been absorbed into an internal repo now, but the original version that I wrote a couple of years ago is here: https://gitlab.com/jamieweb/travis-ci_csp-tester/
Re:Ask HN: What are you using headless Chrome for? on Sunday September 27, 2020 @09:04AM (#24606338)
cURL doesn't load subresources or honour Content-Security-Policy headers as this is beyond the scope of what it's supposed to do.
Re:Ask HN: What are you using headless Chrome for? on Wednesday September 23, 2020 @05:16PM (#24572136)
I use it to test my Content-Security-Policy by crawling my whole site and capturing any violation reports that are sent.
Re:Ask HN: What domain registrar do you use/trust? on Tuesday September 22, 2020 @03:55PM (#24559072)
Cloudflare Registrar - it's one of the only truly security-oriented ones out there, and they offer wholesale rates, which is a nice bonus.
Re:Ask HN: What do you use serverless for? on Tuesday September 15, 2020 @03:29PM (#24485693)
I use Cloudflare Workers for:

* Serving a standard security.txt file for all websites within my account

* Automatically rewriting the case of URLs for a CMS that doesn't support case-insensitivity

* Adding security headers to sites that don't support adding them locally (e.g. third-party hosting)

* Proxying requests elsewhere directly from the 'edge', rather than having to run my own proxy

* Serving static config files, e.g. mta-sts.txt, proxy.pac

Re:Tell HN: YouTube have discontinued email notifications on Saturday August 15, 2020 @08:46PM (#24173786)
Feedly lets you 'subscribe' to YT channels, so you can see all of the uploads in your Feedly feed.

Just search for a channel when adding a source. If it doesn't come up, paste in a direct link to the channel homepage and it'll find it.

Re:Tell HN: YouTube have discontinued email notifications on Friday August 14, 2020 @02:41PM (#24161640)
For those who've ended up here, my solution for now is to use Feedly.

Tell HN: YouTube have discontinued email notifications

I just logged on to my email to find no YouTube notifications for the past 12 hours, which is very rare/unusual.It turns out that they have discontinued the feature, with little to no notice for users: https://support.google.com/youtube/thread/63269933?hl=enAs some one who relies on these emails and reads every single one, this is terrible...Does anyone have any ideas for an alternative? RSS...

( Read More... | 4 comments | 6 points | on HN )
Re:Why is there only one Snap Store? on Thursday August 13, 2020 @03:06PM (#24147023)
My main reason for disliking Snap is the fact that it allows anybody in the world to publish a package with minimal moderation. This completely undermines the inherent trust that system package managers should have.

When installing critical system packages, I want to be absolutely certain that these are legitimate/official, and that even if I make a minor error in typing a command, I won't inadvertently install some sort of typosquatted fake version of the package.

When using Apt with the default repositories, this isn't a problem at all, as only known, trusted packages are available. In other words, there's no chance of someone publishing a fierfox or apahce2 package to try to typosquat someone.

I don't even want to talk about the forced automatic updates either... these make it essentially impossible to have a stable/reliable system for specialist use cases, e.g. browser testing, bastion host, build environment, where control over updates is very important.

On the sandboxing - it's good in principle, but rarely seems to be implemented in a truly meaningful way, as ultimately once you have home drive access, you don't even need to worry about escalating privileges as everything valuable is probably in your home area! There's an xkcd about this somewhere...

Re:Ubuntu Will No Longer Track Which Packages Users Install on Wednesday July 15, 2020 @02:10PM (#23849224)
Just to confirm, this only seems to relate to popcon/popularity-contest, and not the other data collection features.

The other two main ones are Apport for crash reporting, and ubuntu-report, which sends system info if opted-in at install.

Re:Ask HN: Best ways to retain qualified employees? on Monday July 06, 2020 @02:43PM (#23751247)
Allow developers/engineers to use an OS and tooling that they're comfortable with. There must be choice between text editors, IDEs, browsers, shells, etc.

Also don't try to control this centrally. Once developers have proven themselves to be competent at operating a computer, they shouldn't be forced to use a locked-down corporate machine.

Re:Ask HN: What's broken about the internet? on Wednesday June 17, 2020 @06:47PM (#23557710)
Yes, would love a 'pull' based system. You can usually tell just from the subject/preview whether you actually need an email.
My favourite one is a CMS, which stands for Crematorium Management System.
Re:Ask HN: An Attempted Hack from 112.168.59.114 on Monday June 15, 2020 @01:47PM (#23530468)
The tk, gq, cf, ml and ga TLDs offer free registration, so they're widely used in scams and fraud.

In most cases you can safely block all traffic to/from them, as well as email addresses using them.

Re:Need recommendation for a better mail server host on Thursday June 11, 2020 @02:51PM (#23492099)
My recommendation is Fastmail for personal/business email/mailboxes, and Mailgun for a transactional email API.
Re:Linux Mint Dumps Ubuntu Snap on Friday June 05, 2020 @07:25PM (#23435160)
Pop!_OS is what you're looking for IMO.
Re:Google Domains blocking all Gitbook URLS: post-mortem on Thursday June 04, 2020 @07:25PM (#23423211)
You can transfer a domain with no downtime. The name servers will remain during the transfer, so as long as your DNS isn't dependent on the domain registrar, you'll be fine.

If you are using the registrar's built-in DNS hosting, move away from this first, which can also be done with no downtime.

Re:Google Domains blocking all Gitbook URLS: post-mortem on Thursday June 04, 2020 @07:19PM (#23423151)
I love your service, I use it every day. :)

I find that a lot of phishing sites these days are hosted on legitimate sites that have been backdoored, but are continuing to operate as normal.

The phishing page is hidden away in the /.well-known/ directory or another similar one, so the website owner is non-the-wiser.

As a side note, I was very impressed/delighted by the message on the site when JavaScript is disabled:

> Sorry pal, but this won't work without a JavaScript. You are probably doing that for privacy reasons, and I do respect that. I tried to handle the noscript case gracefully, but there is only so much I could do. You can download this website, inspect the source code, and run it locally. Or, if you think this website is trustworthy enough, you can whitelist it in your browser or a script blocker. I don't have any third-party trackers on this website (only a CDN), so you will be safe here.

Re:I bought netflix.soy on Monday May 25, 2020 @06:52PM (#23305733)
A somewhat relevant project of mine, where you can test how good you are at spotting these sort of domains: https://www.jamieweb.net/apps/lookalike-domains-test/
This is especially concerning considering that GitLab is a technology company consisting of mostly technical staff.

For a crafted spear-phish like the one used in this test, I wonder what the failure rate would be in larger, non-tech organisations?

Re:Ask HN: “Git” for Microsoft Office? on Wednesday May 20, 2020 @04:53PM (#23251659)
Ah yes, I love working out which is the most recent document out of:

* Document1 FINAL

* Document1 FINAL DRAFT (DO NOT EDIT)

* Document1 FINAL EDITED

* Document1 v2 FINAL

Older »