Validity of a client key

Hello everyone,

Does anyone know of a way to check the validity of a client key?

I’m using an encrypted databag to transfer the client key to a node. The client key that has been enclosed within this databag has been encrypted and subsequently decrypted.

Thanks
Sent from iCloud

On Monday, February 2, 2015 at 10:49 AM, ANGELA EBIRIM wrote:

Hello everyone,

Does anyone know of a way to check the validity of a client key?

I'm using an encrypted databag to transfer the client key to a node. The client key that has been enclosed within this databag has been encrypted and subsequently decrypted.

Thanks
Sent from iCloud

I wrote a knife plugin to do this: https://github.com/danielsdeleo/knife-plugins/blob/master/key_check.rb I haven’t used it in quite some time so you may need to update the code. Also, you’ll need to have an admin account that is authorized to read the public key of the client from the server for this to work.

--
Daniel DeLeo

Hi Daniel,

Thanks and will take a look at the code.

Regards
Sent from iCloud

On Feb 02, 2015, at 10:58 AM, Daniel DeLeo dan@kallistec.com wrote:

On Monday, February 2, 2015 at 10:49 AM, ANGELA EBIRIM wrote:

Hello everyone,
Does anyone know of a way to check the validity of a client key?
I’m using an encrypted databag to transfer the client key to a node. The client key that has been enclosed within this databag has been encrypted and subsequently decrypted.
Thanks
Sent from iCloud

I wrote a knife plugin to do this: https://github.com/danielsdeleo/knife-plugins/blob/master/key_check.rb I haven’t used it in quite some time so you may need to update the code. Also, you’ll need to have an admin account that is authorized to read the public key of the client from the server for this to work.


Daniel DeLeo