Comments (1)
The MessageHandler
is updated and does not consume connection problems. Instead it throws any occurring exception as DBusException
. This change led to an unfortunate big commit, but was inevitable in order to not commit non compiling code. I ran the test on my machine (Ubuntu 18.04 GNOME
), but still have to test how the library behaves on other systems with and without gnome-keyring
installed. I guess I should provide a small sample application or build Cryptomator with the current changes.
Now the high-level SimpleCollection
API consumes and logs occuring DBusException
s and explains connection problems by throwing IOExceptions
with a short message.
Most returning methods of the SimpleCollection
return now an Optional
, except of getLabel()
and getSecret()
. If there is no security concern to wrap the char[]
of getSecret() as Optional, then it may be more consistent to let all returning functions return an Optional
.
from secret-service.
Related Issues (20)
- Please update to dbus-java 3.2.3 HOT 2
- [feature-request] interface re-design to get more flexibility HOT 4
- DBusConnection - broken pipe HOT 1
- DBusConnection - RejectedExecutionException HOT 4
- what to pass to SimpleCollection constructor? HOT 2
- Log thrown exceptions instead of exception cause HOT 1
- Logger NPE in MessageHandler.send HOT 1
- Closing `SimpleCollection` does not stop `DBusConnection` HOT 2
- SimpleCollection.isAvailable checks for wrong service HOT 5
- Does Lock / Unlock method do anything for a non-default SimpleCollection? HOT 2
- Do we have some benchmarks available for this library? HOT 4
- AutoClose disconnects from the DBus HOT 1
- Update to `dbus-java` 4.x HOT 10
- Working with other secret service implementations HOT 5
- Bump hkdf to 2.0.0
- avoid split packages HOT 2
- GNOME keyring is not triggered to show an unlock prompt on application autostart HOT 1
- Secret Service not found in Docker Container HOT 4
- Unlocking Secrets before retrieving them HOT 6
- `ExceptionInInitializerError` thrown when calling SimpleCollection.isAvailable() HOT 1
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 secret-service.