`getPrivateKey` is deprecated; use `getPrivateKeys` and decide what to do if there is != 1 key (use them all, or report a sensible error).