Added read of pub keys, rubocop fixes
Removed build-essentials from compile time due to build errors