Comments (15)
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.
Support is now included in the new v0.0.15 release.
from acsm-calibre-plugin.
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.
Yeah... I'm still in the early stages (just getting activation working) so I didn't publish it yet.
from acsm-calibre-plugin.
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.
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.
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.
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.
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.
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.
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.
Here's a throwaway Overdrive account: [email protected]
The password is the email
from acsm-calibre-plugin.
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.
Well then... didn't expect it to be that easy :)
Guess it's less complicated than we thought
from acsm-calibre-plugin.
Closing this issue.
from acsm-calibre-plugin.
Related Issues (20)
- TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' HOT 3
- Processing an ACSM file added via a plugin HOT 5
- ACSM file not converting to ePub
- ACSM Not Converted HOT 3
- [Suggestion] Add job queue in the bottom of Calibre HOT 1
- Calibre crash upon linking ADE account HOT 5
- Plugin cannot install/initialize due to `OSError: dlopen(libcrypto.dylib)` HOT 3
- [Suggestion] Calibre main window can be accessed when plugin is opened HOT 2
- Installation failed: Invalid plugin HOT 4
- Exception when installing plugin in Flatpak Calibre HOT 3
- The library libcrypto could not be found HOT 18
- Configuration via CLI possible? HOT 1
- ACSM won't process HOT 2
- ModuleNotFoundError: No module named 'libadobe' HOT 10
- ERROR: Unhandled exception: <b>InvalidPlugin</b> HOT 1
- Deauthorize HOT 1
- Handle Connection Errors HOT 1
- [question] How to import an acsm file? HOT 3
- DeACSM fails with exception "Running file type plugin failed" HOT 2
- Error installing ACSM Input plugin (AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs') HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acsm-calibre-plugin.