<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">What we want to test is that initializing a password store using a PGP group and then later re-initializing it using the members of that group, has our password items readable by the same recipients, not that the bytes on disk hasn’t changed.</p>

<h2 style="font-size:1.2em">The test failed for me on macOS 10.14 with GnuPG 2.2.17 using libgcrypt 1.8.5.</h2>

<p dir="auto">tests/t0300-reencryption.sh | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)</p>

<p dir="auto">diff --git a/tests/t0300-reencryption.sh b/tests/t0300-reencryption.sh<br>
index 3c88987..2903cbb 100755<br>
--- a/tests/t0300-reencryption.sh<br>
+++ b/tests/t0300-reencryption.sh<br>
@@ -70,7 +70,7 @@ test_expect_success 'Reencryption root group to identical individual with no fil<br>
     "$PASS" init group1 &&<br>
     cp "$PASSWORD_STORE_DIR/folder/cred1.gpg" "$oldfile" &&<br>
     "$PASS" init $KEY4 $KEY2 &&<br>
-    test_cmp "$PASSWORD_STORE_DIR/folder/cred1.gpg" "$oldfile"<br>
+    [[ "$(gpg_keys_from_encrypted_file "$PASSWORD_STORE_DIR/folder/cred1.gpg")" == "$(gpg_keys_from_encrypted_file "$oldfile")" ]]<br>
 '</p>

<p dir="auto">test_expect_success 'Reencryption subfolder multiple keys, copy' '<br>
-- <br>
2.23.0</p>
</div>
</div>
</body>
</html>