Revision: 88
http://adc.svn.sourceforge.net/adc/?rev=88&view=rev
Author: ullner
Date: 2012-08-17 17:01:17 +0000 (Fri, 17 Aug 2012)
Log Message:
-----------
Fixed error in KEYP generation script.
Modified Paths:
--------------
trunk/Source/scripts/keyp_keyprint_generation.sh
Modified: trunk/Source/scripts/keyp_keyprint_generation.sh
===================================================================
--- trunk/Source/scripts/keyp_keyprint_generation.sh 2012-08-17 16:37:03 UTC (rev 87)
+++ trunk/Source/scripts/keyp_keyprint_generation.sh 2012-08-17 17:01:17 UTC (rev 88)
@@ -1,3 +1,3 @@
#!/bin/sh
-openssl x509 -noout -fingerprint -sha256 < "$1" | cut -d '=' -f 2 | tr -d ":" | python -c "import sys; import base64; print base64.b32encode(base64.b16decode(sys.stdin.readline()))" | tr -d "="
\ No newline at end of file
+openssl x509 -noout -fingerprint -sha256 < "$1" | cut -d '=' -f 2 | tr -dc "[A-F][0-9]" | python -c "import sys; import base64; print base64.b32encode(base64.b16decode(sys.stdin.readline()))" | tr -d "="
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|