Re:Airborn: Create and edit files online, securely
by lucideer on Wednesday March 21, 2018 @12:10PM
(#16639416)
This looks potentially nice.
The initial assumption with these types of services is always that an attacker, having compromised their servers, could simply inject malicious code into the browser.
From their docs:
> Normally, when hackers get access to your server, they can change the code that gets sent to customers. For example, they could make the code say "send your password to us". Then, even though they can't read documents immediately, passwords start coming in and they can soon read them.
> To solve this, we're using a relatively new web technology (Service Workers) to install some code which can't be changed without setting off a warning to you. That code then keeps taps on all other code, and checks that it matches the publicly available version on GitHub.
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @01:45PM
(#16640563)
The Service Worker doesn't simply check a signature from the developer, it checks the source code against the version on GitHub. So, to know whether it contains a backdoor, read the code on GitHub.
Re:Airborn: Create and edit files online, securely
by lucideer on Friday March 23, 2018 @12:02PM
(#16659427)
It's similar to the keybase.io identity model (using popular services as defacto authories). It might be overkill but it could be nice to supplement that with a check of the repo mirrored on e.g. Bitbucket and Gitlab.
Re:Airborn: Create and edit files online, securely
by twiss on Friday March 23, 2018 @02:23PM
(#16661115)
Yes, definitely. GitLab's API is very similar to GitHub's, except that it doesn't support CORS. If that's fixed it should be pretty simple to add support for GitLab.
Re:Airborn: Create and edit files online, securely
by Shoothe on Wednesday March 21, 2018 @05:07PM
(#16642418)
I wonder what do they do with Service Worker updates that the browser normally does every day or so. Do they somehow block install and activate events? If not then the attacker just needs to update the worker and the history repeats.
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @05:11PM
(#16642457)
There's no way to block activate events, but there's a way to delay them. In the meantime, you can check the new Service Worker file against GitHub, and if it doesn't match, warn the user.
Re:Airborn: Create and edit files online, securely
by prophesi on Wednesday March 21, 2018 @12:19PM
(#16639544)
I like how they don't flaunt crypto terms all over the place. Calling encrypted content "gibberish" is fun.
And I think it's a genius use-case for Service Workers. From their security page[0]: "we're using a relatively new web technology (Service Workers) to install some code which can't be changed without setting off a warning to you. That code then keeps taps[sic] on all other code, and checks that it matches the publicly available version on GitHub."
Combine this with HSTS, and you can be certain the code running hasn't been modified by a third-party.
Re:Airborn: Create and edit files online, securely
by forapurpose on Wednesday March 21, 2018 @02:21PM
(#16640948)
> you can be certain
To be precise: If it works as described, it makes it (a little? substantially? orders of magnitude?) more difficult for third parties to modify the code.
Re:Airborn: Create and edit files online, securely
by prophesi on Wednesday March 21, 2018 @02:33PM
(#16641055)
Very true. You probably still need to trust that the developers' Github accounts aren't compromised. I was looking at their repo[0] for this Service Worker verification, and their "So what's the problem this solves?" section confuses me, as it doesn't explain the how. :/
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @02:45PM
(#16641151)
While a hacker gaining access to the developers' GitHub account would be bad, they would still have to actually push the malicious code to GitHub before they can serve it from airborn.io. So, if people pay attention to pushes to GitHub, this attack could still be detected (but not prevented). For prevention, one possibility would be to require all commits to have been on GitHub for at least 24h or so. Then, the devs would have some time to try and get their accounts back. We don't implement that today, though.
That section attempts to explain how web apps work today, if you don't use that library. Reading the entire thing back, I agree that the how is never explained very well, although https://www.airborn.io/docs/security does explain it.
Re:Airborn: Create and edit files online, securely
by chatmasta on Wednesday March 21, 2018 @03:24PM
(#16641441)
That’s ironic because I have about 500 emails from this Patrick guy spamming my inbox from 2014-2016. I’m quite sure I never opted in; I just searched my inbox for a subscription confirmation email and could not find it.
Seems like Patrick is in this thread, so sorry if I’m off-base, but I really would like to know what I did to deserve hundreds of emails from “Patrick at Price Intelligently,” because I’m pretty sure I never subscribed to his list.
(It’s not just him, btw - the worst are the GitHub profile scrapers that somehow manage to make it into my “primary” inbox)
Re:Airborn: Create and edit files online, securely
by pccampbell on Wednesday March 21, 2018 @03:39PM
(#16641566)
Hey there - this doesn't sound good (and definitely not our intention). We ported over some contacts here and there from different marketing migrations, but always made sure to hide out any unsubs or things like that. I just looked in our DB for the email address in your HN profile and I'm not seeing it anywhere, so I'm assuming it's a different email address.
Ironically, could you email me the email address to patrick[at]priceintelligently[dot]com and I'll investigate. If it slipped in or you ended up actually opting in, definitely will take it out. If it's a larger issue, definitely will solve it. Obviously, apologies either way.
Re:Airborn: Create and edit files online, securely
by chatmasta on Wednesday March 21, 2018 @04:30PM
(#16642073)
It was probably my school email (which still works). Either way, the emails stopped in 2016. So no worries, it’s not worth looking into, but I sincerely appreciate your responding. Good luck with the business.
(Porting contacts between lists seems dangerous btw. IANAL but pretty sure subscribing to one list does not count as opting-in to another.)
Re:Airborn: Create and edit files online, securely
by pccampbell on Wednesday March 21, 2018 @05:51PM
(#16642755)
Yea - found you actually and can share meta details privately if you liked. Fortunately wasn't the DB port.
On that front we automatically just don't touch any of the unsubs for the new system, so was worried that was messed up. Doesn't look like it though. Not a lawyer either, but from my understanding it's the same list even if you change marketing automation/email products. GDPR is making this fun, too. :)
Re:Airborn: Create and edit files online, securely
by iamwil on Wednesday March 21, 2018 @12:06PM
(#16639369)
Airborn needs to charge more for their business users. If there's one common lesson on Indie Hackers, it's that everyone (including customers) stands to gain from charging more.
If Airborn creators on on this thread: how did you think about getting people to pay while making the source available? It doesn't seem commonly done.
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @01:05PM
(#16640112)
Yeah, I'll look at increasing prices. Thanks.
We're basically banking on medium-size businesses finding it more convenient to use a hosted service, especially when it offers the same or a higher level of security.
Re:Airborn: Create and edit files online, securely
by lsh123 on Wednesday March 21, 2018 @07:55PM
(#16643710)
As usual, the discussion about whether something is secure enough or not should start from describing various attack vectors (which will be different for different class of users). AFAIK, the airborn product tries to eliminate an attack on its own servers / data stored on servers and in transit. While it is a good thing but by itself it doesn't necessarily make all the users of the product secure. In particular, they ignore attacks on the client itself, injection on the network, and several other "offline" attack vectors (e.g. taking pictures of user's screen). I understand the desire to make marketing simple for end users, but I really don't think that it helps people make rational decisions about security.
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @12:28PM
(#16639668)
- When you create a collaboration link, it contains an encryption key. (You can additionally also set a password.) All messages sent to the server by collaborators are then encrypted with those. The collaboration algorithm is currently quite simple, and paragraphs are locked when editing them. In the future we'd like to use a P2P algorithm, e.g. using Y.js. [1]
- When you sign up, the page downloads a file on your PC which contains your username, and your password encrypted with a "password recovery key". When you lose your password, we send you your password recovery key and you can decrypt your password with it.
Login being broken is weird, do you see any errors?
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @07:24PM
(#16643430)
Certainly - although the JS can also just read the document and submit that. To make sure that it isn't doing either, you'd have to read the code on GitHub.
Re:Airborn: Create and edit files online, securely
by otoburb on Wednesday March 21, 2018 @12:06PM
(#16639373)
Great way to comply with GDPR! Also presumably reduces your data management overhead slightly, although it seems you're still storing data on your own systems[1]. This reminds me of SpiderOak's "No Knowledge" claim[2].
Re:Airborn: Create and edit files online, securely
by alehul on Wednesday March 21, 2018 @12:07PM
(#16639383)
(Disclaimer: I don't know much at all about the current standards of encryption)
Is this security not already standard, and not practiced by companies like Dropbox? As a side note, I like the collaboration aspect and one-person-per-paragraph is a pretty smart idea!
Edit: To those downvoting, sorry, I'm just curious and I think some of us were unaware of the differences between Airborn and other services, which I've now learned can still view your data
Re:Airborn: Create and edit files online, securely
by CGamesPlay on Wednesday March 21, 2018 @12:09PM
(#16639409)
Most "encrypted communications" means that no unauthorized third parties can view the data as a result of the encryption. However, even if Dropbox stores your files encrypted, they still have the keys to those files and so could be coerced into decrypting (them through a warrant, for example).
Re:Airborn: Create and edit files online, securely
by ummonk on Wednesday March 21, 2018 @05:22PM
(#16642545)
Have you considered increasing your pricing, and adding more premium features? As a supporter of client-side encryption in cloud apps, I really want to make sure you have a sustainable business. https://training.kalzumeus.com/newsletters/archive/saas_pric...
Re:Airborn: Create and edit files online, securely
by anf on Wednesday March 21, 2018 @05:42PM
(#16642684)
A Premium Enterprise support Platinum Plan for $500/mo can be a big seller and allegedly the minimum expense report you can file in some large orgs [1].
Re:Airborn: Create and edit files online, securely
by udia on Wednesday March 21, 2018 @06:33PM
(#16643039)
I just tried using this app with one of my friends and I found that editing in real time between two people wasn't working as intended. When someone else wrote text, the text I wrote (in a separate paragraph) would disappear.
Is anyone else seeing this? It needs a bit more polish before I could use it for encrypted collaborative editing.
Re:Airborn: Create and edit files online, securely
by chatmasta on Wednesday March 21, 2018 @05:49PM
(#16642737)
Like others, I also like the novel service workers solution (mitigation might be more accurate) to client side code integrity.
I’m more interested in how you handle the encryption keys. Specifically, how does a user share a document with another? You mentioned that the “share group” has its own private key; where is this stored?
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @06:38PM
(#16643073)
The encryption key is in the share link, and also stored encrypted in all collaborating users' accounts (if they have one - an account is not required to collaborate).
Re:Airborn: Create and edit files online, securely
by chatmasta on Wednesday March 21, 2018 @08:11PM
(#16643912)
So the user is responsible for securely transmitting the share URL? i.e. Secrets are shared out-of-band?
It’s pretty clever, I like it. Definitely not the holy grail of client side browser-based multiparty encryption, but you’ve found some innovative techniques. Bravo, good luck with it.
Re:Airborn: Create and edit files online, securely
by ocdtrekkie on Wednesday March 21, 2018 @01:33PM
(#16640456)
So I remember trying this before, and it had a 'desktop' and an app store where you could add more apps, but right now the demo seems to be limited to documents and presentations.
Is that a change in focus or a limitation of the demo?
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @01:43PM
(#16640548)
Yeah. I've been focusing on office apps rather than "any apps", and I removed the window manager based on feedback here and elsewhere that it felt too "heavy" and unnecessary. Also, the app store was actually the Firefox OS marketplace, which was shut down. (And to be honest, the apps in it weren't super useful for Airbon to begin with. There weren't very many apps for "serious work".)
Under the hood, it's theoretically still super easy to add/install apps in Airborn, though, and Firefox OS's marketplace server is open source, so maybe in the future?
Re:Airborn: Create and edit files online, securely
by ocdtrekkie on Wednesday March 21, 2018 @01:57PM
(#16640683)
I can agree with that, the window manager was really neat (as I've always indicated these sorts of cloud platforms are like virtual OSes), but probably didn't add much to usability.
Performance seems really smooth, I'm glad to see this is still coming along quite nicely.
Even if it isn't the best UI, I think you really do still need to get something like EtherCalc on here, even for personal use, I love spreadsheets for storing structured information, and for business users, it's almost definitely a need.
Re:Airborn: Create and edit files online, securely
by CGamesPlay on Wednesday March 21, 2018 @12:10PM
(#16639423)
Interesting strategy to list updating the software as a premium feature. Will you make old versions of the software permanently available to customers to install on new devices? Will you support your v1 API forever?
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @12:48PM
(#16639907)
Non-business accounts update to the latest version automatically. If you login to an old non-updated account using a new device, you get the old version. We might eventually notify old accounts that they have to update, but we haven't needed to do so yet. If you pay close attention to the requests by https://www.airborn.io/demo, you can see "v2" :)
Re:Airborn: Create and edit files online, securely
by twiss on Wednesday March 21, 2018 @01:31PM
(#16640440)
You can create a blockquote element by pressing Tab, although it won't have any special styling. If you want, you could add some CSS in Raw view. I'll look into making a control for this specifically, although IIRC browser support for blockquotes in contenteditable is a bit inconsistent.
Regarding inline styles, I don't remember why, sorry. It might again have been to fix some inconsistency between browsers.
Re:Airborn: Create and edit files online, securely
by mapgrep on Wednesday March 21, 2018 @02:33PM
(#16641053)
Thanks for the information. FWIW my main issue with inline styles is, my use case would be taking the HTML into another system, and the more pervasive the inline styles are, the more likely they are to override our the desired styling contained in stylesheets produced by that system. They may help your product work better on purely its own terms but they are (IMO) highly suboptimal when HTML leaves your system and travels.
Re:Airborn: Create and edit files online, securely
by geekamongus on Wednesday March 21, 2018 @02:52PM
(#16641197)
This made the rounds on Reddit a few months ago, and it was called airbornOS back then. Glad to see they dropped the "OS" part, as it really isn't an OS.
The initial assumption with these types of services is always that an attacker, having compromised their servers, could simply inject malicious code into the browser.
From their docs:
> Normally, when hackers get access to your server, they can change the code that gets sent to customers. For example, they could make the code say "send your password to us". Then, even though they can't read documents immediately, passwords start coming in and they can soon read them.
> To solve this, we're using a relatively new web technology (Service Workers) to install some code which can't be changed without setting off a warning to you. That code then keeps taps on all other code, and checks that it matches the publicly available version on GitHub.
Interested to see how robust it is...
But how would you know an app developer wasn't compromised and signed the next version with a backdoor also?
And I think it's a genius use-case for Service Workers. From their security page[0]: "we're using a relatively new web technology (Service Workers) to install some code which can't be changed without setting off a warning to you. That code then keeps taps[sic] on all other code, and checks that it matches the publicly available version on GitHub."
Combine this with HSTS, and you can be certain the code running hasn't been modified by a third-party.
[0] https://www.airborn.io/docs/security
To be precise: If it works as described, it makes it (a little? substantially? orders of magnitude?) more difficult for third parties to modify the code.
"Certain" is not a word used in security, IME.
[0] https://github.com/airbornio/signed-web-apps
That section attempts to explain how web apps work today, if you don't use that library. Reading the entire thing back, I agree that the how is never explained very well, although https://www.airborn.io/docs/security does explain it.
I'd recon they would suggest you keep 2 tiers and add a call us tier for b2b enterprise.
I see where decently sized companies would pay a lot more than $10/month/user to ensure their sensitive docs can't be stolen.
I certainly am no expert but if the product works as it seems this should be more valuable than $100/year/employee.
Always happy to help where I can when it comes to pricing.
PC
He’s going to roast your pricing but I’m sure you’ll grow a ton from it.
Seems like Patrick is in this thread, so sorry if I’m off-base, but I really would like to know what I did to deserve hundreds of emails from “Patrick at Price Intelligently,” because I’m pretty sure I never subscribed to his list.
(It’s not just him, btw - the worst are the GitHub profile scrapers that somehow manage to make it into my “primary” inbox)
Ironically, could you email me the email address to patrick[at]priceintelligently[dot]com and I'll investigate. If it slipped in or you ended up actually opting in, definitely will take it out. If it's a larger issue, definitely will solve it. Obviously, apologies either way.
(Porting contacts between lists seems dangerous btw. IANAL but pretty sure subscribing to one list does not count as opting-in to another.)
On that front we automatically just don't touch any of the unsubs for the new system, so was worried that was messed up. Doesn't look like it though. Not a lawyer either, but from my understanding it's the same list even if you change marketing automation/email products. GDPR is making this fun, too. :)
"Airborn: Create and edit files online, securely."
HN has too many submissions with single-word headlines that tell you absolutely nothing about what you're clicking on.
If Airborn creators on on this thread: how did you think about getting people to pay while making the source available? It doesn't seem commonly done.
We're basically banking on medium-size businesses finding it more convenient to use a hosted service, especially when it offers the same or a higher level of security.
- here [0] "All documents are encrypted before they leave your computer" how then one can collaborate as in gdocs (from the pic it seems like that)
- what key do you use for encrypting the docs? is it the user password? if so it can't be recoverd (as dashlane for example [1]) is this the approach?
PS: the login seems broken https://www.airborn.io/app
[0]https://www.airborn.io/docs/security [1]https://support.dashlane.com/hc/en-us/articles/115003111325
- When you sign up, the page downloads a file on your PC which contains your username, and your password encrypted with a "password recovery key". When you lose your password, we send you your password recovery key and you can decrypt your password with it.
Login being broken is weird, do you see any errors?
[1]: https://github.com/airbornio/airborn/issues/15
Having the password recovery keys, can you decrypt user passwords? Does that matter in this scenario?
[1] https://www.airborn.io/docs/security
[2] https://spideroak.com/no-knowledge/
Is this security not already standard, and not practiced by companies like Dropbox? As a side note, I like the collaboration aspect and one-person-per-paragraph is a pretty smart idea!
Edit: To those downvoting, sorry, I'm just curious and I think some of us were unaware of the differences between Airborn and other services, which I've now learned can still view your data
1. https://www.kalzumeus.com/2012/08/13/doubling-saas-revenue/
Is anyone else seeing this? It needs a bit more polish before I could use it for encrypted collaborative editing.
I’m more interested in how you handle the encryption keys. Specifically, how does a user share a document with another? You mentioned that the “share group” has its own private key; where is this stored?
It’s pretty clever, I like it. Definitely not the holy grail of client side browser-based multiparty encryption, but you’ve found some innovative techniques. Bravo, good luck with it.
Is that a change in focus or a limitation of the demo?
Under the hood, it's theoretically still super easy to add/install apps in Airborn, though, and Firefox OS's marketplace server is open source, so maybe in the future?
Performance seems really smooth, I'm glad to see this is still coming along quite nicely.
Even if it isn't the best UI, I think you really do still need to get something like EtherCalc on here, even for personal use, I love spreadsheets for storing structured information, and for business users, it's almost definitely a need.
Also, is there a reason you're using inline styles to do italics and bold instead of the specific tags for those things?
(Deleted question you answered downthread.)
Regarding inline styles, I don't remember why, sorry. It might again have been to fix some inconsistency between browsers.
Unless e.g. they make the system serve up malicious javascript.
Whether that's important to you, only you can judge.