Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Time is an illusion. Lunchtime doubly so." -- Ford Prefect, _Hitchhiker's Guide to the Galaxy_


devel / comp.lang.python / Re: [Solved] Re: Windows registry PermissionError

SubjectAuthor
o Re: [Solved] Re: Windows registry PermissionErrorEryk Sun

1
Re: [Solved] Re: Windows registry PermissionError

<mailman.394.1652422474.20749.python-list@python.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=18255&group=comp.lang.python#18255

 copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: eryk...@gmail.com (Eryk Sun)
Newsgroups: comp.lang.python
Subject: Re: [Solved] Re: Windows registry PermissionError
Date: Fri, 13 May 2022 01:14:30 -0500
Lines: 10
Message-ID: <mailman.394.1652422474.20749.python-list@python.org>
References: <84e2a35c-3882-aaf5-a0a6-3efefc1ceb8d@dewhirst.com.au>
<CACL+1asQGepD+Lw7w9W-jiFUNYWLqRvZJ0uEufT5Ow1siJvJTg@mail.gmail.com>
<2e535898-3aaf-8904-017e-901acc88e8ad@dewhirst.com.au>
<CACL+1at=z_ni9CRqKi6CpHM7t9-zJ8Zgu=qTxt-wvbOU7W6sgQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de a3lxNpgoXvKU0CC/QYY/7wBwNjCAyH8sUbhbkkmS8Dqg==
Return-Path: <eryksun@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=oD5+cOzr;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.025
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'parameter': 0.05;
'subject:Windows': 0.07; 'cc:addr:python-list': 0.09;
'subject:skip:P 10': 0.09; 'cc:no real name:2**0': 0.14;
'machine,': 0.16; 'cc:addr:python.org': 0.20; 'subject:: [': 0.21;
'subject:] ': 0.21; 'cc:2**0': 0.25; 'computer': 0.29; 'message-
id:@mail.gmail.com': 0.32; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'following': 0.35;
'from:addr:gmail.com': 0.35; 'target': 0.36; 'received:209.85':
0.37; 'received:209': 0.39; 'handle': 0.39; 'should': 0.40;
'initial': 0.61; 'skip:h 10': 0.61; 'key': 0.64; 'skip:r 20': 0.64
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:cc; bh=Ir9tSeO9sYhDvJaRt38TuLei7PZwwUR/H7nCHFAjPrs=;
b=oD5+cOzrYWje9C9tICh3BbbzTRvZf8/PQGrweenbHadH/PupdNpnxWpNpYnbgdoXvA
6OXj/Zk980sJkzzsBLe6q+JAkoQDWERDbWd6N/X4hiVjfJ2bJKVMXwAIb/z3Uyg9Fsbi
MOc2nJQrYlsSGxKV02kAgB/E72ql3Qzz2rhSsyj/Z7WCrB0oEq+KO/gMvPIebifKHPJj
xYeP73Wnwt3yb/qa7gLY8NrJZFOgdrqjKKIy3AIuXwLEgo7ACG+c5HmGJdMytCuQIyQ0
KBYFEIjuOP8niCAuJpBCbidcg9MW0SHZ3Ef0jBH3Z1Qf71WR5RcTSkoBf+74JHsnbiFf
/5tw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to:cc;
bh=Ir9tSeO9sYhDvJaRt38TuLei7PZwwUR/H7nCHFAjPrs=;
b=B0emWJ/OrCv9pX9HA407SsSpciJ3KYED6qYBdmQZjsLUrFgxbaWDYFVglrBFMrgUpR
bNEXIcUsaACXk1i9yNHKKx1PuUe1MVAuaGklLpUtA6eO1TB1wAZNBy7tKib4KLgsuPvA
kgefIM3UQD43pCEV+yDlhLEDKKh6AKQ36+nbCbw+a7nGyHFAhqDwB2EUVX+u/Rokh9/E
rhavYDdVxZ2Z9PSQbWSEKN2SzKmndYTcJb7WyL1r9yfAsh4lMVTDwQYhi6UxCkCphg1U
rUD0gXeO7wVxCTfmGFHWa/zOoEqFrMnRSHGfUE/ybom24J19IlH9sHOKTu9zrdpgs1jO
Yh4w==
X-Gm-Message-State: AOAM530RgpfeWLjwDvVuIMYFTBGLT3PbZVTFLbB2kf1eyCj3sX6YyUyL
FuKPAfpUuGKaDoqwwWnnKloR+MxjxwqjLRWIwHvMnECm
X-Google-Smtp-Source: ABdhPJzSocgoKx5Y6D4Ce6uvSB/jrtqVaicoaSc809MLADwsJvFsd9+Sb8KyglHGO6rshCyb5btDy4gdiv9Eb3HdYVY=
X-Received: by 2002:a63:191e:0:b0:3db:27cb:6726 with SMTP id
z30-20020a63191e000000b003db27cb6726mr2734949pgl.522.1652422470838; Thu, 12
May 2022 23:14:30 -0700 (PDT)
In-Reply-To: <2e535898-3aaf-8904-017e-901acc88e8ad@dewhirst.com.au>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <https://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>
X-Mailman-Original-Message-ID: <CACL+1at=z_ni9CRqKi6CpHM7t9-zJ8Zgu=qTxt-wvbOU7W6sgQ@mail.gmail.com>
X-Mailman-Original-References: <84e2a35c-3882-aaf5-a0a6-3efefc1ceb8d@dewhirst.com.au>
<CACL+1asQGepD+Lw7w9W-jiFUNYWLqRvZJ0uEufT5Ow1siJvJTg@mail.gmail.com>
<2e535898-3aaf-8904-017e-901acc88e8ad@dewhirst.com.au>
 by: Eryk Sun - Fri, 13 May 2022 06:14 UTC

Since self.connect() is always called, you should document that the
initial hkey parameter has to be one of the following predefined key
handles:

HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_PERFORMANCE_DATA

WinAPI RegConnectRegistryW() only matters when the target computer is
a different machine, in which case an RPC proxy handle is returned.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor