daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Jan 11th, 2011 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Create key
  2. ----------
  3.  
  4. They use sessions.
  5.  
  6. curl -D - 'http://keyserver.x-pire.net/CreateKey.json;jsessionid=xyz'
  7.  
  8. Add Hash
  9. --------
  10.  
  11. curl -H 'Content-Type: application/json' -d '{"key": {"key": "<key from createkey>", "expires": <number>, "description": "rofl"}, "hashes": [{"hash": "<256-bit hash, hex>"}]}' -D - 'http://keyserver.x-pire.net/AddHashes.json;jsessionid=xyz'
  12.  
  13.         Hash is sha256
  14.  
  15. Get key
  16. -------
  17.  
  18. curl -D - 'http://keyserver.x-pire.net/GetKey/<number>/<256-bit hash, hex>.json'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top