Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
c6706ef648 |
7
sevo-bin.asc
Normal file
7
sevo-bin.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEABYKAB0WIQSIYqsGDRigdWDP1eXlYWVV3U7argUCZzlOsQAKCRDlYWVV3U7a
|
||||
roKJAP9h/9PsPwIH6BMujQh6rwwBeYwrA87b9SKfY1fSukBQwgD/TUzIhAorxwgc
|
||||
NzmH4kbYusvMEl6FC6isrOUT7nH8AAc=
|
||||
=X7M6
|
||||
-----END PGP SIGNATURE-----
|
1
sevo-bin.sha3-256
Normal file
1
sevo-bin.sha3-256
Normal file
@ -0,0 +1 @@
|
||||
dd1fadf7f9e4d94d870c2b105fb165a00009c9b20aa56e43bb376341ea241301 sevo-bin
|
7
sevo-bin.sha3-256.asc
Normal file
7
sevo-bin.sha3-256.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEABYKAB0WIQSIYqsGDRigdWDP1eXlYWVV3U7argUCZzlOsQAKCRDlYWVV3U7a
|
||||
rk0RAQD8dZkMcn9h8kxUndEHxtwA7GEJTeiBBbY1kLdvnf2dDwD+M0+O/kxVfTAl
|
||||
lhgE4T95NrRni6ARG6NizrouR5xLAQI=
|
||||
=ME9q
|
||||
-----END PGP SIGNATURE-----
|
42
verify.sh
Executable file
42
verify.sh
Executable file
@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Colores
|
||||
GREEN='\033[0;32m'
|
||||
RED='\033[0;31m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m'
|
||||
|
||||
echo "🔍 Verificando SEVO..."
|
||||
|
||||
# Verificar firma GPG del binario
|
||||
echo -e "${YELLOW}📦 Verificando firma del binario...${NC}"
|
||||
if gpg --verify sevo-bin.asc sevo-bin 2>/dev/null; then
|
||||
echo -e "${GREEN}✓ Firma del binario válida${NC}"
|
||||
else
|
||||
echo -e "${RED}✗ Error: Firma del binario inválida${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verificar firma del archivo SHA3
|
||||
echo -e "${YELLOW}🔐 Verificando firma del archivo SHA3...${NC}"
|
||||
if gpg --verify sevo-bin.sha3-256.asc sevo-bin.sha3-256 2>/dev/null; then
|
||||
echo -e "${GREEN}✓ Firma del SHA3 válida${NC}"
|
||||
else
|
||||
echo -e "${RED}✗ Error: Firma del SHA3 inválida${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verificar suma SHA3-256
|
||||
echo -e "${YELLOW}🔍 Verificando suma SHA3-256...${NC}"
|
||||
STORED_HASH=$(cat sevo-bin.sha3-256)
|
||||
CALCULATED_HASH=$(rhash --sha3-256 sevo-bin)
|
||||
if [ "$STORED_HASH" = "$CALCULATED_HASH" ]; then
|
||||
echo -e "${GREEN}✓ Suma SHA3-256 válida${NC}"
|
||||
else
|
||||
echo -e "${RED}✗ Error: Suma SHA3-256 inválida${NC}"
|
||||
echo -e "Esperado: $STORED_HASH"
|
||||
echo -e "Calculado: $CALCULATED_HASH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo -e "${GREEN}✅ Verificación completada exitosamente${NC}"
|
Loading…
Reference in New Issue
Block a user