mozilla / mig

Distributed & real time digital forensics at the speed of the cloud

Home Page:http://mig.mozilla.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move GPG tests out of client.NewClient

ameihm0912 opened this issue · comments

NewClient currently runs a test to see if it can obtain a signed token to validate the key ring is accessible.

There are some cases where client functions are used where the PGP signature is not actually required. An example is a scenario where you want to generate and display a JSON action (mig-cmd's -p option).

A separate function to test the GPG integration would be useful as it could be called explicitly prior to entering any code where signing will be occurring, and we just wouldn't test the integration when signing is not required.

Hi. I would love to take this issue. I'm a beginner and pretty new to the mig project.

Hello @scriptonist, did you get to resolve this issue?

I'm very sorry. I totally forgot about this since I was not assigned.

@ameihm0912 I think this issue can be closed.