HNHacker News
TopNewBestAskShowJobs

pzb

700 karma · joined January 18, 2011

Peter Bowen

I'm a engineer working at General Motors on a variety of software and hardware projects.

I used to a security engineer at Apple working on iCloud and Apple Cloud Services.

I used to be a Principal Security Engineer at Amazon Web Services.

I used to work in AWS Cryptography and was primarily responsible for Amazon Trust Services, their public CA. My old group also owns AWS CloudHSM, AWS Key Management Service, and some new things. Previously I worked on EC2 and have dabbled in various other parts of AWS.

See http://www.peterbowen.org/ Contact me at pzbowen@gmail.com or peter.z.bowen@gm.com

[ my public key: https://keybase.io/pzb; my proof: https://keybase.io/pzb/sigs/ncn-SquIIOKO-pD9o-CvE96l2zUzrvskCwZ-vo8q8lU ]

submissionscomments
pzb··on Email could have been X.400 times better
X.509 absolutely lives on -- https://www.itu.int/rec/t-rec-x.509 last update was October 2024. However WebPKI uses PKIX which is fairly stubbornly stuck on RFC5280.

On the ITU side, they have made improvements including allowing a plain fully qualified domain name as the subject of a certificate, as an alternative to sequence of set of attributes.

pzb··on How did .agakhan, .ismaili and .imamat get their own TLDs?
From the ICANN site, 154 gTLD agreements have been terminated. I'm not sure how many due to non-payment, but https://domainincite.com/30105-icann-to-terminate-five-new-g... indicates that at least some have been due to non-payment.

https://www.icann.org/en/registry-agreements?sort-column=top...

pzb··on SSDs have become fast, except in the cloud
AWS has stated that there is a "Nitro Card for Instance Storage"[0][1] which is a NVMe PCIe controller that implements transparent encryption[2].

I don't have access to an EC2 instance to check, but you should be able to see the PCIe topology to determine how many physical cards are likely in i4i and im4gn and their PCIe connections. i4i claims to have 8 x 3,750 AWS Nitro SSD, but it isn't clear how many PCIe lanes are used.

Also, AWS claims "Traditionally, SSDs maximize the peak read and write I/O performance. AWS Nitro SSDs are architected to minimize latency and latency variability of I/O intensive workloads [...] which continuously read and write from the SSDs in a sustained manner, for fast and more predictable performance. AWS Nitro SSDs deliver up to 60% lower storage I/O latency and up to 75% reduced storage I/O latency variability [...]"

This could explain the findings in the article - they only meared peak r/w, not predictability.

[0] https://perspectives.mvdirona.com/2019/02/aws-nitro-system/ [1] https://aws.amazon.com/ec2/nitro/ [2] https://d1.awsstatic.com/events/reinvent/2019/REPEAT_2_Power...

pzb··on WeWork’s once robust cash reserves have dwindled, raising chances of default
https://archive.ph/sVNVU
pzb··on IPv4 Transfer Pricing
The data in this post seems behind. https://auctions.ipv4.global/prior-sales shows that the prices have spiked to more than $50 per IP
pzb··on The specs behind the specs – a deep-dive on ASN.1
A couple of years ago I ran into the same confusion of the "TeletexString"/"T61String" data type in ASN.1. After going down the rabbit hole of what is T.61 and trying to map it to Unicode, I reread the ASN.1 (X.690) spec and realized that the authors never actually referenced T.61. Ever since the first edition of ASN.1 in 1988, those strings have not used T.61. They use a character set that is easily mapped to Unicode - https://www.itscj-ipsj.jp/ir/102.pdf, a subset of US ASCII.

Not to say the rest of the spec is notably better. If fully implemented, it requires supporting escape codes in strings to change character sets. I've never seen valid escape codes in real world data, but it probably exists.

As the original article shows, ASN.1 has lots of other challenges and complexity. Trying to write a code generator that supports all the complexity is no trivial task and the only open source one I've seen only generates C code. Protobuf has the advantage of having modern language support (including multiple type safe and memory safe languages).

pzb··on TLD Graveyard
I put together a historical list of TLDs that had been removed in 2017: https://github.com/pzb/TLDs/blob/master/removed/rmtlds.csv . It overlaps with the early part of this list.

.cs was the first removed TLD as far as I was able to find.

pzb··on Show HN: I built a website to better compare USB-C hubs found on Amazon
http://www.simulatechnology.com/Product/Detail/uid/5de9347e-... exists, at least to some extent. It uses the aforementioned chip.
pzb··on Show HN: I built a website to better compare USB-C hubs found on Amazon
Cypress has a chip out for this: https://www.cypress.com/products/ez-usb-hx3pd-usb-31-gen-2-h...

It has one USB Type-C in with 3 USB Type-C out plus 4 USB Standard-A out. One of the C outputs supports downstream charging. Should just be a matter of time until hubs using this chip are widely available.

pzb··on Show HN: I built a website to better compare USB-C hubs found on Amazon
You can do 3840x2160@60Hz (and 24bpp/8bpc) over USB Type-C on newer displays. DisplayPort Alt Mode over USB-C using DisplayPort 1.3/1.4 can support 4K + USB 3 Gen2 on one cable.

https://www.amazon.com/UPTab-10Gbps-60hz-Power-Delivery/dp/B... is an example

pzb··on Say Yes to Markdown, No to MS Word
I've been working on a similar system that is in the process of being adopted by at least one standards group (https://github.com/cabforum/documents ).

I would strongly recommend looking at weasyprint (http://weasyprint.org/ ) for HTML to PDF. It gives much better PDF output and offers CSS print support, so you get page control.

pzb··on Announcing Caddy Commercial Licenses
Unfortunately the "distributing a modified version of an open source project under that project's name" can be problematic from a trademark perspective. This has come up many times before in other projects and led Debian to not use trademarked project names for software. If you are not familiar with the discussions, just search for "IceWeasel".
pzb··on There are very few suitable use cases for DynamoDB
It is important to note that "Dynamo" and "DynamoDB" are two very different things that happen to share many of the same letters. DynamoDB is not Dynamo.
pzb··on 'Single domain' and 'multi domain' HTTPS certificates are the same thing
I think that many newer vendors of certificates are following this model. Let's Encrypt and AWS Certificate Manager both simply have certificates with names. One name, two names, 50 names, still just a "certificate".

(Disclosure, I work with AWS)

pzb··on Why I don't like smartcards, HSMs, YubiKeys, etc.
Both Smart Cards and HSMs can (and frequently do) contain FIPS validated cryptographic modules and can be USB devices. What seems to set them apart is content capacity and speed. A "HSM" can usually store dozens, hundreds, or even tens of thousands of keys and can do numerous cryptographic operations per second. Most "smart cards" can only store a few keys and frequently 1-2 operations per second.

Many HSMs also add advanced authentication capabilities, such as M-of-N access control and/or hardware authenticators (e.g. you need 3 of 5 smart cards to use the HSM). The other key feature usually found in HSMs but not smart cards is backup/cloning without exporting the key (in PKCS#11 terms). This means that the key can be moved between HSMs with all the protections in place. I've yet to see a smart card that does this.

pzb··on Why I don't like smartcards, HSMs, YubiKeys, etc.
The author brings up many reasonable points but seems to mix issues of HSMs & Smart Cards not providing a generic open hardware platform with possible security problems of a platform.

There is no question that there would be value in having a hardware platform that has certain security features, but that alone doesn't meet the requirements of most users of HSMs and Smart cards. The primary use cases I've seen are allowing a third party to have assurance of protection of data stored in the device and assurance of the rules for accessing the data. In most cases this assurance comes from a combination of the hardware itself and the software/firmware running on the hardware. A hardware platform only solves half the problem that most purchasers of HSMs and smart cards are asking vendors to solve.

pzb··on Apple Abandons Development of Wireless Routers
I agree 100%, but they don't have an AP + CloudKey + Security Gateway in one unit. That is what many people effectively want for home use.
pzb··on Code Page 437 Refuses to Die
When encoding those characters in UTF-8, you will never end up with 0x2F as a byte. On of the properties of UTF-8 is that bytes with the high bit not set (e.g. 0x0 to 0x7e) never appear unless the are representing the 0 - 127 codepoints.
pzb··on Jeff Bezos Lifts Veil on His Rocket Company, Blue Origin
How do you do that? Where do you draw the line? Basically every company I've worked for has, at some point and to varying levels, taken government funding. It could be buying off the shelf products in the same manner as every other customer, it could be the company creating a modified product for the government, or it could be taking funding in the form of R&D tax credits.
pzb··on Ask HN: I'm a demotivated SE because I did not get a promotion. What to do?
From first hand experience, big companies are hiring constantly from overseas to the US. If you can pass the interview, they will figure out how to legally get you on payroll. If you are flexible in which countries you will work, so much the better.

However, when you apply to big companies, don't go in saying "I want to be a senior engineer". That means different things at different companies. Quora has some great answers on how the ladders work at the big players; you will see that "Senior" can mean 10+ years of experience at some places. Feel free to send me an email if you want more info about one of the places you mentioned.

pzb··on What Really Happened With the DNC’s “Datagate”?
Yes, most states track voting participation at the voter level. Some track method of voting, other just are a boolean participation flag for each election.
pzb··on What Really Happened With the DNC’s “Datagate”?
In addition to the DNC voter file, there are similar lists available commercially. http://www.voterlistsonline.com/ is run by Aristotle (who tends to have more GOP clients, but is non-partisan). It has many of the consumer data fields already matched that are discussed in the article.

I would not be surprised if Aristotle wasn't one of the six customers to which Georgia sent the data. They have been collecting voter data for years; I worked there for a few months more than 15 year ago, and they already had a nationwide database mostly loaded from 9-track tape.

pzb··on We need to rethink employee compensation
The percentage really doesn't matter. Assume that you could get a $150K cash/stock at a public company (meaning concrete valuation). A startup offers you $80K and says "here is equity to make up the difference". If you assume three years and a 10% chance of them being worth something that means you need RSUs worth at least $2.1M to meet expected loss of salary. I highly doubt you are getting that.
pzb··on Making Pinterest HTTPS
Too bad they didn't include any info on the "unknown Safari issue"
pzb··on Thunderstrike – Apple EFI firmware vulnerability
I assume it was you that asked the question about Secure Boot at the end of this talk at 31C3?
pzb··on A Japanese-based multinational made a CD-based console once
HSMs also vary by manufacturer. The SafeNet Luna you linked to has both tamper as the case level and tamper as the actual HSM level. If you read the FIPS documentation for the SafeNet Luna SA, it has a PCIe card inside with a cryptographic module on the card that is the core to the system. Tampering with that is ever more destructive than just opening the case.
pzb··on Launching in 2015: A Certificate Authority to Encrypt the Entire Web
There is such a thing -- name constraints. It allows exactly what you describe, limiting the valid names for certificates signed by the certificate.
pzb··on Why we use HTTPS for every .gov website we make
No, SSL/TLS is not expensive. I've been running a moderalty high traffic website in EC2 for a few weeks. It is peaking at ~250k requests per minute per c3.8xlarge instance using only 40% CPU. 100% of the traffic is over SSL/TLS and the response size is less than 100 bytes, so most of the overhead is in handshaking (which is much more expensive than just sending data). With a larger response size, the CPU utilization would be even lower.
pzb··on New Compute-Optimized EC2 Instances
Yes. https://twitter.com/bernardgolden/status/532700076494184448 has a picture of slide from re:Invent where we talk about custom servers and storage. The whole slide deck should be online in a few days.
pzb··on Airlines crack down on ‘mileage runs’
It depends on the airline. A few years ago, when I used to fly and average of at least one round trip per week, including many from the US to Europe it would get me: - Free domestic upgrades to business class - Access to showers in the airport, behind security - Hot food and free drinks in the lounge - Priority access for boarding and no baggage charges - Early access to seats for reward usage (including transatlantic business class upgrade) - Access to excellent ground agents to help adjust itineraries, including frequent waiver of change fees - A nice quiet place behind security to wait during layovers

That was basically SA gold. If you are higher tier (e.g. LH HON Circle), then add things like free full service restaurant and private passport control to the list.

Page 1 of 2Next →