User Tools

Site Tools


crypto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

crypto [2011/07/10 22:13]
schneider created
crypto [2011/08/03 09:15] (current)
schneider
Line 17: Line 17:
 When you want to receive a VCard from another badge your public key will be broadcast. After you have confirmation that the other badge has received the correct key the VCard can be sent to you. When you want to receive a VCard from another badge your public key will be broadcast. After you have confirmation that the other badge has received the correct key the VCard can be sent to you.
  
 +====== Applets ======
  
 +To encrypt an applet run:
 +<​code>​
 +r0ket/​firmware$ ../​tools/​crypto/​xxtea loadable/​spaceinvaders.bin -e -o loadable/​space.c0d -v -k 0012345600000000000000000023456700
 +</​code>​
 +Don't forget to change the key to the correct value.
 +
 +To sign an applet run:
 +<​code>​
 +r0ket/​firmware$ ../​tools/​crypto/​xxtea loadable/​blsign.bin -s  -v -k 0012345600000000000000000023456700
 +</​code>​
 +Make sure the keys used for signing and encryption differ.
 +
 +Encryption is optional, but we will require applets to be signed at camp when running a firmware with openbeacon keys.
crypto.txt ยท Last modified: 2011/08/03 09:15 by schneider