a whole bunch of shit that should've been incrementally committed;
including encryption of keys and connecting to friend and sending of
keys