Live data from Hacker News

Show HN: Portable Secret – How I store my secrets and communicate privately

mprimi.github.io

51–60 of 385 posts

Re: Show HN: Portable Secret – How I store my secrets and communicate privately

#51
post #6

Earlier quoted context omitted.

The first few times I shared this with (security professional) colleagues and friends, they'd dismiss it right away "this can't possibly work", but it was because they _assumed_ it didn't work (too simple). Attaching a challenge made a big difference, they'd spend 5 minutes trying to crack it and, in the process, realize it is actually sound (despite the simplicity).

Why would they dismiss this?

Feels like the default human response in a lot of situations...

Re: Show HN: Portable Secret – How I store my secrets and communicate privately

#52
Cyphers, the algorithms used to encrypt the secret file, become obsolete over time.

We still need to solve for obsolescence. You can encrypt a file today using a cypher that will eventually be removed from all browsers, desktops, and phones.

Re: Show HN: Portable Secret – How I store my secrets and communicate privately

#53
post #41
post #35

Earlier quoted context omitted.

The problem with your scenario is the reading the local files without permission, not the use of the crypto API.

You are right, I'm conflating 2 issues. I'm pretty sure Brave was blocking window.crypto but can't remember if it was on a file or over plain HTTP

Blocking crypto on http:// is to spec (aside from localhost) and all the browsers do that.

Blocking crypto on file:// is not to spec, and testing above (https://news.ycombinator.com/item?id=34084526) none of the browsers do that.

Re: Show HN: Portable Secret – How I store my secrets and communicate privately

#54

Why not use any of a bunch of other services? Surely you can't think your threat model allows for this but not 1pass?

It's not a service.

It's a simple hack and I use it for 3-4 use cases for which no service exists.

Among other things:

- It works offline

- My mom can use it

- It works on any device (even a borrowed one or a newly formatted one)

- It can save me if *all* my devices get stolen

- It can save me if I'm stranded in a foreign country without any document or trusted devices,

- Etc.

Re: Show HN: Portable Secret – How I store my secrets and communicate privately

#56
post #2

"Do you think this cannot possibly be secure? Great, prove it. This secret contains the recovery key for a Bitcoin wallet. Crack it and take my money!" Love it.

This is a smart use of crypto too. The verifiable and public parts of crypto here are a benefit and not a con.

Re: Show HN: Portable Secret – How I store my secrets and communicate privately

#57

This is incredibly cool! Nice demo of a modern browser API I was not aware of, and it's actually useful. I can imagine using this to email confidential PDFs and other small deliverables for clients.

Exactly one of the reasons I came up with this.

One way to see this is "like encrypted PDF, but for any kind of file".

Re: Show HN: Portable Secret – How I store my secrets and communicate privately

#58

This is password protected, so then an attacker must crack the password. The author exchanges the password over a phone call, which requires the password to be relatively weak, meaning the password is probably crackable. Exchanging the password via a second channel that the other user can copy and paste a more difficult password from to decyrpt the document might be more secure. The password may be more exposed, but…

There is nothing requiring the password to be “weak”. It can be a strong password generated with a random number/strong password generator. Sharing a string of characters or a “weak phrase” is no different if reading it to the person.
Post reply on HN