GPG Key Trust
by dervish on Sep.17, 2012, under Linux
When importing a public key onto another machine, you may have configure gpg to
trust the key. Otherwise, when you use the key to do encryption, you may
see a prompt like this:
It is NOT certain that the key belongs to the person named
in the user ID. If you *really* know what you are doing,
you may answer the next question with yes.
Use this key anyway? (y/N)
To trust the key, run:
gpg --edit-key NAME
GPG will output some information, and show a line like:
trust: undefined validity: unknown
You will be at a console, and you have to type "trust":
Command> trust
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
Your decision? 5
Do you really want to set this key to ultimate trust? (y/N) y
Type "quit" to quit. If you run gpg --edit-key NAME again, you will
see a line as below, which means the key is now trusted.
trust: ultimate validity: ultimate
Missing insserv
by dervish on Aug.20, 2012, under Linux, Ubuntu
# chkconfig saned off
/sbin/insserv: No such file or directory
# chkconfig webmin off
/sbin/insserv: No such file or directory
# ln -s /usr/lib/insserv/insserv /sbin/insserv
# chkconfig saned off
#
I <3 Ubuntu
error: Could not load ssh_host_ecdsa_key
by dervish on Aug.20, 2012, under Linux, Ubuntu
Error in log:
error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Fix:
sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ”
The ecdsa SSH key in not being generated by default.
World Community Grid: HTTP file not found
by dervish on Aug.17, 2012, under Uncategorized
Error:
World Community Grid | Scheduler request failed: HTTP file not found
Solution:
Servers are offline for maintenance, etc. Try later..
iPhone 3G Jailbreak/Unlock for T-Mobile
by dervish on Aug.11, 2012, under Hacker, iPhone
How to jailbreak the iPhone 3G 4.2.1 with baseband 5.15.04 for use with a T-Mobile prepaid SIM.
Obtain T-Mobile SIM
Download the 4.2.1 IPSW Firmware (download)
Download and run redsn0w to jailbreak
– use above IPSW file when requested
– Options: Install Cydia (required), Install iPad baseband (required), Enable homescreen wallpaper (optional)
From Cydia, install UltraSn0w to unlock
Update MMS settings for T-Mobile
Phone should now be on the T-Mobile network with the ability to send text and MMS messages.
Import/recover old SIM contacts (optional)
– Install old/obsolete SIM card
– Go to Settings -> Mail, Contacts, Calendars -> Import SIM Contacts