diff options
Diffstat (limited to '')
-rw-r--r-- | astro.config.mjs | 3 | ||||
-rw-r--r-- | package-lock.json | 96 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/content/docs/advanced/sync-public-keys.md | 2 | ||||
-rw-r--r-- | src/content/docs/extra/algorithms-comparison.md | 12 |
5 files changed, 54 insertions, 61 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index 3d25b76..00348b3 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,13 +3,14 @@ import starlight from "@astrojs/starlight"; import netlify from "@astrojs/netlify"; import starlightThemeNova from "starlight-theme-nova"; import sitemap from "@astrojs/sitemap"; +import starlightLinksValidator from "starlight-links-validator"; // https://astro.build/config export default defineConfig({ site: "https://gpgfrontend.bktus.com", integrations: [ starlight({ - plugins: [starlightThemeNova()], + plugins: [starlightThemeNova(), starlightLinksValidator()], title: "GpgFrontend", description: "A Free, Easy-to-Use, Cross-Platform OpenPGP Crypto Tool.", logo: { diff --git a/package-lock.json b/package-lock.json index 3727557..047f4fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@astrojs/starlight": "^0.34.2", "astro": "^5.6.1", "sharp": "^0.32.5", - "starlight-theme-black": "^0.6.0", + "starlight-links-validator": "^0.17.0", "starlight-theme-nova": "^0.6.1" } }, @@ -933,24 +933,6 @@ "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==", "license": "MIT" }, - "node_modules/@fontsource/geist-mono": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/@fontsource/geist-mono/-/geist-mono-5.2.5.tgz", - "integrity": "sha512-7/r9opukyQ3jkAqfhIRnhodWlAc8yVkHogDUAFqBeBSYNpvlpouLJysYO5cIpqyB/lHrazxChiC73Oj8K3+sZg==", - "license": "OFL-1.1", - "funding": { - "url": "https://github.com/sponsors/ayuhito" - } - }, - "node_modules/@fontsource/geist-sans": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/@fontsource/geist-sans/-/geist-sans-5.2.5.tgz", - "integrity": "sha512-anllOHyJbElRs9fV15TeDRqAeb1IKm4bSknPl6ZMoyPTx1BBy7logudcUwpNjmQLkzn4Q0JGQLRCUKJYoyST6A==", - "license": "OFL-1.1", - "funding": { - "url": "https://github.com/sponsors/ayuhito" - } - }, "node_modules/@img/sharp-darwin-arm64": { "version": "0.33.5", "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", @@ -2031,6 +2013,12 @@ "undici-types": "~6.21.0" } }, + "node_modules/@types/picomatch": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/picomatch/-/picomatch-3.0.2.tgz", + "integrity": "sha512-n0i8TD3UDB7paoMMxA3Y65vUncFJXjcUf7lQY7YyKGl6031FNjfsLs6pdLFCy2GNFxItPJG8GvvpbZc2skH7WA==", + "license": "MIT" + }, "node_modules/@types/sax": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.7.tgz", @@ -2635,9 +2623,9 @@ } }, "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" @@ -3984,6 +3972,18 @@ "url": "https://github.com/sponsors/brc-dd" } }, + "node_modules/is-absolute-url": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-4.0.1.tgz", + "integrity": "sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A==", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-alphabetical": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", @@ -4217,18 +4217,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/marked": { - "version": "15.0.11", - "resolved": "https://registry.npmjs.org/marked/-/marked-15.0.11.tgz", - "integrity": "sha512-1BEXAU2euRCG3xwgLVT1y0xbJEld1XOrmRJpUwRCcy7rxhSCwMrmEu9LXoPhHSCJG41V7YcQ2mjKRr5BA3ITIA==", - "license": "MIT", - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 18" - } - }, "node_modules/mdast-util-definitions": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-6.0.0.tgz", @@ -5818,9 +5806,9 @@ } }, "node_modules/prebuild-install/node_modules/tar-fs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.2.tgz", - "integrity": "sha512-EsaAXwxmx8UB7FRKqeozqEPop69DXcmYwTQwXvyAPF352HJsPdkVhvTaDPYqfNgruveJIJy3TA2l+2zj8LJIJA==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz", + "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==", "license": "MIT", "dependencies": { "chownr": "^1.1.1", @@ -6608,22 +6596,28 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/starlight-theme-black": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/starlight-theme-black/-/starlight-theme-black-0.6.0.tgz", - "integrity": "sha512-SoYAlyFEyRizcxQXd1ibfAGytmI5gVbSBReK25YFeASI51YwdB9bQtmp14/d70KgfD6kD7SRidhOrPBMD4S3AA==", + "node_modules/starlight-links-validator": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/starlight-links-validator/-/starlight-links-validator-0.17.0.tgz", + "integrity": "sha512-D+j0W7Z6CVSxPlt8jskBcApqaAU16JmuxE4c483Xj2sWJteiz0wW2xvk0cG3o/cW1q9x44Ezc668OnUi3a5LAA==", "license": "MIT", "dependencies": { - "@fontsource/geist-mono": "^5.1.0", - "@fontsource/geist-sans": "^5.1.0", - "@pagefind/default-ui": "^1.3.0", - "marked": "^15.0.6" + "@types/picomatch": "^3.0.1", + "github-slugger": "^2.0.0", + "hast-util-from-html": "^2.0.3", + "hast-util-has-property": "^3.0.0", + "is-absolute-url": "^4.0.1", + "kleur": "^4.1.5", + "mdast-util-mdx-jsx": "^3.1.3", + "mdast-util-to-string": "^4.0.0", + "picomatch": "^4.0.2", + "unist-util-visit": "^5.0.0" }, - "funding": { - "url": "https://github.com/sponsors/adrian-ub" + "engines": { + "node": ">=18.17.1" }, "peerDependencies": { - "@astrojs/starlight": ">=0.30.0" + "@astrojs/starlight": ">=0.32.0" } }, "node_modules/starlight-theme-nova": { @@ -6833,9 +6827,9 @@ } }, "node_modules/tar-fs": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", - "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz", + "integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==", "license": "MIT", "dependencies": { "pump": "^3.0.0", diff --git a/package.json b/package.json index e8637bc..c2abbb2 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@astrojs/starlight": "^0.34.2", "astro": "^5.6.1", "sharp": "^0.32.5", - "starlight-theme-black": "^0.6.0", + "starlight-links-validator": "^0.17.0", "starlight-theme-nova": "^0.6.1" } } diff --git a/src/content/docs/advanced/sync-public-keys.md b/src/content/docs/advanced/sync-public-keys.md index 07d19a4..e4e0db2 100644 --- a/src/content/docs/advanced/sync-public-keys.md +++ b/src/content/docs/advanced/sync-public-keys.md @@ -73,8 +73,6 @@ Setting a default key server **only affects key searches/imports**. This behavior ensures improved security and global consistency in public key management. -Or: [Want to restore previous behavior?](/guides/key-server-operations/#want-to-restore-previous-behavior) - ::: ## Best Practices for Key Synchronization diff --git a/src/content/docs/extra/algorithms-comparison.md b/src/content/docs/extra/algorithms-comparison.md index 89547ba..3381f2f 100644 --- a/src/content/docs/extra/algorithms-comparison.md +++ b/src/content/docs/extra/algorithms-comparison.md @@ -123,14 +123,14 @@ ECC algorithms and their specific applications. - **Performance**: Optimized for computational efficiency, making it an excellent choice for environments requiring rapid cryptographic operations. -## EdDSA (Edwards-Curve Digital Signature Algorithm) +### EdDSA (Edwards-Curve Digital Signature Algorithm) EdDSA is a modern digital signature algorithm based on elliptic curve cryptography. It is specifically designed to be more efficient, secure, and resistant to common implementation errors compared to older algorithms like DSA or ECDSA. -### Key Characteristics +#### Key Characteristics - **Deterministic Signature Generation**: Unlike ECDSA and DSA, which require secure random numbers for each signature, EdDSA uses deterministic methods, @@ -142,25 +142,25 @@ or ECDSA. security for environments requiring greater protection but at the cost of performance. -### Use Cases +#### Use Cases - **Ed25519**: Ideal for secure messaging (e.g., Signal), blockchain, and other modern cryptographic protocols where performance and efficiency are critical. - **Ed448**: Used in environments requiring stronger security, such as highly sensitive communications or systems with long-term security needs. -### Performance +#### Performance EdDSA is faster than RSA and ECDSA for both signing and verification. Its compact key sizes make it ideal for resource-constrained devices or systems. -### Compatibility +#### Compatibility While Ed25519 has gained significant adoption in modern cryptographic libraries, it is not yet universally supported in older systems or clients. Ed448 has even more limited support. -## Why ECDH Cannot Be Used as a Primary Key Algorithm +### Why ECDH Cannot Be Used as a Primary Key Algorithm **ECDH (Elliptic Curve Diffie-Hellman)** is a key exchange algorithm used to establish shared secrets between two parties. It is not designed for signing |