Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/ykdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ struct config_st {
/* Yubikey 2 and above */
#define CFGFLAG_SHORT_TICKET 0x02 /* Send truncated ticket (half length) */
#define CFGFLAG_STRONG_PW1 0x10 /* Strong password policy flag #1 (mixed case) */
#define CFGFLAG_STRONG_PW2 0x40 /* Strong password policy flag #2 (subtitute 0..7 to digits) */
#define CFGFLAG_STRONG_PW2 0x40 /* Strong password policy flag #2 (substitute 0..7 to digits) */
#define CFGFLAG_MAN_UPDATE 0x80 /* Allow manual (local) update of static OTP */

/* Yubikey 2.1 and above */
Expand Down
2 changes: 1 addition & 1 deletion yubico/yubikey_config_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, key, value, doc=None, min_ykver=(0, 0), max_ykver=None, model
@param value: Bit value, 0x20 for APPEND_CR
@param doc: Human readable description of flag
@param min_ykver: Tuple with the minimum version required (major, minor,)
@param min_ykver: Tuple with the maximum version required (major, minor,) (for depreacted flags)
@param min_ykver: Tuple with the maximum version required (major, minor,) (for deprecated flags)
@param models: List of model identifiers (strings) that support this flag
"""
if type(key) is not str:
Expand Down
2 changes: 1 addition & 1 deletion yubico/yubikey_neo_usb_hid.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def _encode_ndef_uri_type(self, data):

def _encode_ndef_text_params(self, data):
"""
Prepend language and enconding information to data, according to
Prepend language and encoding information to data, according to
nfcforum-ts-rtd-text-1-0.pdf
"""
status = len(self.ndef_text_lang)
Expand Down