get the length of the key when there is a passphrase
no need for security cmd as init handle it