Coder Social home page Coder Social logo

Comments (4)

DougReider avatar DougReider commented on May 5, 2024 1

I read #52. I'm sure the issue is related, but this is slightly different in that a permissions error is being displayed.

from sequel-ace.

Jason-Morcos avatar Jason-Morcos commented on May 5, 2024

Possible Duplicate of #52? @jamesstout

from sequel-ace.

jamesstout avatar jamesstout commented on May 5, 2024

It's the sandbox, the open save panel has a delegate that gets called to validate the file URL. In the current code the first thing it does it try to open the file:

// mysql limits yaSSL to PEM format files (it would support DER)
if([keySelectionPanel accessoryView] == sslKeyFileLocationHelp) {
// and yaSSL only supports RSA type keys, with the exact string below on a single line
NSError *err = nil;
NSData *file = [NSData dataWithContentsOfURL:url options:NSDataReadingMappedIfSafe error:&err];
if(err) {
*outError = err;
return NO;
}

We haven't yet released the code that requests secure access for user-selected files outside the sandbox, so dataWithContentsOfURL fails. The error that you see is generated by the Foundation framework, not the SA code.

It should be fixed in an upcoming release. If not, you can build from: https://github.com/jamesstout/Sequel-Ace/tree/more-permissions, or let me know if you want me to produce a build for you to try.

from sequel-ace.

Jason-Morcos avatar Jason-Morcos commented on May 5, 2024

Closing in favor of #52

from sequel-ace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.