Files
crypto/ssh
Dmitry Savintsev 59435533c8 crypto/ssh: fix encoding of ssh certs with critical options
Attention - BREAKING change for the certificates generated with
the previous versions of crypto/ssh!  Need to regenerate
certificates with a version of crypto/ssh library including
this fix.

[PROTOCOL.cerkeys] requires two length fields for non-empty
values of critical options (or extensions - but those are
currently always empty)  - see
https://bugzilla.mindrot.org/show_bug.cgi?id=2389.
Add SSH-conform handling of such composite values in marshalTuples
and parseTuples and related test (TestParseCertWithOptions) parsing
a certificate created with ssh-keygen which includes critical options.

Fixes #10569

Change-Id: Iecbfca67a66668880635141c72bc5fc370a9c112
Reviewed-on: https://go-review.googlesource.com/9375
Reviewed-by: Adam Langley <agl@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
2015-05-04 20:45:50 +00:00
..
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00