mirror of
https://github.com/docker/cli.git
synced 2026-09-25 17:02:07 -04:00
085088f73e5e4b57955b0d81dc1466cb7a7b06fc
This fix tries to address the issue in 28884 where it is possible to mask the secret ID by name. The reason was that searching a secret is based on name. However, searching a secret should be done based on: - Full ID - Full Name - Partial ID (prefix) This fix addresses the issue by changing related implementation in `getCliRequestedSecretIDs()` An integration test has been added to cover the changes. This fix fixes 28884 Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: 3638ca4d14bcca9bc924f21314e4a1020cd5172f Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%