top | item 39548710

(no title)

miniatureape | 2 years ago

A made a little “secret knock” authentication demo.

Shave and a haircut is obviously the secret knock used in the demo

https://miniatureape.github.io/prohibition/

(Nb: I’m sure this doesn’t work great on some devices)

discuss

order

jodacola|2 years ago

Fun! Over a decade ago, my boss and I added a secret knock using Shave and a Haircut just like this to our wayfinder product, a large touchscreen app used on trade show floors.

It’s how we got into our admin to maintenance them at the shows and was useful if something was wrong with the onscreen keyboard (or we didn’t have our own keyboard to attach).

mattbee|2 years ago

I used it for a silly credits screen in football trivia game - summer 2002 I could knock on the screen of a many pub trivia machine to make it show my name :)

toxik|2 years ago

It just always says scram no matter what I do, I can record a single knock and it will still say "scram". Latest Safari on latest macOS.

skolskoly|2 years ago

I had an issue, but I figured it out. The rhythm is not the same as the one on the wikipedia page - which I was already familiar with. After looking at my recordings I realized I was playing it straight, but the default knock recording has a swing/triplet feel.

straight: DAA DA-DA DA DA, DA DA

swung: DAA DA D-DA DA, DA DA

I hope my highly rigorous notation is helpful here

edit - in hindsight this has nothing to do with your problem

esposito|2 years ago

I couldn't get it to pass on my phone, but "scram"/"get out of here" is equivalent to a password rejected/401 response. A single knock does not match the expected pattern, so you would expect it to be rejected.

bmacho|2 years ago

I can't use it on Edge, I tap tap, record, tap tap, do everything I can, but its Scram every time