add compressed key support
Merge branch 'keycomp'