Update all URLs to stable and "less legally risky" versions, if possible
Marco Ricci

Marco Ricci commited on 2024-09-15 00:34:08
Zeige 6 geänderte Dateien mit 12 Einfügungen und 11 Löschungen.


In the interest of stability and of minimizing liability risks, link to
package repositories where possible.
... ...
@@ -10,7 +10,7 @@ The derivation is cryptographically strong, meaning that even if a single passph
10 10
 The derivation is also deterministic, given the same inputs, thus the resulting passphrase need not be stored explicitly.
11 11
 The service name and constraints themselves also need not be kept secret; the latter are usually stored in a world-readable file.
12 12
 
13
-[VAULT]: https://getvau.lt
13
+[VAULT]: https://www.npmjs.com/package/vault
14 14
 
15 15
 -----
16 16
 
... ...
@@ -39,8 +39,8 @@ $ pip install "derivepassphrase[export]"
39 39
 Using the `export vault` subcommand additionally requires the [cryptography package][CRYPTOGRAPHY], version 38.0 or newer.
40 40
 
41 41
 [TYPING_EXTENSIONS]: https://pypi.org/project/typing-extensions/
42
-[CLICK]: https://click.palletsprojects.com/
43
-[CRYPTOGRAPHY]: https://github.com/pyca/cryptography
42
+[CLICK]: https://pypi.org/project/click/
43
+[CRYPTOGRAPHY]: https://pypi.org/project/cryptography/
44 44
 
45 45
 ## Quick Usage
46 46
 
... ...
@@ -113,8 +113,9 @@ effectively constitute a new <q>major</q> release.)
113 113
 - Include and exclude the correct files in the `sdist` and `wheel`
114 114
   distributions.  (Previously, `sdist` contained VCS artifacts, and `wheel` was
115 115
   missing some paths.)
116
-- Lint and reformat all code using [ruff](https://astral.sh/ruff/).
117
-- Mention [`mkdocstrings-python`](https://mkdocstrings.github.io/python/) in
116
+- Lint and reformat all code using [ruff](https://pypi.org/package/ruff/).
117
+- Mention
118
+  [`mkdocstrings-python`](https://pypi.org/package/mkdocstrings-python/) in
118 119
   the documentation's page footer.
119 120
 - Remove JavaScript and external font loading from documentation website, so
120 121
   that the site works even in restricted browser settings.
... ...
@@ -51,4 +51,4 @@ If <i>PATH</i> is explicitly given as `VAULT_PATH`, then use the
51 51
 ## SEE ALSO
52 52
 
53 53
 [derivepassphrase(1)](derivepassphrase.1.md),
54
-[vault(1)](https://github.com/jcoglan/vault)
54
+[vault(1)](https://www.npmjs.com/package/vault)
... ...
@@ -114,4 +114,4 @@ discouraged from using a stored passphrase.
114 114
 ## SEE ALSO
115 115
 
116 116
 [derivepassphrase(1)](derivepassphrase.1.md),
117
-[vault(1)](https://github.com/jcoglan/vault)
117
+[vault(1)](https://www.npmjs.com/package/vault)
... ...
@@ -106,7 +106,7 @@ def derivepassphrase(
106 106
     [`click.testing.CliRunner`][] for controlled, programmatic
107 107
     invocation.)
108 108
 
109
-    [CLICK]: https://click.palletsprojects.com/
109
+    [CLICK]: https://pypi.org/package/click/
110 110
 
111 111
     """  # noqa: D301
112 112
     if subcommand_args and subcommand_args[0] == 'export':
... ...
@@ -171,7 +171,7 @@ def derivepassphrase_export(
171 171
     [`click.testing.CliRunner`][] for controlled, programmatic
172 172
     invocation.)
173 173
 
174
-    [CLICK]: https://click.palletsprojects.com/
174
+    [CLICK]: https://pypi.org/package/click/
175 175
 
176 176
     """  # noqa: D301
177 177
     if not (subcommand_args and subcommand_args[0] == 'vault'):
... ...
@@ -1145,7 +1145,7 @@ def derivepassphrase_vault(  # noqa: C901,PLR0912,PLR0913,PLR0914,PLR0915
1145 1145
     [`click.testing.CliRunner`][] for controlled, programmatic
1146 1146
     invocation.)
1147 1147
 
1148
-    [CLICK]: https://click.palletsprojects.com/
1148
+    [CLICK]: https://pypi.org/package/click/
1149 1149
 
1150 1150
     Parameters:
1151 1151
         ctx (click.Context):
... ...
@@ -39,7 +39,7 @@ class Vault:
39 39
     numbers select passphrase characters until the desired length is
40 40
     reached.
41 41
 
42
-    [vault]: https://getvau.lt
42
+    [vault]: https://www.npmjs.com/package/vault
43 43
     [ALGORITHM]: https://blog.jcoglan.com/2012/07/16/designing-vaults-generator-algorithm/
44 44
 
45 45
     """
46 46