9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] tlsClient: tls: local invalid x509/rsa certificate
Date: Mon, 27 Oct 2014 11:44:00 -0400	[thread overview]
Message-ID: <ca58abe56493e2bf38ad86eeb1011678@ladd.quanstro.net> (raw)
In-Reply-To: <a06a8d6dcf3de4836f0090ad33081ad0@hamnavoe.com>

On Mon Oct 27 05:20:04 EDT 2014, 9fans@hamnavoe.com wrote:
> > A patch(1) (/n/sources/patch) can't be applied automatically
> > without modifying patch/apply.
>
> Actually it can, thanks to the magic of bind(1):
>
> 	cpu% 9fs sources
> 	cpu% PATCH=libsec-x509-sha256rsa
> 	cpu% mkdir -p $home/patch/$PATCH
> 	cpu% bind -bc $home/patch/$PATCH /n/sources/patch/$PATCH
> 	cpu% patch/apply $PATCH
> 	merge...backup...copy...
> 	to update sources:
> 		update /sys/src/libsec/port/x509.c
> 	cpu% ls -l /sys/src/libsec/port/x509.c
> 	--rw-rw-r-- M 9996 sys sys 54387 Oct 27 09:15 /sys/src/libsec/port/x509.c

fwiw, 9atom has had this, and serial checking (i think cinap did this).

- erik



  reply	other threads:[~2014-10-27 15:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 21:04 Ryan Gonzalez
2014-10-26 22:19 ` David du Colombier
2014-10-26 22:30   ` David du Colombier
2014-10-26 22:36     ` Ryan Gonzalez
2014-10-26 22:39       ` David du Colombier
2014-10-26 22:52       ` David du Colombier
2014-10-27  9:19         ` Richard Miller
2014-10-27 15:44           ` erik quanstrom [this message]
2014-10-27 23:34         ` Ryan Gonzalez
2014-10-27  4:22   ` lucio
2014-10-27  6:24     ` David du Colombier
2014-10-27  7:33       ` lucio
2014-10-27 15:45     ` erik quanstrom
2014-10-27 15:50       ` lucio
2014-10-27  4:23   ` lucio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca58abe56493e2bf38ad86eeb1011678@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).