-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.txt
30 lines (21 loc) · 1.09 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#Define o canal default de dados
sudo i2cget -y 1 0x48 0x03
#Le valores do conversor
while [ 1 ] ;do sudo i2cget -y 1 0x48 ; sleep 1 ; done
gpio -g mode 25 out
gpio -g write 25 1
Keyxzar:
Criar chaves:
mkdir keys
java -jar KeyczarTool-0.71g-090613.jar create --location=/Users/wmm125/temp/cypher/keys --purpose=crypt
java -jar KeyczarTool-0.71g-090613.jar addkey --location=/Users/wmm125/temp/cypher/keys --status=primary
# Chave publica e privada
java -jar KeyczarTool-0.71g-090613.jar create --location=/Users/wmm125/temp/cypher/keys --purpose=crypt --asymmetric
java -jar KeyczarTool-0.71g-090613.jar addkey --location=/Users/wmm125/temp/cypher/keys --status=primary
java -jar KeyczarTool-0.71g-090613.jar pubkey --location=/Users/wmm125/temp/cypher/keys --destination=/Users/wmm125/temp/cypher/pubkeys
#Chave de assinatura
java -jar KeyczarTool-0.71g-090613.jar create --location=/Users/wmm125/temp/cypher/signkeys --purpose=sign
java -jar KeyczarTool-0.71g-090613.jar addkey --location=/Users/wmm125/temp/cypher/signkeys --status=primary
# Pytohn packages
sudo pip install Image
sudo pip install urllib3