Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99011

Public key encryption example.

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Vincent Davis <vincent@vincentdavis.net>
Newsgroups comp.lang.python
Subject Public key encryption example.
Date Wed, 18 Nov 2015 16:18:28 -0700
Lines 12
Message-ID <mailman.431.1447888735.16136.python-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de 9sN3oQGovyMdGKV2YZprYAnfWkVbsgtZhjtZUu04rQpg==
Return-Path <vincent@vincentdavis.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.142
X-Spam-Level *
X-Spam-Evidence '*H*': 0.72; '*S*': 0.01; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:key': 0.16; 'there?': 0.16; 'library': 0.20; 'to:name:python-list@python.org': 0.20; 'keys': 0.22; 'file.': 0.22; 'example': 0.26; 'message- id:@mail.gmail.com': 0.27; 'possibly': 0.32; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'something': 0.35; 'there': 0.36; 'lines': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'received:209': 0.38; 'files': 0.38; 'google': 0.39; 'url:en': 0.39; 'received:209.85.214': 0.39; 'along': 0.39; 'to:addr:python.org': 0.40; 'saving': 0.70; 'cryptography': 0.91; 'subject:Public': 0.91; 'url:latest': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=vincentdavis.net; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=LNZF1TpF86EOk727DNBWDcCp79PoZz3J5vQgySbEOsY=; b=JsUfGDWQ+pPIbBUp/5+h8D/bk05c4uL0/asdoePtWDR53WJlA17FP/7RMHd/jn2f2G bjZhdj3SOd74J2KSnbtadyVtXpORj1JJv3Krxt4l1drYq1us59EdrfDn9NZPS724UsDF nmPhPw3bOnA0JDwluZPNw+VNj4OaDcGV9WYlU=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=LNZF1TpF86EOk727DNBWDcCp79PoZz3J5vQgySbEOsY=; b=KoQkEwBGt3MPnJ4o/13dcr5kbyuCHSYTgGSOSqP6IjklKMWN6gfnyIA4f6qc5KEym2 cNgOLYCAV95ykY6yIGVcQMamLbBWsxvArKXGQ8RIT40qwd0ewhv/dUj2P8eG4mMUqVvQ G1xW07t7WmjhG6fEJq7IvOHxp8AG+NbO963d7V8U8yastbllYSA8aEIbl3JaBv6RCdC/ cvwy9AnTK9unc1VgLs4XwOxxICQVFdQItPjTXUfpXvl8+JZ+brCIPqVH+i/hwdK6MPB5 k1P/lKs9Z6w/I4KIUMFejrmFcW816ppvXE0yCgY7Q+WAu/2KmxXv11gKxnnyn+bL7j6c hv9Q==
X-Gm-Message-State ALoCoQk3OcfQuSS7XvoU7EffrH/92foz8sUeXkwL1S8GYo8zEmEOjrTFyqyQ84+WFwK1CgmoGVn7
X-Received by 10.182.97.138 with SMTP id ea10mr2820784obb.54.1447888727597; Wed, 18 Nov 2015 15:18:47 -0800 (PST)
X-Content-Filtered-By Mailman/MimeDel 2.1.20+
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:99011

Show key headers only | View raw


This might be a "Let me Google that for you question", I tried.
I am looking for the "simplest" example of sending(encrypting) and
receiving(decrypting) using public key encryption. I am think of something
along the lines of having all the keys in local files and saving and
reading the message from a local file.

Possibly using cryptography library elliptic-curve
https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec/#elliptic-curve-signature-algorithms

Surly there is an example out there?

Vincent Davis

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Public key encryption example. Vincent Davis <vincent@vincentdavis.net> - 2015-11-18 16:18 -0700
  Re: Public key encryption example. Paul Rubin <no.email@nospam.invalid> - 2015-11-18 15:56 -0800
    Re: Public key encryption example. Chris Angelico <rosuav@gmail.com> - 2015-11-19 11:04 +1100
    Re: Public key encryption example. Vincent Davis <vincent@vincentdavis.net> - 2015-11-18 19:22 -0700

csiph-web