Skip to content

Commit 3167198

Browse files
committed
Speeelin fiksez
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
1 parent 7e73343 commit 3167198

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

tools/jwk2key.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ int main(int argc, char **argv)
193193
break;
194194

195195
default: /* '?' */
196-
usage("Uknown option", EXIT_FAILURE);
196+
usage("Unknown option", EXIT_FAILURE);
197197
break;
198198
}
199199
}

tools/jwt-generate.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ is **Issued At** and is the time in seconds since the *Unix Epcoch*.
2828
When using the **\-\-verbose** option, **jwt-generate** will print the JSON
2929
_HEADER_ and _PAYLOAD_ to **stdout**.
3030

31-
If used in conjuction with **\-\-print**, the JSON will be piped to the
31+
If used in conjunction with **\-\-print**, the JSON will be piped to the
3232
command's **stdin**. It will be called twice: once for _HEAD_ and once for
3333
_PAYLOAD_.
3434

tools/jwt-verify.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ signature block on the JWT, then you must give a JWK key with the
2020
so it must either be in the key file (as the **alg** attribute), or
2121
passed on the command line with the **-a** argument.
2222

23-
**jwt-verify** will not assume the alogirthm from the JWT itself (for
23+
**jwt-verify** will not assume the algorithm from the JWT itself (for
2424
security reasons), however, the algorithm in the JWT must match what
2525
you provide to **jwt-verify**.
2626

@@ -31,7 +31,7 @@ must pass **-** as the last and only argument after any options.
3131
When using the **\-\-verbose** option, **jwt-verify** will print the JSON
3232
_HEADER_ and _PAYLOAD_ to **stdout**.
3333

34-
If used in conjuction with **\-\-print**, the JSON will be piped to the
34+
If used in conjunction with **\-\-print**, the JSON will be piped to the
3535
command's **stdin**. It will be called twice: once for _HEAD_ and once for
3636
_PAYLOAD_.
3737

tools/jwt-verify.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Decode and (optionally) verify the signature for a JSON Web Token\n\
3636
provided with -k does not have an \"alg\" attribute\n\
3737
-p, --print=CMD When printing JSON, pipe through CMD\n\
3838
-k, --key=FILE Filename containing a JSON Web Key\n\
39-
-q, --quiet No output. Exit value is numner of errors\n\
39+
-q, --quiet No output. Exit value is number of errors\n\
4040
-v, --verbose Show decoded header and payload while verifying\n\
4141
\nThis program will decode and validate each token on the command line.\n\
4242
If - is given as the only argument to token, then tokens will be read\n\
@@ -87,7 +87,7 @@ static int process_one(jwt_checker_t *checker, jwt_alg_t alg, const char *token,
8787
}
8888
err = 1;
8989
} else if (!quiet) {
90-
printf("\xF0\x9F\x91\x8D \033[0;92m[YES]\033[0m Verfified\n");
90+
printf("\xF0\x9F\x91\x8D \033[0;92m[YES]\033[0m Verified\n");
9191
}
9292

9393
return err;
@@ -166,7 +166,7 @@ int main(int argc, char *argv[])
166166
break;
167167

168168
default: /* '?' */
169-
usage("Uknown option", EXIT_FAILURE);
169+
usage("Unknown option", EXIT_FAILURE);
170170
break;
171171
}
172172
}

tools/key2jwk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ int main(int argc, char **argv)
424424
}
425425
break;
426426
default: /* '?' */
427-
usage("Uknown option", EXIT_FAILURE);
427+
usage("Unknown option", EXIT_FAILURE);
428428
break;
429429
}
430430
}

0 commit comments

Comments
 (0)