Fixed really stupid extractKey() signature

Signed-off-by: Fred Bricon <fbricon@gmail.com>