Moving away from privkeys