Giter VIP home page Giter VIP logo

Comments (15)

Leseratte10 avatar Leseratte10 commented on May 12, 2024 1

Support for anonymous authorizations and for other ID providers is now included with cc37506 and will be available in the next release.

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 12, 2024 1

Support is now included in the new v0.0.15 release.

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 12, 2024

Ah, thanks a lot for that hint, that'd be cool if it was that easy. I will try to implement that and see if it works.
Do you have your Rust version available somewhere? I found your "adept-rs" repo but that seems to be a placeholder / doesn't contain any data yet.

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

Yeah... I'm still in the early stages (just getting activation working) so I didn't publish it yet.

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

RustCrypto is very annoying, so I'm thinking about rewriting it with libsodium, but worried about cross-platform compatibility- I wonder if you can embed it into the binary?

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 12, 2024

Embed libsodium into a Rust binary? I'm afraid I have absolutely no Rust experience so I'm unable to help with that.

I did just test this anonymous activation method and it's working just fine - anonymous authorization and fulfillment with such an anonymous account is working just fine, so I will definitely add that to the next version. Thanks a lot.

Did you also test any of the other AdobeID providers? Given that an anonymous auth and an AdobeID auth seem to work exactly the same way, the other ID providers probably do, too, right? So I should also be able to add that AdobeID provider dropdown menu that ADE has, too, so people can use other providers for their AdobeID.

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

Yeah- just found out that sodiumoxide is deprecated (rust bindings for libsodium)... why is it so hard to find a good rust library with documentation other than openssl...
Anyway I haven't tested anything else, as I was simply using anonymous because I kept running out of activations when testing :)
I just figured it out because of the list in the auth response and then tried with no username and password... Not sure what those node ids that the other provider have is? Anonymous and AdobeID didnt have it...

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 12, 2024

Looking at the /AuthenticationServiceInfo response, all the methods other than AdobeID and anonymous also have a "nodeId" included, so they do seem to work differently than the official ones. So I guess I'm just going to add anonymous authorization for now, until I get a proper account somehow to test the other methods.

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

Yeah. If you need another provider to test, you could use overdrive and register with your local library. I'll mitm ADE when I have time

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 12, 2024

Yeah, I guess MITMing ADE could work. I tried doing that in the past to figure out how anonymous auth works, but given that that is encrypted with some auth cert, I was too lazy to try to figure out how to decrypt that stuff in ADE.

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

Well it looks the same except for the method
I would try it and see what the error from adobe is

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

Here's a throwaway Overdrive account: [email protected]
The password is the email

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 12, 2024

That ... just worked. Authorization and fulfillment. That means with the next version I'll be able to support all the different methods.
Thanks a lot.

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

Well then... didn't expect it to be that easy :)
Guess it's less complicated than we thought

from acsm-calibre-plugin.

JJTech0130 avatar JJTech0130 commented on May 12, 2024

Closing this issue.

from acsm-calibre-plugin.

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.