This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar signapk.jar -w platform.x509.pem platform.pk8 myupdate.zip myupdate-signed.zip | |
Note:- | |
1. -w flag to sign the whole zip file. | |
2. The sequence of the two key files: pem file goes first, then the pk8 file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libspice video detection (mjpeg encode it) | |
++++++++++++++++++++++++++++++++++++++++++ | |
- spice中视频处理相关: http://blog.csdn.net/mlfcjob/article/details/26218755 | |
- spice关于display_channel导读: http://blog.chinaunix.net/uid-21706718-id-4863668.html | |
- main | |
- red_worker_main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Convert between PEM and P12 | |
PEM | |
It is an ASCII format and can be opened with a text editor. It is used by most SSL-based tools. Key and certificate are two separate files. | |
P12 | |
Acutally: Pkcs12 is used by most browsers. Key and certificate are in one file. | |
PEM to P12 | |
The key and the certificate are require. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mount :- | |
Install qemu-utils and enable ndb module | |
sudo apt-get install qemu-utils | |
sudo modprobe nbd | |
Connect the image to the first nbd device | |
sudo qemu-nbd -c /dev/nbd0 xyz.qcow2 |
NewerOlder