Commit Graph

39 Commits

Author SHA1 Message Date
brent s. aa8aef4ccf
adding convenience function to check (in a very basic manner) if an API spec is legacy. 2022-01-09 17:11:50 -05:00
brent s. d13b263222
wrap errors
Implement error wrapping so we catch all errors into a single error.
2022-01-09 15:53:50 -05:00
brent s. b4419a6f8c
Workaround for missing Type property
Some poor decisions that have been made made by KeePassXC lead to the case where they diverge from libsecret's implementation and implement their own incompatible API in the same Dbus namespace.

But they still call their API "Secret Service".

 Well then.
2022-01-09 00:56:56 -05:00
brent s. bb85cb8b52
cleanly close, catch Dbus errors 2021-12-25 01:51:49 -05:00
brent s. 9d3299c9dc
multierror update, fix output 2021-12-24 05:50:31 -05:00
brent s. 3f4db5e82c
fix - suppress nil/empty items from being added to slices 2021-12-18 00:57:41 -05:00
brent s. fa3061ee7a
docs update; clarification 2021-12-15 02:27:20 -05:00
brent s. 5b3328f2b9
fix Item.Label; it was not updating Item.LabelName. 2021-12-14 04:36:53 -05:00
brent s. 16e972c148
typo 2021-12-13 05:50:05 -05:00
brent s. 0767e9c0c1
fixing various race conditions and errors after refactoring 2021-12-13 05:34:53 -05:00
brent s. 6dba963608
fixing some race conditions 2021-12-13 04:33:43 -05:00
brent s. 851cc327e5
fix JSON marshaling for SecretValue. 2021-12-13 04:25:45 -05:00
brent s. 09f3c9b73e
adding more convenience functions, improve some argument receivers 2021-12-13 04:04:03 -05:00
brent s. b9f529ad56
updating TODO 2021-12-13 01:01:03 -05:00
brent s. dcc8499efa
--amend 2021-12-13 00:43:47 -05:00
brent s. e79d530e47
typo 2021-12-13 00:43:23 -05:00
brent s. b02aa9877c
docs modification 2021-12-13 00:40:11 -05:00
brent s. d81452a92c
v1 complete and tests complete (for now. 😉). 2021-12-13 00:15:38 -05:00
brent s. cf354c3fa9
adding more tests and method to receive an item's actual path identifier 2021-12-12 03:23:51 -05:00
brent s. 56ba974dec
minor fixes/improvements... 2021-12-12 02:29:29 -05:00
brent s. 142c0ba74f
adding example and test information to readme.adoc 2021-12-10 03:47:10 -05:00
brent s. 94ae20829e
adding ref mat'l, Service tests done 2021-12-10 02:50:30 -05:00
brent s. eda1777431
checking in more tests for Service. 2021-12-08 02:34:27 -05:00
brent s. b6ba0f9736
improvements, start integration tests
improved various funcs, removed extraneous things (e.g. Item.Attrs).

first integration test. more will come.
2021-12-07 02:56:15 -05:00
brent s. 0fc0e0c269
checking in - all basic funcs in place; add a few more then v1 merge 2021-12-06 03:24:55 -05:00
brent s. 1d093627f6
collection, service, and session should be done 2021-12-04 19:38:26 -05:00
brent s. c0a1e4a281
checking in some new funcs for Service 2021-12-04 02:34:45 -05:00
brent s. 1d9145bcf2
adding some funcs for Service. still need two or three more, then Service is done (but untested). 2021-11-30 02:33:07 -05:00
brent s. 3cab98e584
checking in some work- adding custom errors and low-level compat with SecretService, but it may not be needed. 2021-11-28 21:43:30 -05:00
brent s. cf24035c85
checking in - unbreaking .idea/ in git and fixing unnecessary imports. 2021-11-27 02:57:34 -05:00
brent s. a5b479ae4e
docs, workflow change
docs were updated, and going to be doing all primary (V1+) work in master branch.
when ready for a release, i'll merge it into that particular branch.
2021-11-27 02:24:22 -05:00
brent s. dbc0962e46
better godoc documentation 2021-11-26 00:01:49 -05:00
brent s 644ac13451
checking in work real quick 2021-11-21 23:12:25 -05:00
brent s bdee0ea110
change module name
changing module name to `gosecret` for V2.
2021-11-21 23:05:13 -05:00
brent s e298633935
fix merge conflict 2021-11-21 23:00:51 -05:00
brent s 5975b5ed5c
v0.0.1 is now done.
Cleaned up file naming/organization, optimized some things like using preallocated indexed slices instead of
appends, etc.
2021-11-21 18:07:52 -05:00
brent s 809c6d6f97
some prelim work 2021-11-21 14:25:31 -05:00
Goran Sterjov a6f4afe491 Changed constants to use correct Go style 2016-10-01 19:47:33 +10:00
Goran Sterjov 8c0993ba70 Initial commit. In working condition 2016-10-01 18:13:38 +10:00