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
Jake Sanders
79f93e5e69
C.free(unsafe.Pointer(err)) -> defer C.g_error_free(err)
...
Signed-off-by: Jake Sanders <jsand@google.com >
2016-09-15 09:14:53 -07: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
David Calavera
80833adff5
Merge pull request #18 from avaid96/listing
...
Implementing listing functionality across OSX, Linux and Windows
2016-07-20 13:55:38 -07:00
avaid96
f1498a0524
go fmt is all osx files and general files
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:19:47 -07:00
Avi Vaid
c2abee4c0c
go fmt in windows files
...
Signed-off-by: Avi Vaid <avaid1996@gmail.com >
2016-07-16 12:18:03 -07:00
avaid96
9e96a4905d
fixed issue with wincred
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:09:31 -07:00
avaid96
cf9b6df432
fixed issue with wincred
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:08:55 -07:00
avaid96
b0c64357eb
fixed issue with the windows test
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:07:50 -07:00
avaid96
5b764cc13a
changes to wincred, completes list functionality in windows
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 11:59:43 -07:00
avaid96
b63a32e7a2
fixed another bug in the test for osx
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-15 17:46:46 -07:00
avaid96
173fe2dbc2
fixed a bug in the test for osx
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-15 17:43:52 -07:00
avaid96
b3ebaa455d
trying to the OSX test to pass on Travis, it passes locally
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-15 17:32:47 -07:00
avaid96
029e094488
removed a semicolon and the placeholder for the error which we used to locate it. Seems like SecItemCopyMatching is giving an error for some reason- no error on local machine
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-13 14:36:14 -07:00
avaid96
8fa18eb16c
implementation on client side as well, complete with tests
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-13 10:20:51 -07:00
avaid96
887a66459a
I think OSX tests were failing because it was a list against an empty keychain, checking whether that is the case by filling it first
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-12 10:52:06 -07:00