Skip to content

Instantly share code, notes, and snippets.

@jyotty
Created February 15, 2016 21:34
Show Gist options
  • Save jyotty/d1cd985c3129c86b0caa to your computer and use it in GitHub Desktop.
Save jyotty/d1cd985c3129c86b0caa to your computer and use it in GitHub Desktop.
migrate Adium OTR private key and known fingerprints to bitlbee
# assuming you connect to bitlbee with your OS X username:
cp ~/Library/Application\ Support/Adium\ 2.0/Users/Default/otr.private_key /usr/local/var/bitlbee/lib/$USER.otr_keys
# change (name "1") to (name "[email protected]")
# and (protocol libpurple-Jabber) to (protocol jabber)
$EDITOR /usr/local/var/bitlbee/lib/$USER.otr_keys
cp ~/Library/Application\ Support/Adium\ 2.0/Users/Default/otr.fingerprints /usr/local/var/bitlbee/lib/$USER.otr_fingerprints
$EDITOR /usr/local/var/bitlbee/lib/$USER.otr_fingerprints
# file is TSV, column 2 is name and column 3 is protocol.
# change them as you did in your private key file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment