[gnutls-devel] Guile-GnuTLS | aead.scm fails on Mac OS (#13)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jul 18 17:36:36 CEST 2023




Vivien Kraus Would Rather Not Be On Gitlab_com commented on a discussion: https://gitlab.com/gnutls/guile/-/issues/13#note_1474955403

The first bytes of the output seem to only depend on the key; thus maybe the problem is early, during make-aead-cipher. Can you edit guile/examples/aead-encrypt-example.scm to leak the private key? At line 28, add: 

```scheme
(error (format #f "Secret key: ~s" secret))
```

 to abort and leak the key. You should get:

```
throw to `misc-error' with args (#f "~A" ("Secret key: #vu8(116 104 101 32 115 101 99 114 101 116 32 107 101 121 32 105 115 32 51 50 32 98 121 116 101 115 32 108 111 110 103 46)") #f) [PID 10356]
FAIL tests/aead.scm (exit status: 1)
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/issues/13#note_1474955403
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230718/72ff6061/attachment-0001.html>


More information about the Gnutls-devel mailing list