Hacker News new | past | comments | ask | show | jobs | submit login

The stamps have "unique" codes, but a genuine counterfeit must still have a code -- and to be useful it must duplicate the code on a real stamp.

If the counterfeit gets used first, the stamp is marked as spent, and when the unlucky purchaser of the real stamp tries to use it, they're told theirs is "counterfeit" because it's flagged as "used" in the database?




There was this computer system scandal when lots of post masters were convicted of fraud even though it was known the computer system was buggy. So I wouldn't assume too much competence involved.


That scandal was the Post Office, which is a completely separate organisation from the Royal Mail.


Only since 2011. That scandal started long before that


Where do these people go to pay these fines?


You get a link to the RM website, pay on line. If you don't pay, you don't get to receive the letter/packet involved.


The barcode in the article decodes to "JGB S11221017031011395940006622112101 BC046285E760466C01" if anyone fancies having a crack at making a stamp keygen.


Likely, they use some authenticated hash like HMAC SHA-256 with a schedule of randomly chosen keys added periodically. (Can't really rotate out keys once generated.) GFL reversing the algorithm AND any working key.

Also, an "is it used" database has to be kept to prevent an analog replay attack by reusing the same barcode. The most efficient way to keep track of used stamps would be a bloom filter. A poor implementation would lead to false positives, and mailers being accused of fraud. It also has should be highly reliable, highly available, and geographically disperse.


Would pure random + a central database not be more practical? Assuming the barcode is a 10-by-50 grid, that's 500 bits of entropy. With 100 bits of entropy, you need over 100 trillion codes to have a 0.4% chance of a collision. Every added bit makes it twice as unlikely.

There's no need to have crypto if you're the authority on both assigning and verifying the barcodes. That way, no attacker will be able to create a barcode and have any hope of it working.


They're not the only ones creating barcodes -- stamps come with non-specific data, but bulk mailers are allowed to create their own, with embedded routing and billing codes.

The spec is here: https://www.royalmail.com/sites/default/files/Royal-Mail-Mai...


More likely people (criminals) realized consumers can't protect themselves from near complete fakes and someone's out there making bank.


I didn't actually realize one could fit so much into such a small barcode.

I do wonder if this now means it is in theory possible to track items sent by letter post.


We forget just how automated sorting of mail now is. Only probable manual part is by the person doing delivery, and that is just for their own convenience. Everything else is automated, with few hard to read addresses going through manual sorting. Where they are tracked too.


It is. Other european mail services, e.g. DHL, have been offering tracking for every new stamp for a while now.


What's important is it doesn't prevent counterfeit to consumers, which is failed planning.


If that was true it wouldn’t be marked as counterfeit, the other checkbox would be marked for “already used”


If this is a problem the UK government should ask for their money back and the developer should ask their college for their money back. The only useful property of the barcode is verifiability and its not hard to avoid this problem.


That would be dumb. Nothing prevents attempted reuse of a genuine stamp.


Sorry, what about that would be dumb? Attempted reuse is exactly what would be prevented by scanning the barcode and seeing it had already been used.

This is exactly why gift cards have scratch-off material covering their secret keys, otherwise folks would just take a picture of the next card in the stack, wait for it to be funded, and then use it before the recipient does.

edit: And would you look at that, you can buy stamp sheets on Amazon.co.uk, and users have helpfully submitted a bunch of photos with barcodes visible.


> Sorry, what about that would be dumb?

Reused barcode does not mean counterfeit.

> Attempted reuse is exactly what would be prevented by scanning the barcode and seeing it had already been used.

Sure, but the alleged crime here is not attempted reuse. It is counterfeiting - as shown in the pic of the Royal Mail fee request label.


Just to be clear, nothing from Royal Mail here suggests they suspect reuse.

And the fact it did not tick the reuse box suggests it does not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: