Skip to content

Instantly share code, notes, and snippets.

View dmpatel151282's full-sized avatar

Dharmesh Patel dmpatel151282

View GitHub Profile
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.
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()
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.
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