Currently the encrypt operation works only to my public key and not to keys generated by the generate key pair operation. Probably something wrong with the generate operation.
Have not yet found a nice way of working with the kbpgp API as it is very callback heavy. Probably just my rusty javascript.