Comments (12)
Hey, sorry I didn't see that issue for quite some time and stumbled upon it today. There's an open issue about this also in the underlying library, so I swapped that one now. I'll release a new beta version when the build completes successfully. Maybe you can have a look then.
Matthias
from andfhem.
Beta version has been released. Can you please check whether that works for you?
from andfhem.
Hello,
thank you for providing the beta version. File browsing in general is now possible, but I observed the limitation that only PNG and JPG files are visible. So I still can't use the P12 file with the client cert.
Thank you and BR
Zilon
from andfhem.
That's a strange thing - it seems like Android deprecated some APIs - which now results in only images being shown. Weird. I changed it to scoped storage now and will release another version ....
from andfhem.
And another beta version ...
from andfhem.
@zilon84 Did you have a chance to try it out one more time?
from andfhem.
Hello,
yes I was able to successfully test the new version. I can access the client cert and use it with andFHEM.
The only strange thing that occurs after some time is that the app seems to lose the ability to use the cert. In the administration menu of andFHEM everything seems to be OK. There is still a path to the cert written. Anyhow, I have to add the cert again and everything is working fine again.
Does andFHEM store a copy of the cert? Maybe this copy is deleted due to some cleanup routine of Android. After the cert is added again this copy is on its place and the app works.
Thanks and BR
Zilon
from andfhem.
Hi @zilon84 ,
No it doesn't. However, Android 11 changed the storage implementation, so you cannot access files any more. Don't ask me why, but now everyone has to adapt.
What I did now is load the certificate to the andFHEM connection and save it internally. This should probably make it work again, as now there's only one time loading the file - which is directly after selecting it in the file picker. However, most probably this means that you will have to reselect the certificate again.
I will release another beta version and hopefully it fixed the issue. Unfortunately I don't have a client certificate configured here. So I am doing my best on guessing how it could work ....
Matthias
from andfhem.
After some weird issues, there's now a new Beta version. Maybe you can have a look again.
from andfhem.
So, I just checked the new beta version.
Changed behavior ist the following: After selecting the cert with the file picker, it ssems to be imported into andFHEM. At the location where typically the path to the cert is displayed, I now see many weird characters and symbols.
Access to the FHEM system is no longer possible.
from andfhem.
The latest beta seems to solve the issue. Even after a restart of the device the app is still able to login via the client cert.
Thank you!
from andfhem.
Cool, thanks for the info :-). That was basically the last try - now to copy the certificate from your location to an andFHEM internal location - and read it from the file when doing a request.
I'll give it some more time though whether it really works.
from andfhem.
Related Issues (20)
- We found 7 flaky tests
- Action Required: Fix Renovate Configuration
- Publish on FDroid HOT 1
- Premium version for GitHub and F-Droid version for a donation? HOT 1
- ColorPicker for MQTT devices HOT 2
- Slider for HMCCU device
- Dependency Dashboard
- Can't edit/save/create new connections in andFHEM HOT 4
- [Beta] Widgets do not refresh after using "Update device list" widget - also when being inside the app and updating the room HOT 7
- [Beta] When placing a 1x1 widget and choosing "other" HOT 4
- gcmsend Google Firebase Messaging suddenly stopped working
- AppWidget supporting HTML code
- Support of two factor auth
- Large Widget in dark mode
- andFHEM 6.5.1 - Widgets not working anymore HOT 1
- Backup HOT 1
- android 14 - blank app HOT 8
- Android 14 - Werte aktualisieren nicht möglich HOT 1
- Refresh not working after installing Android 14 on Samsung
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 andfhem.