From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <29f71e3f43f659ec8f6618deca36b1b0@plan9.bell-labs.com> From: Eric Grosse To: 9fans@cse.psu.edu Subject: Re: [9fans] E attribute in libsec/port/x509.c In-Reply-To: <802c9b0626bc30fd37f13ebc4f729d01@domik.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-aajdnhqklabhiurlportjpplnv" Date: Tue, 11 Mar 2003 12:41:35 -0500 Topicbox-Message-UUID: 7ea36946-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-aajdnhqklabhiurlportjpplnv Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Done. --upas-aajdnhqklabhiurlportjpplnv Content-Type: message/rfc822 Content-Disposition: inline Received: from grubby.research.bell-labs.com ([135.104.2.9]) by plan9; Tue Mar 11 07:14:23 EST 2003 Received: from dusty.research.bell-labs.com (dusty.research.bell-labs.com [135.104.2.7]) by grubby.research.bell-labs.com (8.12.8/8.12.8) with ESMTP id h2BCELTe068934 for ; Tue, 11 Mar 2003 07:14:21 -0500 (EST) Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by dusty.research.bell-labs.com (8.12.8/8.12.8) with ESMTP id h2BCDVUo034716 for ; Tue, 11 Mar 2003 07:13:31 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.16.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 7BBA119A91; Tue, 11 Mar 2003 07:14:07 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from server.domik.fr (f05v-7-60.d1.club-internet.fr [212.194.90.60]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 9A56119A90 for <9fans@cse.psu.edu>; Tue, 11 Mar 2003 07:13:37 -0500 (EST) Message-ID: <802c9b0626bc30fd37f13ebc4f729d01@domik.fr> To: 9fans@cse.psu.edu From: Claude BONFANTI MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] E attribute in libsec/port/x509.c Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 10 Mar 2003 13:13:35 0000 Various attributes could be specified this way. % diff .../new.x509.c x509.c 2222c2222 < int data[7]; --- > int data[4]; 2226,2232c2226,2231 < {4, 2, 5, 4, 6, 0, 0, 0, "C="}, < {4, 2, 5, 4, 8, 0, 0, 0, "ST="}, < {4, 2, 5, 4, 7, 0, 0, 0, "L="}, < {4, 2, 5, 4, 10, 0, 0, 0, "O="}, < {4, 2, 5, 4, 11, 0, 0, 0, "OU="}, < {7, 1,2,840,113549,1,9,1, "E="}, < {4, 2, 5, 4, 3, 0, 0, 0, "CN="}, --- > {4, 2, 5, 4, 6, "C="}, > {4, 2, 5, 4, 8, "ST="}, > {4, 2, 5, 4, 7, "L="}, > {4, 2, 5, 4, 10, "O="}, > {4, 2, 5, 4, 11, "OU="}, > {4, 2, 5, 4, 3, "CN="}, % % aux/X509gen -p your_key.secret 'C=FR O=''-'' OU=''-'' E=''guess@nowere.fr'' CN=''Your_NAME'' ' >your_x509certificate.der --upas-aajdnhqklabhiurlportjpplnv--