<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>

<style>img {
max-width: 100%; height: auto;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<p class="details" style="font-style: italic; color: #737278;">
<a href="https://gitlab.com/skyvine">Skyler Ferris</a> created an issue: <a href="https://gitlab.com/gnutls/guile/-/issues/16">#16</a>
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Hello,</p>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">I am just starting to look at gnutls and the guile bindings and tried to use the echo server provided as examples. It contains calls to <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; margin-top: 0; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>set-session-certificate-type-priority!</code> and <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>set-session-kx-priority!</code> which no longer exist in the <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>(gnutls)</code> module. I replaced them with <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>(set-session-priorities! x "NORMAL:-KX-ALL:+ANON-DH")</code> and it seemed to work. But maybe there is a better way to call it, I just started looking at it today. The below diff updates both sites to use this call if you want it, it's not clear to me how to open a pull request here. In the doc (<a href="https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html" rel="nofollow noreferrer noopener" target="_blank">https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html</a>) it says that trying to push should give me a link for opening a pull request, but that gave me an error.</p>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Thanks,
Skyler</p>
<div class="gl-relative markdown-code-block js-markdown-code" style="margin-bottom: 0;">
<pre data-canonical-lang="diff" class="code highlight js-syntax-highlight language-diff" lang="diff" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: 0.875rem; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="diff" style="margin-top: 0;"><span class="gh" style="margin-top: 0;">diff --git a/doc/gnutls-guile.texi b/doc/gnutls-guile.texi</span></span>
<span id="LC2" class="line" lang="diff"><span class="gh" style="margin-top: 0;">index f48c766..13d4a03 100644</span></span>
<span id="LC3" class="line" lang="diff"><span class="gd" style="margin-top: 0;">--- a/doc/gnutls-guile.texi</span></span>
<span id="LC4" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+++ b/doc/gnutls-guile.texi</span></span>
<span id="LC5" class="line" lang="diff"><span class="p" style="margin-top: 0;">@@ -487,11 +487,12 @@</span> is bound to an open socket port):</span>
<span id="LC6" class="line" lang="diff">   ;; Use the default settings.</span>
<span id="LC7" class="line" lang="diff">   (set-session-default-priority! client)</span>
<span id="LC8" class="line" lang="diff"> </span>
<span id="LC9" class="line" lang="diff"><span class="gd" style="margin-top: 0;">-  ;; Don't use certificate-based authentication.</span></span>
<span id="LC10" class="line" lang="diff"><span class="gd" style="margin-top: 0;">-  (set-session-certificate-type-priority! client '())</span></span>
<span id="LC11" class="line" lang="diff"><span class="gd" style="margin-top: 0;">-</span></span>
<span id="LC12" class="line" lang="diff"><span class="gd" style="margin-top: 0;">-  ;; Request the "anonymous Diffie-Hellman" key exchange method.</span></span>
<span id="LC13" class="line" lang="diff"><span class="gd" style="margin-top: 0;">-  (set-session-kx-priority! client (list kx/anon-dh))</span></span>
<span id="LC14" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+  ;; Set the priorities for the session. See "Priority Strings" in the GNUTLS manual for</span></span>
<span id="LC15" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+  ;; further details. The options used here are as follows:</span></span>
<span id="LC16" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+  ;; NORMAL:   Start with the default settings.</span></span>
<span id="LC17" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+  ;; -KX-ALL:  Don't use certificate-based authentication.</span></span>
<span id="LC18" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+  ;; +ANON-DH: Request the "anonymous Diffie-Hellman" key exchange method.</span></span>
<span id="LC19" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+  (set-session-priorities! client "NORMAL:-KX-ALL:+ANON-DH")</span></span>
<span id="LC20" class="line" lang="diff"> </span>
<span id="LC21" class="line" lang="diff">   ;; Specify the underlying socket.</span>
<span id="LC22" class="line" lang="diff">   (set-session-transport-fd! client (fileno some-socket))</span>
<span id="LC23" class="line" lang="diff"><span class="p" style="margin-top: 0;">@@ -520,8 +521,7 @@</span> The corresponding server would look like this (again, assuming</span>
<span id="LC24" class="line" lang="diff"> </span>
<span id="LC25" class="line" lang="diff"> (let ((server (make-session connection-end/server)))</span>
<span id="LC26" class="line" lang="diff">   (set-session-default-priority! server)</span>
<span id="LC27" class="line" lang="diff"><span class="gd" style="margin-top: 0;">-  (set-session-certificate-type-priority! server '())</span></span>
<span id="LC28" class="line" lang="diff"><span class="gd" style="margin-top: 0;">-  (set-session-kx-priority! server (list kx/anon-dh))</span></span>
<span id="LC29" class="line" lang="diff"><span class="gi" style="margin-top: 0;">+  (set-session-priorities! server "NORMAL:-KX-ALL:+ANON-DH")</span></span>
<span id="LC30" class="line" lang="diff"> </span>
<span id="LC31" class="line" lang="diff">   ;; Specify the underlying transport socket.</span>
<span id="LC32" class="line" lang="diff">   (set-session-transport-fd! server (fileno some-socket))</span></code></pre>
<copy-code></copy-code>
</div>
</div>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/guile/-/issues/16">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/03ff7d7870dba45742ab99307f08237c/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/guile/-/issues/16"}}</script>


</p>
</div>
</body>
</html>