Queries on Encrypted Data Library

Query Command

	query msgkey_file token_file cipher_file

Description:

Compute the query answer from the token and cipher file.
If the query returns success, the msgkey file will contain a serialized QED Message Key, that can be used to generate a symmetric key to decrypt any auxilary files coming from the party that ran encryption and generated the cipher_file.

Parameter Files:

  • msgkey_file:

  • When query completes, upon success this file will contain a serialized QED Message Key. Otherwise the file will not be created. The QED Message Key will contain 160-bit secret. This secret can be used to generate a symmetric key to decrypt auxilary files coming from the party that ran encryption and generated the cipher_file. For more information on how to do this, please see QED Internals.

  • token_file:

  • Contains a serialized QED token. This file should have been generated by calling gentoken.

  • cipher_file:

  • Contains serialized QED cipher text. This file should have been generated by calling ecnrypt.


    You will need to get the following information:
  • File containing serialized token from whoever ran gentoken
  • File containing serialized cipher text from whoever ran encrypt