diff --git a/sshkey.module b/sshkey.module
index f3e09a5..51dc581 100644
--- a/sshkey.module
+++ b/sshkey.module
@@ -292,7 +292,6 @@ function sshkey_save(&$key) {
 
     // Add a default name based on public key comment if available.
     if (isset($parsed['comment'])) {
-      $key->value = trim(substr($key->value, 0, -strlen($parsed['comment'])));
       if (empty($key->title)) {
         $key->title = truncate_utf8($parsed['comment'], 128, TRUE);
       }
