I've been concerned about Obsidian sync. IIRC, data goes to AWS servers but where does it go from there?
From reading the Obsidian website, they seem a tiny company. However, it is unclear where they are based and, therefore, what legal obligations they are operating under. What more, Obsidian has so far avoided the levels of compliance that allows for adoption by big businesses. I love me some Obsidian but I'm mindful that, using their services, I just don't know how my data is being treated. I realize vaults are encrypted locally. However, do we know that our vault secret isn't shared with Obsidian? Sure, it's (mostly?) an Electron app. But just how transparent and accountable is Obsidian about their operations?
You don't have to use obsidian sync. Workspaces are just markdown files in your prefered folder structure, with some obsidian metadata (plugins, recently opened, etc). You can back them up in the same way as any files/folders.
I can't answer any of your other questions but Obsidian is owned by Dynalist, which is based in Oakville, Ontario, Canada. Their OCN number is 2538019 if you want to search them up, they're also on CrunchBase https://www.crunchbase.com/organization/dynalist
Obsidian is based in Canada. Obsidian Sync is E2E encrypted so the company has no way of accessing your files. The privacy policy is here https://obsidian.md/privacy
You also do not need to trust Obsidian with any of your data. The files are local to your device so you can sync them however you want. If you don't want to use Obsidian Sync you can use Git, Dropbox, Syncthing, etc.
As others have already pointed out, Sync is not the only option to synchronize notes, Obsidian sync is just a convenience option. For compliance, I am guessing you mean certs like SOC 2 / ISO 27001?, or what are you referencing?
As we are a tiny company (6 people, not all full time) we just can't expense the time needed to get such a certificate.
> AES-256 is a military-grade encryption specification that's widely used in for example online banking. The term “military grade” is meaningless and if anything raises a red flag (at least to me). What would be more useful is a detailed spec on the implementation. Are the crypto routines implemented in house or has a well tested library been used? If in house, had there been an external code audit done? What were the results ?
The data is successfully encrypted before it's sent (which you can verify with wireshark). What exactly are your concerns, given that the data isn't encrypted locally in the first place? And seriously with the question...what do you think is more likely, that the tiny team of 6 invested a ton of time reinventing the wheel with a custom in-house AES implementation, OR that they used any of the readily available and extremely well tested libraries? SMH
Your response indicates you may have limited knowledge on the topic.
> what do you think is more likely, that the tiny team of 6 invested a ton of time reinventing the wheel with a custom in-house AES implementation AES is a cryptographic primitive. No one ever implements their own. What developers implement is the cryptographic system - the block cipher mode, initialisation vectors, rounds, salting etc. It all very easy to get this wrong. Their site does state they use GCM cipher mode which is the right choice (say over ECB, CBC…) > which you can verify with wireshark Viewing encrypted material in a packet capture is meaningless and provides zero assurances > What exactly are your concerns, given that the data isn't encrypted locally in the first place? The encrypted data in their cloud solution is adequately protected. Companies that take end to end encryption seriously will generally provide details on how they went about their cryptographic system. For example, is the encryption key derived from the password? If so what is the key derivation function? How many rounds didn’t get select? These are generally the responsibility of the developer to responsibly choose.
Small nit: I'd guess it is not that easy to verify this in wireshark.
I'm not an obsidian user or familiar with the code base, so could be wrong here. The data is probably encrypted with AES before being sent (the E2E bit), though probably there is some metadata unencrypted. When the data is actually sent, the entire thing would likely be encrypted again with TLS while it is in transit.
This means, for example, your ISP cannot see the unencrypted metadata or the encrypted data. So if you open a capture in wireshark then you would likely see this. Of course it is possible to decrypt the TLS to check the underlying data is encrypted, but it is not trivial for most people. An easier way to see what it is doing may be to run ltrace on it and check what it is writing to the sockets.
Or gdb, break on the SSL write function and inspect the registers to see what is being written. e.g.
gdb --args wget "https://www.google.com"
b SSL_write
r
x/s $rsi
> "GET / HTTP/1.1\r\nHost: www.google.com\r\nUser-Agent: Wget/1.21.3\r\nAccept: */*\r\nAccept-Encoding: identity\r\nConnection: Keep-Alive\r\n\r\n"
Though it would just tell you if the data looks encrypted, not much else.
For example they could use a super secure key, or the "1234" for everyone, just looking at the data probably wouldn't tell you this.
We did not implement the crypto part ourselves.
We use the SuptleCrypto Web API implementation and a library called scrypt (this one: https://github.com/ricmoo/scrypt-js).
We also had someone from the EteSync/EteBase project take a look at the code before Obsidian Sync was released.
Comments (387) 94 threads
Show all comments
Showing thread 5 of 94
From reading the Obsidian website, they seem a tiny company. However, it is unclear where they are based and, therefore, what legal obligations they are operating under. What more, Obsidian has so far avoided the levels of compliance that allows for adoption by big businesses.
I love me some Obsidian but I'm mindful that, using their services, I just don't know how my data is being treated.
I realize vaults are encrypted locally. However, do we know that our vault secret isn't shared with Obsidian? Sure, it's (mostly?) an Electron app. But just how transparent and accountable is Obsidian about their operations?
You also do not need to trust Obsidian with any of your data. The files are local to your device so you can sync them however you want. If you don't want to use Obsidian Sync you can use Git, Dropbox, Syncthing, etc.
As others have already pointed out, Sync is not the only option to synchronize notes, Obsidian sync is just a convenience option.
For compliance, I am guessing you mean certs like SOC 2 / ISO 27001?, or what are you referencing? As we are a tiny company (6 people, not all full time) we just can't expense the time needed to get such a certificate.
> AES-256 is a military-grade encryption specification that's widely used in for example online banking.
The term “military grade” is meaningless and if anything raises a red flag (at least to me). What would be more useful is a detailed spec on the implementation.
Are the crypto routines implemented in house or has a well tested library been used? If in house, had there been an external code audit done? What were the results ?
> what do you think is more likely, that the tiny team of 6 invested a ton of time reinventing the wheel with a custom in-house AES implementation
AES is a cryptographic primitive. No one ever implements their own. What developers implement is the cryptographic system - the block cipher mode, initialisation vectors, rounds, salting etc. It all very easy to get this wrong. Their site does state they use GCM cipher mode which is the right choice (say over ECB, CBC…)
> which you can verify with wireshark
Viewing encrypted material in a packet capture is meaningless and provides zero assurances
> What exactly are your concerns, given that the data isn't encrypted locally in the first place?
The encrypted data in their cloud solution is adequately protected.
Companies that take end to end encryption seriously will generally provide details on how they went about their cryptographic system.
For example, is the encryption key derived from the password? If so what is the key derivation function? How many rounds didn’t get select? These are generally the responsibility of the developer to responsibly choose.
I'm not an obsidian user or familiar with the code base, so could be wrong here.
Though it would just tell you if the data looks encrypted, not much else.The data is probably encrypted with AES before being sent (the E2E bit), though probably there is some metadata unencrypted.
When the data is actually sent, the entire thing would likely be encrypted again with TLS while it is in transit. This means, for example, your ISP cannot see the unencrypted metadata or the encrypted data.
So if you open a capture in wireshark then you would likely see this. Of course it is possible to decrypt the TLS to check the underlying data is encrypted, but it is not trivial for most people.
An easier way to see what it is doing may be to run ltrace on it and check what it is writing to the sockets. Or gdb, break on the SSL write function and inspect the registers to see what is being written.
e.g. gdb --args wget "https://www.google.com"
For example they could use a super secure key, or the "1234" for everyone, just looking at the data probably wouldn't tell you this.
Continue this thread — 1 reply
We also had someone from the EteSync/EteBase project take a look at the code before Obsidian Sync was released.
Continue this thread — 1 reply