public void shouldLoadPublicKeyRsa() throws Exception {
// pre-conditions
String publicKeyPath = createRandomTempFile().getAbsolutePath();
String privateKeyPath = createRandomTempFile().getAbsolutePath();
SSHKeyPair.create(SSHKeyTestUtils.DEFAULT_PASSPHRASE, privateKeyPath, publicKeyPath);
ISSHPublicKey sshKey = new SSHPublicKey(new File(publicKeyPath));
String publicKey = sshKey.getPublicKey();
assertNotNull(sshKey.getKeyType());
String keyType = sshKey.getKeyType().getTypeId();
assertNotNull(publicKey);
assertThat(publicKey)
// no identifier
.doesNotContain(SSHKeyTestUtils.SSH_RSA)
// no comment