Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/cert-manager/crypto

temporary fork to add support for ACME alternative certificate chains
https://github.com/cert-manager/crypto

acme/autocert: support ACME RFC 8555

The Manager now uses RFC 8555 implementation of Let's Encrypt by default.
Existing users need no...

0e8c3a9068a2fb325459490d2ce7baa4ffe2d00f authored over 5 years ago
acme: update Directory URL to Let's Encrypt v2

This updates the default Directory URL to Let's Encrypt v2.
Their v1 has been deprecated and new...

a950601f39e69382d60ea46fa15cecc9d9b70ec6 authored over 5 years ago
acme: prevent discovery network roundtrips in tests

Client's FetchCert now requires to do the discovery before
fetching a cert from RFC 8555 complia...

1f99b0ed1509a6c1a86af95b21f2a7059905b028 authored over 5 years ago
internal/chacha20: improve chacha20 performance on ppc64le

This improves the performance of the asm implementation for
chacha20 on ppc64le by updating to t...

af544f31c8ac5794d2134b792e9eb714d9d8f9ce authored over 5 years ago
openpgp/packet: support crypto.Decrypter in EncryptedKey.Decrypt

Fixes golang/go#33301

Change-Id: I74a389367d34d4718d70349794027ed9f1eca370
GitHub-Last-Rev: 6d9...

34f69633bfdcf9db92f698f8487115767eebef81 authored over 5 years ago
acme/internal: add a prober program

While working on the RFC 8555 implementation for golang/go#21081,
I've been also manually verify...

f9e2070545dcd4128a854a97ddf10fbfc3c4b6e4 authored over 5 years ago
acme: update existing methods for RFC 8555

This adds RFC support to the existing methods which,
in conjunction with the new order based met...

4663e185863a1aee50d0486b326769f0bd22eb30 authored over 5 years ago
acme: implement new order-based issuance methods

The order based issuance flow is different from pre-authorization
in that users tell upfront whi...

88343688bb370571259f1a6c98274757b61e3bb1 authored over 5 years ago
acme: support RFC 8555 account management

Most important change in this CL is that Client is now able
to correctly format and sign request...

a832865fa7ada6126f4c6124ac49f71be71bff2a authored over 5 years ago
Revert "ssh/terminal: account for win32 api changes"

This reverts commit CL 196897 (commit 9ee001bba3923)

Reason for revert: we're reverting the API...

cea2066c64117dea9cba47afc7c35e4d2299107d authored over 5 years ago
acme: add KID variant to jwsEncodeJSON

RFC8555 requires that most requests contain "kid" field in the
protected header. The JWK version...

fa1a291087948aa85c6e20c1b3749a02403ffc1b authored over 5 years ago
acme: fetch fresh nonces from newNonce resource

Previously, nonce values were fetched from Directory URL.
RFC8555 and some recent drafts provide...

2682ddc9f58f9f50377039b35d26007c68521f28 authored over 5 years ago
acme: add support for RFC8555 compliant discovery

This CL is part of many to extend existing acme package
functionality to support RFC8555 without...

2afe7c4bde1bf8be2ca50c448b6b8142970faf3e authored over 5 years ago
ssh/terminal: account for win32 api changes

The API changed for this function, since the call always succeeds.
Update this user of it accord...

9ee001bba392397c76f100a2d5b13afc86f167f1 authored over 5 years ago
acme/autocert: remove tls-sni-xx challenge support

These challenge types have been deprecated by popular ACME providers
due to security issues in t...

227b76d455e791cb042b03e633e2f7fbcfdf74a5 authored over 5 years ago
ssh: drop dh-group1-sha1 from default key exchanges

This removes diffie-hellman-group1-sha1 from the list of default
key exchange algorithms. This k...

094676da4a83be5288d281081bba63a173ce6772 authored over 5 years ago
sha3: add a space before +build in build tag comments

Add a space before build tag comments so it corresponds to the format
documented at https://gola...

71b5226ff73902d121cd9dbbdfdb67045a805845 authored over 5 years ago
ssh/test: delete TestInvalidTerminalMode

This test just tests the behaviour of the host sshd in the face of
invalid terminal modes, and t...

9756ffdc24725223350eb3266ffb92590d28f278 authored over 5 years ago
acme/autocert: remove tempfile after dircache write failed

Per https://golang.org/pkg/io/ioutil/#TempFile description, caller should remove the file when n...

60c769a6c58655dab1b9adac0d58967dd517cfba authored over 5 years ago
ssh: skip testHandshakeErrorHandlingN on js/wasm

The wasm runtime cannot schedule a GC run on tight loops.
Therefore it runs out of memory if suc...

4def268fd1a49955bfb3dda92fe3db4f924f2285 authored over 5 years ago
acme: send User-Agent and add Client.UserAgent

This is useful to CAs, to identify and reach out to problematic clients.

Fixes golang/go#24496
...

cc06ce4a13d484c0101a9e92913248488a75786d authored over 5 years ago
ed25519: turn into a wrapper for crypto/ed25519 beginning with Go 1.13

Updates golang/go#25355

Change-Id: Id077d96749194943914d956bd8e79e5272477d7e
Reviewed-on: https...

ea8f1a30c4438cc8b13f05538385ad8dc6049b43 authored over 5 years ago
ssh: add diffie-hellman-group-exchange-sha256

Add the diffie-hellman-group-exchange-sha256 defined in RFC 4419 to
the list of supported key ex...

57b3e21c3d5606066a87e63cfe07ec6b9f0db000 authored over 5 years ago
internal/chacha20: fix variable naming

Wrong variable naming was causing 'go vet' to fail. This change fixes that.

Change-Id: I71e1842...

5c40567a22f818bd14a1ea7245dad9f8ef0691aa authored over 5 years ago
poly1305: improve performance with asm for ppc64le

This adds an asm implementation for poly1305 on ppc64le, based on
the amd64 asm implementation u...

f99c8df09eb5bff426315721bfa5f16a99cad32c authored over 5 years ago
internal/chacha20: improve performance for ppc64le

Add asm implementation for chacha20 using vector instructions on ppc64le.
Below, the difference ...

20be4c3c3ed52bfccdb2d59a412ee1a936d175a7 authored over 5 years ago
sha3: fix bug in cSHAKE Clone()

Clone() made a copy of the Keccak state after invoking clone(), which is not
supported, since th...

22d7a77e9e5f409e934ed268692e56707cd169e5 authored over 5 years ago
ssh/gss: support kerberos authentication for ssh server and client

Change-Id: I20e3356476dc50402dd34d2b39ad030c1e63a9ef
Reviewed-on: https://go-review.googlesource...

cbcb750295291b33242907a04be40e80801d0cfc authored over 5 years ago
openpgp: replace "currentTime" with "creationTime" as appropriate

RFC 4880 uses the term "creation time" to refer to when keys and
signatures are created, and thi...

e1dfcc566284e143ba8f9afbb3fa563f2a0d212b authored over 5 years ago
scrypt: use math.bits rotate functions instead of ad-hoc implementation

This makes code more readable and idiomatic. No change in benchmarks.

Updates golang/go#31456

...

a29dc8fdc73485234dbef99ebedb95d2eced08de authored over 5 years ago
ssh/test: add port for aix/ppc64

Fixes golang/go#31413

Change-Id: I52105280a2237f23cd91b8ec92fd89cf62564572
Reviewed-on: https:/...

f162ad860cc521c71b15d01a1176c2e151233e6d authored over 5 years ago
openpgp/clearsign: reject potentially misleading headers and messages

Aida Mynzhasova of SEC Consult Vulnerability Lab reported that the
clearsign package accepts som...

c05e17bb3b2dca130fc919668a96b4bec9eb9442 authored almost 6 years ago
blake2s: use math.bits rotate functions instead of ad-hoc implementation

This makes code more readable and idiomatic.

Updates golang/go#31456

Benchstat:
name old...

d864b10871cd4370fe574816b489c819c675ccc7 authored almost 6 years ago
acme/autocert: make host of TLS certificate to be obtained always Punycode

According to the [RFC 5280, section 4.2.1.6](https://tools.ietf.org/html/rfc5280#section-4.2.1.6...

f8560614bab07ea1beea7bfb204cfa9d521d2484 authored almost 6 years ago
blake2b: use math.bits rotate functions instead of ad-hoc implementations

This makes code more readable and idiomatic and slightly improves performance.

Updates golang/g...

af44ce270edf2f3f6c9e80b84f46bd6dd6f657d0 authored almost 6 years ago
ssh: invert algorithm choices on the server

At the protocol level, SSH lets client and server specify different
algorithms for the read and ...

df01cb2cc480549d72034218dd98bf97671450ac authored almost 6 years ago
ssh/test: skip test on js/wasm

This should fix the build on the js/wasm builder.

Change-Id: I02a0ae00dcfd2691fbb4c7cf038b12988...

b43e412143f90fca62516c457cae5a8dc1595586 authored almost 6 years ago
sha3: add cSHAKE support

This patch implements 128- and 256-bit version of customizable variant
of SHAKE function (cSHAKE...

f416ebab96af27ca70b6e5c23d6a0747530da626 authored almost 6 years ago
all: change the old assembly style AX:CX to CX, AX

Assembly files with "/vendor/" or "testdata" in their paths were
ignored.

Change-Id: I10621751b...

92d88b081a492a5a9c208555199ad64099131f77 authored almost 6 years ago
ssh/test: use t.Run for MAC/kex/pubkey tests

Change-Id: Ic57625964b6d40d63acade476a0f99c00d598267
Reviewed-on: https://go-review.googlesource...

88737f569e3a9c7ab309cdc09a07fe7fc87233c3 authored almost 6 years ago
ssh: print server exit reason in tests

This helps debugging protocol violations by the client

Change-Id: I8e5486b49515b719bbe3de44daa4...

e7b772b7007a8e7a7e18751d4314dac3579c5b6a authored almost 6 years ago
ssh: add packetTypeNames map for better debug info

Change-Id: Ie1f58e00982568382e09d8f1dd12bf8a1dc1a9ed
Reviewed-on: https://go-review.googlesource...

9732e03de32bcc0b8dcda352390f07694964baf0 authored almost 6 years ago
ssh: rename ExampleHostKeyCheck to ExampleClientConfig_HostKeyCallback

Change-Id: I6d0f3396f06871286e3d48ec5af38770663dbed2
Reviewed-on: https://go-review.googlesource...

d99183c9a7b6d41bb2fa77e63938f49523fe9b68 authored almost 6 years ago
ssh: remove testing.T from ExampleRetryableAuthMethod

Change-Id: I9cb821827b16d60b0a8c4fff9caec78748f3a495
Reviewed-on: https://go-review.googlesource...

184a689644f29bf8bdd79031903de428eee310c1 authored almost 6 years ago
ssh: rename methods in packetCipher interface

The new name readCipherPacket/writeCipherPacket disambiguates method
calls from packetConn.{read...

457ee04da322f967f8b6043eeb01a5fd5cfba286 authored almost 6 years ago
ssh/test: skip test to fix build on solaris and aix

Change-Id: I734bf1f709a259889eeb9243079edb90d6751f67
Reviewed-on: https://go-review.googlesource...

38d8ce5564a5b71b2e3a00553993f1b9a7ae852f authored almost 6 years ago
crypto: update go.mod for s390x x/sys/cpu changes

To fix broken builds like:
https://build.golang.org/log/4c3d8463f5c2b2478dc2315f6c685b2f77bfcdd1...

8e1b8d32e692162a446e97250c5d34f5a52efed6 authored almost 6 years ago
ssh/terminal: Use move-N sequences for >1 cursor moves

Before, we emitted N single-move sequences on a cursor move. For
example, "move 4 left" would em...

a5d413f7728c81fb97d96a2b722368945f651e78 authored almost 6 years ago
salsa20/salsa: fix keystream loop in amd64 assembly when overflowing 32-bit counter

Fixes golang/go#30965

Change-Id: I83a804d555c048e0124c35f95c9e611b2c5bdb01
Reviewed-on: https:/...

b7391e95e576cacdcdd422573063bc057239113d authored almost 6 years ago
curve25519: add test vectors from BoringSSL

This diff extends the curve25519 test suite with some test vectors
generated from BoringSSL.

Up...

a1f597ede03a7bef967a422b5b3a5bd08805a01e authored almost 6 years ago
poly1305: implement a subset of the hash.Hash interface

This CL adds the poly1305.MAC type which implements a
subset of the hash.Hash interface. With MA...

c2843e01d9a2bc60bb26ad24e09734fdc2d9ec58 authored almost 6 years ago
internal/chacha20: use x/sys/cpu for s390x feature detection

Use the recently added CPU feature detection API rather than custom
assembly. This will need to ...

8dd112bcdc25174059e45e07517d9fc663123347 authored almost 6 years ago
poly1305: use x/sys/cpu for s390x feature detection

Use the recently added CPU feature detection API rather than custom
assembly. This will need to ...

0091315ad7f2c278f3d4e7cc4453fec5bed43869 authored almost 6 years ago
sha3: use x/sys/cpu for s390x feature detection

Use the recently added CPU feature detection API rather than custom
assembly.

While we are here...

e37aea1ec34e05cd6cab630ff84b62f0930c6a03 authored almost 6 years ago
ssh/terminal: fix GetSize on Windows

Return window size instead of buffer size.

Fixes golang/go#27743

Change-Id: Ib1cd249f5680d86d5...

31a38585487a4b1fd6ff4f8f3db26f1fb296ac82 authored almost 6 years ago
all: add a go.mod file

This change adds a go.mod and go.sum file to this repo, following the
requirements stated in bcm...

215aa809caaf1f5be699aef5e3ccebeb15d67b0b authored almost 6 years ago
ssh/agent: add checking for empty SSH requests

Previously empty SSH requests would cause a panic.

Change-Id: I8443fee50891b3d2b3b62ac01fb0b9e9...

7f87c0fbb88b590338857bcb720678c2583d4dea authored almost 6 years ago
xts: reduce tweak allocations

The call to k2.Encrypt causes tweak to escape to the heap, resulting
in a 16-byte allocation for...

ffb98f73852f696ea2bb21a617a5c4b3e067a439 authored almost 6 years ago
bn256: fix String methods when g.p == nil

Previously, when g.p == nil, String() crashed. In other method like Add(),
a point with g.p == n...

6635ad9975e2df3ac42b2a95a40b4803628ff68a authored almost 6 years ago
all: deprecate broken and legacy packages

Fixes golang/go#30141

Change-Id: I76f8eae31cfd6d106440114685cc0d9abba374f8
Reviewed-on: https:/...

a57398324d7b9ce8afc47fed8168be52977536f1 authored almost 6 years ago
acme: try to fetch nonce from directory first

The change should reduce resource quota consumed by the client overall.

Instead of sending HEAD...

a4c6cb3142f211c99e4bf4cd769535b29a9b616f authored almost 6 years ago
internal/chacha20: add SIMD implementation on arm64

Inspired by Vectorization of ChaCha Stream Cipher
https://eprint.iacr.org/2013/759.pdf

name ...

74369b46fc6756741c016591724fd1cb8e26845f authored almost 6 years ago
curve25519: mask high bit when loading group point

Comparison against BoringSSL-generated test vectors showed mismatches
with the pure Go implement...

193df9c0f06f8bb35fba505183eaf0acc0136505 authored almost 6 years ago
all: fix ineffectual assignments

audited using ineffassign tool from
github.com/gordonklaus/ineffassign
go generate does not gene...

b8fe1690c61389d7d2a8074a507d1d40c5d30448 authored almost 6 years ago
pkcs12: add a note suggesting ToPEM for multiple certificates/keys

Updates golang/go#14015

Change-Id: Iffe73540c5d74e4b3d0664035a1bdce5b47663ee
Reviewed-on: https...

9c16a0384b5abb953a62cc94b37deeb547126004 authored almost 6 years ago
acme: support IP address authorization type

This change extends the Client to allow users request
certificate issuance for IP addresses.

Se...

b01c7a72566457eb1420261cdafef86638fc3861 authored almost 6 years ago
pkcs12: note that this package is frozen and point to an alternative

Change-Id: Ia4d87b816f176194cd9e37efb42e273d678a84b7
Reviewed-on: https://go-review.googlesource...

ccddf3741a0cfcee0a62d34c18c2c5417a3761af authored almost 6 years ago
Revert "pkcs12: add a DecodeAll method"

This reverts commit bf88e3f4ba724b9852073e3d792ab18358069896.

Reason for revert: https://go-rev...

54b0dbbbf4499798258d115b783fd6e1c89e39c9 authored almost 6 years ago
pkcs12: add a DecodeAll method

Addition of a DecodeAll function as it was mentioned in #14015.

This solves a need many people ...

bf88e3f4ba724b9852073e3d792ab18358069896 authored almost 6 years ago
ssh/terminal: support ^N and ^P

This makes it possible to navigate the history without leaving
the home row on the keyboard.

Ch...

c7b33c32a30bae9ba07d37eb4d86f1f8b0f644fb authored almost 6 years ago
crypto/ssh/knownhosts: fix out-of-date documentation for checkAddr

Change-Id: I03e9cf1ee82b38f15232a48992bae0234bd51f1a
GitHub-Last-Rev: fd7b92d97c7b52ae00821bad09...

057139ce5d2bdbe6fe73c53679e24e9cf007f637 authored about 6 years ago
blake2b: fix comments in grammar

Change-Id: Idacdbf5ee847be6e21ecce0c9d41818e643c4835
GitHub-Last-Rev: bf1a719b62167d294319f23576...

64072686203f69e3fd20143576b27200f18ab0fa authored about 6 years ago
sha3: add support for Keccak-512

Keccak uses a different domain separation byte as the NIST-
standardized SHA-3 hashing function....

ff983b9c42bc9fbf91556e191cc8efb585c16908 authored about 6 years ago
bn256: fix gfp12 MulScalar

Previously MulScalar was ignoring the first parameter, which was inconsistent with gfp6 and gfp2...

8d7daa0c54b357f3071e11eaef7efc4e19a417e2 authored about 6 years ago
openpgp: support SHA384

SHA384 is a natural hashing choice for P-384 ECDSA. The only thing
needed to make it usable, is ...

505ab145d0a99da450461ae2c1a9f6cd10d1f447 authored about 6 years ago
ssh/terminal: enable tests for aix

Enable the tests on aix after support was added in CL 151077.

Change-Id: I2dcdaaa54d7c27b769722...

eb0de9b17e854e9b1ccd9963efafc79862359959 authored about 6 years ago
ssh/terminal: use "reports whether" in IsTerminal doc

Go documentation style for boolean funcs is to say:

// Foo reports whether ...
func Foo...

e657309f52e71501f9934566ac06dc5c2f7f11a1 authored about 6 years ago
cryptobyte: fix typo in test

Change-Id: I03178eca962c29ad03fd9b2fb57ad35c53c99860
GitHub-Last-Rev: 21a7a751920a5d3e650d1f91d1...

c05539cddb594cf33f1f0f5871d2964e9f813749 authored about 6 years ago
ssh/terminal: add AIX operating system

This commit adds AIX operation system to ssh/terminal package.

Change-Id: I31ccec5512dbf476eaf2...

9eb0be3963eaeb646c9a9b6d11f3da2b249bb2ca authored about 6 years ago
cryptobyte: don't ignore bytes added to BuilderContinuations of fixed-size Builders

Builders created with NewFixedBuilder were broken when used with
BuilderContinuations. The lengt...

3d3f9f413869b949e48070b5bc593aa22cc2b8f2 authored about 6 years ago
ssh: return specific error for invalid signature algorithm

Previously, this would return the default error "no auth passed yet".

Not only is the new error...

e4dc69e5b2fd71dcaf8bd5d054eb936deb78d1fa authored about 6 years ago
acme: support custom crypto.Signer implementations

Currently, only rsa.PrivateKey and ecdsa.PrivateKey are supported
when creating JWS signatures. ...

bfa7d42eb568d3c454e1853744768cc80718040d authored about 6 years ago
ssh/agent: Fix error returned from agent responses that are too big.

Make sure a meaningful error is returned when the SSH agent client receives
a response that is t...

4d3f4d9ffa16a13f451c3b2999e9c49e9750bf06 authored about 6 years ago
bcrypt: benchmark defaults

Currently the benchmarks hard code "10" for the cost but maybe a
better benchmark would be to us...

bc7917b19d8f099105de72dc62898400be07c984 authored about 6 years ago
cryptobyte: add (*Builder).Unwrite and (*Builder).SetError

Unwrite allows programs to rollback builders more reliably and
efficiently than by copying a Bui...

b078efbc8099b041569edb8c6ab625cd430e3fce authored about 6 years ago
openpgp: pass hash to Signer.Sign for ECDSA

Change-Id: Iabb601d9d7f3394c2a20cacd042c00bd05457500
Reviewed-on: https://go-review.googlesource...

7e6ffbd038512da5ae7ce06c196764f393990be1 authored about 6 years ago
ssh: support SSH agent signature flags and custom extensions

This commit implements two new features. To preserve backwards
compatibility the new methods are...

dab2b1051b5dd33a57e97c4774ed152e6a6c9a13 authored about 6 years ago
all: fix typos

Change-Id: I62cbcfcd0be5f6a74d93b85b24ff7607533bb239
GitHub-Last-Rev: 9967869e706e9fe7d13964bb32...

45a5f77698d342a8c2ef8423abdf0ba6880b008a authored about 6 years ago
hkdf: add Extract and Expand

RFC 5869, Section 3.3 suggests it might be sometimes appropriate to use
Expand without Extract, ...

e84da0312774c21d64ee2317962ef669b27ffb41 authored about 6 years ago
hkdf: improve example

Change-Id: I540c699baf1f7cbf27da458961d581773f442864
Reviewed-on: https://go-review.googlesource...

d2c3f1d8b9537a0fec2a2d4b1df405ac091cd7f3 authored about 6 years ago
openpgp: don't generate PubKeyAlgoRSASignOnly keys

These are deprecated according to RFC4880 and should no longer be
generated: https://tools.ietf....

85e1b3f9139abd58575d728a509643924e3b2ebf authored over 6 years ago
acme/autocert: include rejected hostname in TLS handshake error when host not configured

More informative error message enables HTTPS server configuration mistakes to be corrected quick...

74cb1d3d52f4c01cbfb44c1b50d204462f3124c7 authored over 6 years ago
ssh/testdata: correct typo

Change-Id: I93275a7aa048bab63bcf5dafe8582a0fcd7802ae
GitHub-Last-Rev: d56c40c905351af5d9555b2966...

0c41d7ab0a0ee717d4590a44bcb987dfd9e183eb authored over 6 years ago
ssh: fix typo in error message

Fix typo in error message when keyboard-interactive auth not supported by server and client requ...

a92615f3c49003920a58dedcf32cf55022cefb8d authored over 6 years ago
openpgp: split up tests and keys

keys_test.go was slowing down my editor because it was getting too
large. It helps to remove the...

7c1a557ab941a71c619514f229f0b27ccb0c27cf authored over 6 years ago
openpgp: allow RSA/ECDSA signers to return a pointer

Fixes golang/go#27606

Change-Id: I88b2f7c7796b43449a17a6be963c05f741dbf904
Reviewed-on: https:/...

e3636079e1a4c1f337f212cc5cd2aca108f6c900 authored over 6 years ago
openpgp: test subkeys with sub-optimal signature packet ordering

Test for RFC4880 5.2.3.3:
> An implementation that encounters multiple self-signatures on the
> ...

f7f546618e973faba6e0eb5819b5d15a9866ede6 authored over 6 years ago
openpgp: use latest subkey binding signature

Rather than using the first subkey binding signature encountered, use
the one with the most rece...

0259c3f76d4928383f46628f41c9613d07b64b7d authored over 6 years ago
openpgp: move addUserID outside of ReadEntity

In change id Id992676ef2363779a7028f4799180efb027fcf47, "current" was
moved into the UserID pack...

5295e8364332db77d75fce11f1d19c053919a9c9 authored over 6 years ago
openpgp: don't treat extra subkey selfsigs as uid sigs

Consider the following packet ordering scenario:
PUBKEY UID SELFSIG SUBKEY REV SELFSIG

In t...

0e37d006457bf46f9e6692014ba72ef82c33022c authored over 6 years ago