Better HN
topnewbestaskshowjobs
Log inSign up

roustem

339 karma · joined May 19, 2009 (17y ago) · 122 submissions

Created my first program in 1990. Founded AgileBits in 2005. Started working on 1Password for Mac in 2006.

[ my public key: https://keybase.io/roustem; my proof: https://keybase.io/roustem/sigs/OiNyfnkOmHnljwGH3D3PKVzDiqies2d9l5HU-Od2ONo ]

Submissions

comment 8y ago · link · parent

I believe there was a case last year when one of the new AWS features was available in Terraform before it made it to CloudFormation :)

comment 8y ago · link · parent

I would love to migrate to k8s at some point. It would make some things easier. We still need to figure out how to do that without downgrading our existing security configuration -- a lot of it depends on running different services in their own subnets and AWS security roles.

It might be easier now that AWS is starting to support Kubernetes.

comment 8y ago · link · parent

I am sorry if the downtime affected you in any way.

Sending several million emails could be a challenge considering that most of our customers depend on 1Password apps and usually not affected by the downtime.

We do have a status page and Twitter feed where we make announcements:

https://status.1password.com

https://twitter.com/1passwordstatus

comment 8y ago · link · parent

You are right. Our AWS bill could certainly be lower and we will have to start optimizing it at some point.

It is does require extra time/effort though. We deployed 1password.ca and 1password.eu just a few months ago and never really got to that.

The only thing we "optimize" at the moment is the smaller number and size of EC2 instances in non-production environments.

comment 8y ago · link · parent

If our security depended on this information being private then we would be in big trouble.

I would love to go into more details about the environment and some of the things we did to build on top of the default AWS security settings. It was too much information for this post, maybe we will do another one that focuses on security.

comment 8y ago · link · parent

No, these are real code snippets. I only masked the account identifiers.

comment 8y ago · link · parent

I am sorry but I just could not grasp YAML for some reason. I am always confused by its indentation and maps vs lists notation.

comment 9y ago · link · parent

That's how we designed the original 1Password data format (.agilekeychain). It certainly made syncing with Dropbox much simpler.

It does have its drawbacks though. Once you have too many files (and make too many requests), both Dropbox and iCloud will start throttling you.

It also might take a while to reload the data, even from the local disk. We had to add a cache file at some point.

comment 9y ago · link · parent

> Your website has no obvious way on how to buy the standalone version now.

It is not easy. In the beginning we had a website that offered both standalone version and a subscription on the same page. It is easy for HN people to make this decision but we had hundreds of customers purchasing both, most of them having no idea what is the different between license and subscription.

Since the purchase-separate-license-for-each-platform-and-host-data-yourself requires more expertise, it made sense to make it less visible and make the subscription option to be default.

> You guys used to make features that would explicitly avoid server side decryption.

All encryption is still performed on the client side. In fact, with 1Password service we went overboard and now encrypting much more data on the client side than we used to.

We also added a separate Secret Key that makes sure the encryption strength does not depend on the master password alone (many people still use pretty weak master passwords).

comment 9y ago · link · parent

You are correct. This is the main reason 1Password X never uses a web page when it prompts for the master password -- the master password must be entered in the popup that is only accessible to the extension itself.

It is certainly tricky and there are many other concerns. We hope to have a white paper about the security decisions made in 1Password X design.

comment 9y ago · link · parent

The biggest concern with WebCrypto (with the JavaScript code using WebCrypto) is the fact that you have to trust the delivery mechanism.

If there is a problem with TLS then there is a potential for a MITM attack that could modify the JavaScript code.

Another potential issue is phishing. It is easier to create a fake web app compared to a fake native app.

comment 9y ago · link · parent

> You guys have already been caught erasing and hiding the previous versions on your site to convert people to 1Password.com.

Wow, that is BS.

You can download any previous version of 1Password, starting with version 0.8.0 (May 2006):

https://app-updates.agilebits.com/

comment 9y ago · link · parent

Thank you, @newman314!

While we think that subscription makes it easier to use 1Password and not have to purchase apps and upgrades for every platform, there are many users that prefer to use licenses. We are going to support both for upcoming 1Password 7 on Mac and Windows.

The same is true for 1Password service vs host-it-yourself model. I have 30+ vaults shared with my team and family and it is much easier to use the service but I can still keep the data locally and set up sharing manually if needed.

There are some features that are simply not possible without the servers doing the heavy lifting: shared vaults and permissions, travel mode, Chromebooks, etc. I just hope that technically savvy HN crowd understands that and doesn't see it as an attempt to push everyone to have a subscription.

Roustem, Founder of AgileBits

I used to develop 1Password for Mac and iOS. I now develop 1Password service with Go, ReactJS, and Terraform/AWS.

comment 9y ago · link · parent

1Password X is a pure Chrome extension and does not rely on the native app. This has its benefits and obvious drawbacks.

Some of the benefits:

* Simpler installation

* Support for multiple users on the same computer with Chrome user profiles

* Support for Chrome OS

comment 9y ago · link · parent

It is implemented with WebCrypto APIs. The performance would be abysmal in pure JavaScript.

comment 9y ago · link · parent

Teams support has been released long time ago: https://app-updates.agilebits.com/product_history/OPW6

And all our apps have bugs :)

comment 9y ago · link · parent

1Password has over 15 million users across Mac, Windows, iOS and Android platforms.

comment 9y ago · link · parent

We are using WebCrypto in 1Password.com implementation and polyfill with SJCL when a browser does not support the algorithms we need (PBKDF2, AES-GCM in Safari, etc).

comment 10y ago · link · parent

1Password verifies the code signature of the apps connecting to the WebSockets server using SecCodeCheckValidity.

That would prevent connection from the apps that do not have their code signature whitelisted.

comment 10y ago · link · parent

I am one of the 1Password developers.

If you only want to pair it once then you will need to store the pairing secrets somewhere. Since both server and the client are running on the same machine, it is going to be trivial to obtain this information.

Re: other password managers did something. It must have something to do with the disdain for obfuscation that we had for a long time. Encryption is good, obfuscation is a lie. We always felt if we obfuscate something then we will be lying to everyone. I am not blaming anyone and concede that our position might be a bit naive in this case.

comment 10y ago · link · parent

The problem is that in this case both the server and the client are the same machine. And if you have root access to it then you have access to everything including the private keys of the server.

comment 10y ago · link · parent

Unfortunately, there is no way for browser extensions to create Unix sockets,

Also, code signing would prevent anyone from modifying the binaries to change the IP address.

comment 10y ago · link · parent

How would that work when both processes are running on the same Mac, under the same user account?

comment 11y ago · link · parent

Thank you for your help with the 1Password for Teams infrastructure!

comment 11y ago · link · parent

Will the grandkids need oxygen to breathe in 2100?

comment 11y ago · link · parent

I am glad you posted the link here, Jeff!

I never heard of Vol 1 and 2 but now I am going to get all three.

comment 12y ago · link · parent

I used https://www.ssl2buy.com/ in the past few months and it worked well.

comment 14y ago · link · parent

We don't collect any usage information.

About 18 months ago I removed support for iOS 3 and we got a huge pushback from existing users. I spent another month adding back iOS 3 support. I am sure things must be different now.

comment 14y ago · link · parent

I agree.

I am going to add the PBKDF2 strengthening and fix the problem with the PKCS#7 padding mentioned in the article. We plan to submit the 1Password update by the end of March.

The support iOS 3 and the old devices really hurt us there as the performance gap between iPhone 3 and iPhone 4S is huge and so far we were targeting the lowest common denominator. I am still not sure what to do about the older iPhones. We'll probably try to adjust the number of PBKDF2 iterations based on the device. Unfortunately, the PBKDF2 calibration API is only available on iOS 5.

12345