Add test for keychain dump (#2620)

* Add test for keychain dump

* remove empty keys

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
Matt
2023-11-27 16:55:44 -05:00
committed by GitHub
parent 9defc5c7ba
commit 352f85ee32
+11
View File
@@ -28,3 +28,14 @@ atomic_tests:
security find-certificate -a -p > #{cert_export}
security import #{cert_export} -k
name: sh
- name: Keychain Dump
description: |-
This command will dump keychain credential information from login.keychain.
Source: https://www.loobins.io/binaries/security/
supported_platforms:
- macos
executor:
command: sudo security dump-keychain -d login.keychain
name: sh
elevation_required: true