From 88d0005bf4c3ec17306ecaca4281a8d8efd73e91 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Thu, 11 Aug 2016 11:32:03 -0700 Subject: [PATCH] nacl: use HTTPS for nacl.cr.yp.to links nacl.cr.yp.to is available over HTTPS and presents a valid certificate, so seems useful to use it. Change-Id: I64d86e52cc314641b4169167fe5123d38c2904c0 Reviewed-on: https://go-review.googlesource.com/26812 Reviewed-by: Jonathan Rudenberg Reviewed-by: Brad Fitzpatrick --- nacl/box/box.go | 5 +++-- nacl/secretbox/secretbox.go | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nacl/box/box.go b/nacl/box/box.go index ca48a6d..7ed1864 100644 --- a/nacl/box/box.go +++ b/nacl/box/box.go @@ -13,15 +13,16 @@ example, by using nonce 1 for the first message, nonce 2 for the second message, etc. Nonces are long enough that randomly generated nonces have negligible risk of collision. -This package is interoperable with NaCl: http://nacl.cr.yp.to/box.html. +This package is interoperable with NaCl: https://nacl.cr.yp.to/box.html. */ package box // import "golang.org/x/crypto/nacl/box" import ( + "io" + "golang.org/x/crypto/curve25519" "golang.org/x/crypto/nacl/secretbox" "golang.org/x/crypto/salsa20/salsa" - "io" ) // Overhead is the number of bytes of overhead when boxing a message. diff --git a/nacl/secretbox/secretbox.go b/nacl/secretbox/secretbox.go index dbf31bb..1e1dff5 100644 --- a/nacl/secretbox/secretbox.go +++ b/nacl/secretbox/secretbox.go @@ -13,7 +13,7 @@ example, by using nonce 1 for the first message, nonce 2 for the second message, etc. Nonces are long enough that randomly generated nonces have negligible risk of collision. -This package is interoperable with NaCl: http://nacl.cr.yp.to/secretbox.html. +This package is interoperable with NaCl: https://nacl.cr.yp.to/secretbox.html. */ package secretbox // import "golang.org/x/crypto/nacl/secretbox"