Re: file encription/decriptoin iOS

2017-06-29 Thread Jens Alfke
> On Jun 29, 2017, at 5:33 AM, Dave Fernandes > wrote: > > Ah. Thinking about the new device use case helps. Everything must be > accessible and decryptable using only the iCloud passphrase. But if the same > passphrase is used both to authorize access to the data and to decrypt it, > then A

Re: file encription/decriptoin iOS

2017-06-29 Thread Dave Fernandes
Ah. Thinking about the new device use case helps. Everything must be accessible and decryptable using only the iCloud passphrase. But if the same passphrase is used both to authorize access to the data and to decrypt it, then Apple has the passphrase to decrypt each time the user logs in, do the

Re: file encription/decriptoin iOS

2017-06-28 Thread Jens Alfke
> On Jun 28, 2017, at 8:04 PM, Dave Fernandes > wrote: > > So everything is protected by the iCloud Drive service key, but what does > “which is then stored with the user’s iCloud account” mean? Is it stored on > the device or in iCloud? That makes all the difference. I agree it’s vague. The

Re: file encription/decriptoin iOS

2017-06-28 Thread Dave Fernandes
> On Jun 28, 2017, at 12:17 PM, Jens Alfke wrote: > > >> On Jun 28, 2017, at 6:33 AM, Sandor Szatmari >> wrote: >> >> I thought there were both local and iCloud Notes, no? > > Not sure what you’re asking, but: Anything saved to iCloud goes through > end-to-end encryption, so there’s no way

Re: file encription/decriptoin iOS

2017-06-28 Thread Jens Alfke
> On Jun 28, 2017, at 6:33 AM, Sandor Szatmari > wrote: > > I thought there were both local and iCloud Notes, no? Not sure what you’re asking, but: Anything saved to iCloud goes through end-to-end encryption, so there’s no way to read it on the iCloud servers without using keys stored on you

Re: file encription/decriptoin iOS

2017-06-28 Thread Sandor Szatmari
I thought there were both local and iCloud Notes, no? Sandor > On Jun 28, 2017, at 09:14, Jean-Daniel wrote: > > >> Le 27 juin 2017 à 04:25, Sandor Szatmari a >> écrit : >> >> This is an interesting thread. The OP's original question made me think of >> the functionality Apple recently (h

Re: file encription/decriptoin iOS

2017-06-28 Thread Jean-Daniel
> Le 27 juin 2017 à 04:25, Sandor Szatmari a > écrit : > > This is an interesting thread. The OP's original question made me think of > the functionality Apple recently (how recently I'm not sure) added to the iOS > Notes app. It allows you to selectively 'encrypt' (password protect) a note

Re: file encription/decriptoin iOS

2017-06-27 Thread Jens Alfke
> On Jun 26, 2017, at 10:24 PM, Jens Alfke wrote: > > There’s some use in a scenario like this, and it could be a nice feature to > add to apps … if there were a convenient and trustworthy file encryption API > available. But there doesn’t seem to be. I just remembered libsodium http://libsod

Re: file encription/decriptoin iOS

2017-06-27 Thread Jens Alfke
> On Jun 27, 2017, at 5:18 AM, Alex Zavatone wrote: > > We had 3 programmers each with 6 years of iOS development who couldn’t figure > that out. We got bitten bad because of that. Not sure what to say about that … it’s all there in the docs. But it’s a pretty frequently asked question inv

Re: file encription/decriptoin iOS

2017-06-27 Thread Alex Zavatone
> On Jun 26, 2017, at 12:59 PM, Jens Alfke wrote: > > >> On Jun 26, 2017, at 9:50 AM, Alex Zavatone > > wrote: >> >> You can use the iExplore app to look in the Documents folder of any device >> you attach to your Mac. > > But you can only attach a device to your Mac if

Re: file encription/decriptoin iOS

2017-06-27 Thread Sandor Szatmari
Jens, Sandor > On Jun 27, 2017, at 01:24, Jens Alfke wrote: > > >> On Jun 26, 2017, at 7:25 PM, Sandor Szatmari >> wrote: >> >> This is an interesting thread. The OP's original question made me think of >> the functionality Apple recently (how recently I'm not sure) added to the >> iOS

Re: file encription/decriptoin iOS

2017-06-27 Thread Alastair Houghton
On 27 Jun 2017, at 03:25, Sandor Szatmari wrote: > > This is an interesting thread. The OP's original question made me think of > the functionality Apple recently (how recently I'm not sure) added to the iOS > Notes app. It allows you to selectively 'encrypt' (password protect) a note. > Th

Re: file encription/decriptoin iOS

2017-06-26 Thread Jens Alfke
> On Jun 26, 2017, at 7:25 PM, Sandor Szatmari > wrote: > > This is an interesting thread. The OP's original question made me think of > the functionality Apple recently (how recently I'm not sure) added to the iOS > Notes app. It allows you to selectively 'encrypt' (password protect) a not

Re: file encription/decriptoin iOS

2017-06-26 Thread Sandor Szatmari
This is an interesting thread. The OP's original question made me think of the functionality Apple recently (how recently I'm not sure) added to the iOS Notes app. It allows you to selectively 'encrypt' (password protect) a note. This functionality allows you to pass your phone to someone to

Re: file encription/decriptoin iOS

2017-06-26 Thread Jens Alfke
> On Jun 26, 2017, at 9:50 AM, Alex Zavatone wrote: > > You can use the iExplore app to look in the Documents folder of any device > you attach to your Mac. But you can only attach a device to your Mac if the device is unlocked, since you have to OK the “Do you trust this computer?” alert. A

Re: file encription/decriptoin iOS

2017-06-26 Thread Alex Zavatone
You can use the iExplore app to look in the Documents folder of any device you attach to your Mac. Also, data protection SUCKS because it locks the files if the app goes in to the background, basically suspending any file based background operations like sql db updates. We got burned on that

Re: file encription/decriptoin iOS

2017-06-26 Thread Jens Alfke
What Alastair said. (I’m usually not one for “me too” comments, but in this case since you’re being advised to not do something I thought another vote might be useful.) I have about a dozen years’ experience working with crypto APIs on Apple platforms. Crypto is difficult to understand and diff

Re: file encription/decriptoin iOS

2017-06-26 Thread Alastair Houghton
On 24 Jun 2017, at 21:12, yu...@aim.com wrote: > > I hope i am at the right place to ask for help on file encryption/decryption > for iOS. > > I need to encrypt a pdf file during download and to decrypt it for display > later on. Can i get some pointers about implementing the > decryption/enc

file encription/decriptoin iOS

2017-06-24 Thread yuleo
Hi, I hope i am at the right place to ask for help on file encryption/decryption for iOS. I need to encrypt a pdf file during download and to decrypt it for display later on. Can i get some pointers about implementing the decryption/encryption part ? or if there is any existing decryption/enc