Daniel Joos
cdde659563
Workaround for Linux 32-bit build
...
This adds a workaround for the `secretservice` sub-package to build under 32bit Linux.
It limits the total number of list entries to (2^29)-1.
A short explanation of how this number was calculated has been added in a comment.
Signed-off-by: Daniel Joos <daniel@joosweb.de >
2017-05-10 00:38:33 +02:00
Vincent Demeester
71779cf7f5
Merge pull request #56 from simonferquel/align-get-with-list-filtering
...
[Windows] align get with list behavior
2017-03-22 09:53:49 +01:00
Simon Ferquel
51c78cdc14
[Windows] align get with list behavior
...
Avoiding to get unlabelled credentials
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
2017-03-16 18:16:37 +01:00
Vincent Demeester
120e37f15d
Merge pull request #54 from vdemeester/update-maintainers
...
Add n4ss as maintainer 👼
2017-03-14 19:30:38 +01:00
Vincent Demeester
4962f775bf
Add n4ss as maintainer 👼
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2017-03-14 16:04:27 +01:00
Jean-Laurent de Morlhon
ce617b3357
Merge pull request #52 from jeanlaurent/run-test-on-release
...
Clean and run test before osx release
v0.5.0
2017-03-13 16:45:02 -07:00
Jean-Laurent de Morlhon
f3071aff0a
Merge pull request #53 from n4ss/fix-windows-typos-tests
...
Fix syntax typos and tests implementation for Windows
2017-03-13 16:44:48 -07:00
Nassim 'Nass' Eddequiouaq
1515d4547e
Fix syntax typos and tests implementation for windows
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-13 14:51:03 -07:00
Jean-Laurent de Morlhon
f67589c36e
Clean and run test before osx release
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2017-03-13 12:49:05 -07:00
Vincent Demeester
479de2a4f5
Merge pull request #45 from jeanlaurent/fix-mkdir
...
Remove mkdir -p where neccessary
2017-03-13 20:43:59 +01:00
Vincent Demeester
cdba2ced06
Merge pull request #44 from jeanlaurent/osxrelease-task
...
Add a osx release target to the makefile to ease releasing.
2017-03-13 20:43:49 +01:00
Nassim Eddequiouaq
7f0538cd5e
Merge pull request #50 from n4ss/fix-secserv-tests
...
Fix secretservice tests and expected behaviors
2017-03-13 11:56:46 -07:00
Nassim Eddequiouaq
14381bf0d6
Merge pull request #49 from n4ss/label-creds
...
Label credentials on each platform' creds store and fix secretservice behavior
2017-03-13 11:22:23 -07:00
Nassim 'Nass' Eddequiouaq
7133af577e
Creds label can be configured from helpers
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-11 12:34:22 +01:00
Nassim 'Nass' Eddequiouaq
2f2e85cfb9
Remove unnecessary creds list's size check
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 16:59:57 +01:00
Nassim 'Nass' Eddequiouaq
47566329ff
Fix secretservice tests and expected behaviors
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 07:29:25 -08:00
Nassim 'Nass' Eddequiouaq
b9d19b479a
Return empty server-url to usernames map if no search results
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:23:43 +01:00
Nassim 'Nass' Eddequiouaq
e522e56699
Fix memory leaks and non-null terminated strings usage
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:23:17 +01:00
Nassim 'Nass' Eddequiouaq
8cb3338668
Filter docker credentials with label directly through libsecret
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:18:14 +01:00
Nassim 'Nass' Eddequiouaq
cd76e4253f
Use the proper docker secret schema for items to search for
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:15:05 +01:00
Nassim 'Nass' Eddequiouaq
021d7d6a19
Add label filter on the list of secrets
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:14:34 +01:00
Nassim 'Nass' Eddequiouaq
2a8670e0da
Cleanup original modifications to the exposed APIs
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:14:04 +01:00
Nassim 'Nass' Eddequiouaq
c5fbd3a5ad
Fix type conversion for labels added to search queries on macOS
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:12:53 +01:00
Nassim 'Nass' Eddequiouaq
c6cf8aa13b
Add Label to Credentials in test files
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:12:32 +01:00
Nassim 'Nass' Eddequiouaq
cfe7556d6d
[SYNTAX] Run gofmt on changed files
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:12:12 +01:00
Nassim 'Nass' Eddequiouaq
23a1f310a5
Add a Docker Credentials label support for windows
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:11:57 +01:00
Nassim 'Nass' Eddequiouaq
f7f2744e6d
Add a Docker Credentials label support for linux
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:11:25 +01:00
Nassim 'Nass' Eddequiouaq
406812bf8e
Add a Docker Credentials label support for macOS
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:11:13 +01:00
Nassim 'Nass' Eddequiouaq
595b7f2531
Add a Docker Credentials label to store and list creds
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:10:54 +01:00
Jean-Laurent de Morlhon
ad4463616e
Remove mkdir -p where neccessary
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2017-03-03 18:51:21 +01:00
Jean-Laurent de Morlhon
365da011fb
Add a osx release target to the makefile to ease releasing.
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2017-03-03 18:49:23 +01:00
Vincent Demeester
1057cf7f86
Merge pull request #43 from jeanlaurent/windows-makefile
...
Add .exe to windows Makefile target
v0.4.2
2017-03-03 18:03:14 +01:00
Jean-Laurent de Morlhon
40d06d0090
Add .exe to windows Makefile target
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2017-03-03 17:58:06 +01:00
Vincent Demeester
de50f50ab0
Merge pull request #41 from jeanlaurent/codesign
...
Add a makefile target to codesign output binary on macOS
2017-03-03 17:56:55 +01:00
Vincent Demeester
3c3e1d3af1
Merge pull request #42 from ebriney/fix-keychain-list
...
Reconstruct the full url when doing `keychain_list`
2017-03-03 17:56:15 +01:00
Emmanuel Briney
19ec1c3164
reconstruct the full url when doing keychain_list
...
Signed-off-by: Emmanuel Briney <emmanuel.briney@docker.com >
2017-03-03 17:16:00 +01:00
Jean-Laurent de Morlhon
2a3f7a4468
Add a makefile target to codesign output binary on macOS
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2017-03-03 16:20:29 +01:00
Vincent Demeester
b7c53e02cd
Merge pull request #40 from ebriney/osx10.10-10.11-compatibility
...
Add cgo flags to support older version of OSX (10.10, 10.11)
v0.4.1
2017-02-21 10:55:47 +01:00
Emmanuel Briney
94963d0da8
osxkeychain: add cgo flags to support older version of OSX
...
Signed-off-by: Emmanuel Briney <emmanuel.briney@docker.com >
2017-02-21 10:41:54 +01:00
Vincent Demeester
2514d5e8b2
Merge pull request #39 from docker/release-v0.4.0
...
Prepare v0.4.0 release
v0.4.0
2017-02-16 15:55:09 +01:00
Vincent Demeester
01ed4b811b
Merge pull request #26 from danieljoos/master
...
Updated wincred vendor & fixed Windows build
2017-02-16 15:52:37 +01:00
Vincent Demeester
9b6be7c243
Merge pull request #28 from KingEmet/patch-1
...
Update README.md
2017-02-16 11:41:56 +01:00
Vincent Demeester
f853612e07
Prepare v0.4.0 release
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2017-02-16 11:19:45 +01:00
Brian Goff
69c9d2eab8
Merge pull request #38 from ebriney/mac-delete-before-adding
...
mac: delete credentials before adding them
2017-02-15 08:44:08 -05:00
ebriney
eecc09c974
mac: delete credentials before adding them to avoid already exist error ( fixes #37 )
...
Signed-off-by: ebriney <emmanuel.briney@docker.com >
2017-02-14 22:50:44 +01:00
KingEmet
48079a964a
add 'list' to API list
...
Signed-off-by: KingEmet <jsand@google.com >
2016-09-07 15:59:21 -07:00
Daniel Joos
cfbce1c845
Removed unnecessary lines in wincred_windows.go
...
Those lines seem to be left from the last merge.
They cause build errors on Windows.
Signed-off-by: Daniel Joos <daniel@joosweb.de >
2016-09-07 09:59:03 +02:00
Daniel Joos
a994ca1d54
Updated vendor pkg: github.com/danieljoos/wincred
...
This includes the following changes:
- Removed need for `C`
- Added some null checks to avoid possible panics
- `List` returns an empty list instead of an error, in case no credentials
are installed on the system
Signed-off-by: Daniel Joos <daniel@joosweb.de >
2016-09-07 09:58:33 +02:00
Antonio Murdaca
f72c04f1d8
Merge pull request #25 from KingEmet/master
...
Implement client.List, change list API
2016-09-06 18:43:16 +02:00
Jake Sanders
c45d9e9e28
Implement client.List, change list API
...
[]string, []string -> map[string]string because the other APIs assume a
1:1 correspondence
Signed-off-by: Jake Sanders <jsand@google.com >
2016-09-02 15:15:12 -07:00