Hacker Newsnew | past | comments | ask | show | jobs | submit | lstoll's commentslogin

We use an AWS KMS asymmetric key for the CA keys, they're cheap and avoids exposing the private key material in an any way.

For signing SSH certificates, we run a small service (prototype code dump at https://github.com/pardot/sshsigner) that uses this key to sign short lived certificates. Auth to the service is via OIDC issued ID tokens.

On the client side we have a custom SSH agent that uses an ephemeral in-memory private key. The agent manages the OIDC web flow and calling out to the service for signing on demand. This lets us keep the cert duration small and scoped, and allows us to force re-auth for sudo etc. via the web flow.

We also do a similar thing for host keys, IAM auth the instances and sign certificates.

Altogether works well, provides a nice user experience, and keeps long-lived/leakable creds out of out environment.


I migrated from the EU to the US, but then realised that once everything was factored in (medical, car, housing, cost of living) the taxes were actually worth it, so I moved back to the EU.


Did you compare EU to Singapore or Thailand in terms of tax and the life cost?


you don't have to predict that exact scenario to know that domestic semiconductor manufacturing is a good idea.


This is fine while you're employed, but what if you lose your position or decide to take a couple years off? Then it becomes a different equation.

Spread out over time, in the places I lived outside of the US that was not really a concern. Same with most other "social care" situations. In the US, it all felt a lot more tenuous which was a source of constant low-key anxiety.


COBRA coverage is very affordable for tech company ex-employees because their workforces skew young, male, and healthy. So that’s another 18 months.

It’s certainly not perfect, and in my citizen hat I think it’s quite flawed, by as experienced by most software engineers it is not a huge concern.


Git also supports S/MIME, and GitHub provides a tool to sign commits with this directly https://github.blog/changelog/2018-09-10-smime-signature-ver...


S/MIME and PGP share the same basic problem: they provide a container for the basic public-key crypto primitives (signing and encryption) together with an identification of the public key and leave it at that. Throw on top of that tools that are usually uninterested in actually thinking about how policy decisions affect cryptographic security and you have an example of security theater.


I've seen similar projects that use S/MIME for identity management, but as seen from the README of the tool[0] the benefits of PGP's web of trust can be seen in unstructured environments. Online identities are perhaps the most unstructured environment, where aliases and personas are the norm.

[0]: https://github.com/github/smimesign


It used to use RubyEncoder, now it uses something custom. The overhead is very minimal, and it's only when the source is read off disk.


We just keep all our go code in one repo.


Heroku already does this pretty well, not sure what the benefit would be?


There's already a `goenv` https://github.com/wfarr/goenv, that I've been using for a bit. Also can do go version management.


Thanks for pointing this out, I hadn't found it.


There is, it's just not officially supported: https://github.com/heroku/heroku-buildpack-php . Github lists it as having 82 forks, so people are definitely playing around with this.


Yep. You can even run Wordpress with our fork: https://github.com/Americastestkitchen/heroku-wordpress-php/


How do you deal with uploaded files/persistent storage?


S3. Ignore the scary warning, this plugin works great for us: http://wordpress.org/extend/plugins/tantan-s3/


Surprised it's using mod_php instead of PHP-FPM


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

Search: