[WIP] Add Tests for Keyring Func #2

Draft
dm wants to merge 2 commits from dm/pm:keyring into master

2 Commits

Author SHA1 Message Date
Derek McQuay efbe79e786
tests: added NewKeyPair and ListKeys
Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2018-02-27 20:10:59 -08:00
Derek McQuay c4d67105f2
add checkDir for keyring
ensureDir will create the dir, which for calls like List, Sign, Remove,
etc. should not occur. It should only perform the actions if something
exists there

Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2018-02-27 19:39:14 -08:00