pyauth / pyauth/python-pkcs11

Typo in "Applied" docs - Generating Keys

Open
#155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
170
Forks
79
PR merge metrics
No merged PRs in 30d

Description

https://github.com/danni/python-pkcs11/blob/e35e6c45e3dcaaa1511262121ff4ab6769de941e/docs/applied.rst?plain=1#LL367C32-L367C42

Should be Storing keys requires a read/write session. instead because:

  1. When a session is opened as read only I get the following exception when generating a key with store=True:
File "pkcs11/_pkcs11.pyx", line 488, in pkcs11._pkcs11.Session.generate_key
File "pkcs11/_errors.pyx", line 88, in pkcs11._pkcs11.assertRV
pkcs11.exceptions.SessionReadOnly

And when a session is opened as read/write, everything is fine.

  1. It just doesn't make sence..

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at docs/applied.rst around line 367, using the linked revision to locate the sentence in the Generating Keys section. Confirm the wording against the reported read-only and read/write session behavior, then update the sentence and verify the rendered documentation reads correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.