commit ef7c440f21067a185746fcb639902e4531e91280
parent c702322972c86c1c668c69a7260dc22066ea3567
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 4 Aug 2026 10:55:11 +0200
fix typos
Diffstat:
8 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -124,3 +124,4 @@ vgcore*
__pycache__
tags
contrib/extracted.h
+doc/sphinx/_build/
diff --git a/doc/sphinx/manpages/anastasis-gtk.1.rst b/doc/sphinx/manpages/anastasis-gtk.1.rst
@@ -31,7 +31,7 @@ key recover and backup operations.
Set the application ID to *ID*. Default is ``anastasis-gtk``. Used
to store different types of secrets from different applications
while using the same user attributes. Basically the application ID
- is included in the user attributes. Not changable by the GUI as
+ is included in the user attributes. Not changeable by the GUI as
only advanced users should even known about this. Applications that
tightly integrate Anastasis should set the application ID to their
respective unique name, for example the GNU Taler wallet may use
diff --git a/doc/sphinx/reducer.rst b/doc/sphinx/reducer.rst
@@ -1106,14 +1106,14 @@ be updated.
This transition removes the core secret from the state. It is simply a
convenience function to undo ``enter_secret`` without providing a new value
-immediately. The transition takes no arguments. The resuting state will no
+immediately. The transition takes no arguments. The resulting state will no
longer have the ``core_secret`` field, and be otherwise unchanged. Calling
**clear_secret** on a state without a ``core_secret`` will result in an error.
**enter_secret_name:**
-This transition provides the reducer with a name for the core ``secret`` of the user. This name will be given to the user as a hint when seleting a recovery policy document during recovery, prior to satisfying any of the challenges. The argument simply contains the name for the secret.
+This transition provides the reducer with a name for the core ``secret`` of the user. This name will be given to the user as a hint when selecting a recovery policy document during recovery, prior to satisfying any of the challenges. The argument simply contains the name for the secret.
Applications that have built-in support for Anastasis MUST prefix the
secret name with an underscore and an application-specific identifier
registered in GANA so that they can use recognize their own backups.
@@ -1407,7 +1407,7 @@ four mandatory fields:
- **uuid**: A unique identifier of the challenge; this is what the
UUIDs in the policies array refer to.
- - **uuid-display**: Shortened idenfier which is included in messages
+ - **uuid-display**: Shortened identifier which is included in messages
send to the user. Allows the user to
distinguish different PIN/TANs should say the same phone number be
used for SMS-authentication with different providers.
diff --git a/src/authorization/authorization-post-messages.json b/src/authorization/authorization-post-messages.json
@@ -1,7 +1,7 @@
{
"instructions" : "Recovery message send to an address with ZIP code %s",
"instructions_i18n" : {
- "de_DE" : "Ein Authorisierungscode wurde an eine Addresse mit der Postleitzahl %s geschickt"
+ "de_DE" : "Ein Authorisierungscode wurde an eine Adresse mit der Postleitzahl %s geschickt"
},
"body" : "Dear Customer\n\nThe Anastasis recovery code you need to\nrecover your data is %s.\nThis is for challenge %s.\n\nBest regards\n\nYour Anastasis provider"
}
diff --git a/src/include/anastasis.h b/src/include/anastasis.h
@@ -266,7 +266,7 @@ typedef void
/**
- * User starts a challenge which reponds out of bounds (E-Mail, SMS,
+ * User starts a challenge which responds out of bounds (E-Mail, SMS,
* Postal..) If the challenge is zero cost, the challenge
* instructions will be sent to the client. If the challenge needs
* payment a payment link is sent to the client. After payment the
@@ -458,7 +458,7 @@ ANASTASIS_challenge_answer2 (struct ANASTASIS_Challenge *c,
/**
- * User starts a challenge which reponds out of bounds (E-Mail, SMS,
+ * User starts a challenge which responds out of bounds (E-Mail, SMS,
* Postal..) If the challenge is zero cost, the challenge
* instructions will be sent to the client. If the challenge needs
* payment a payment link is sent to the client. After payment the
@@ -741,7 +741,7 @@ struct ANASTASIS_Recovery;
* @param provider_salt the provider's salt
* @param pc opens the policy call back which holds the downloaded version and the policies
* @param pc_cls closure for callback
- * @param csc core secret callback is opened, with this the core secert is passed to the client after the authentication
+ * @param csc core secret callback is opened, with this the core secret is passed to the client after the authentication
* @param csc_cls handle for the callback
* @return recovery operation handle
*/
@@ -799,7 +799,7 @@ ANASTASIS_recovery_deserialize (struct GNUNET_CURL_Context *ctx,
* @param[in,out] r recovery operation to resume
* @param pc opens the policy call back which holds the downloaded version and the policies
* @param pc_cls closure for callback
- * @param csc core secret callback is opened, with this the core secert is passed to the client after the authentication
+ * @param csc core secret callback is opened, with this the core secret is passed to the client after the authentication
* @param csc_cls handle for the callback
* @return #GNUNET_OK on success, #GNUNET_SYSERR if the lookup could
* not be started
diff --git a/src/include/anastasis_service.h b/src/include/anastasis_service.h
@@ -161,7 +161,7 @@ struct ANASTASIS_ConfigOperation;
* Run a GET /config request against the Anastasis backend.
*
* @param ctx CURL context to use
- * @param base_url base URL fo the Anastasis backend
+ * @param base_url base URL of the Anastasis backend
* @param cb function to call with the results
* @param cb_cls closure for @a cb
* @return handle to cancel the operation
@@ -645,7 +645,7 @@ typedef void
*
* @param ctx the CURL context used to connect to the backend
* @param backend_url backend's base URL, including final "/"
- * @param uuid unique identfication of the Truth Upload
+ * @param uuid unique identification of the Truth Upload
* @param type type of the authorization method
* @param encrypted_keyshare key material to return to the client upon authorization
* @param truth_mime mime type of @e encrypted_truth (after decryption)
@@ -823,7 +823,7 @@ struct ANASTASIS_TruthChallengeDetails
} success;
/**
- * Information returne if @e http_status is #MHD_HTTP_PAYMENT_REQUIRED
+ * Information returned if @e http_status is #MHD_HTTP_PAYMENT_REQUIRED
*/
struct
{
@@ -943,7 +943,7 @@ struct ANASTASIS_TruthSolveReply
} success;
/**
- * Information returne if @e http_status is #MHD_HTTP_PAYMENT_REQUIRED
+ * Information returned if @e http_status is #MHD_HTTP_PAYMENT_REQUIRED
*/
struct
{
@@ -966,7 +966,7 @@ struct ANASTASIS_TruthSolveReply
} payment_required;
/**
- * Information returne if @e http_status is #MHD_HTTP_TOO_MANY_REQUESTS.
+ * Information returned if @e http_status is #MHD_HTTP_TOO_MANY_REQUESTS.
*/
struct
{
diff --git a/src/include/anastasis_testing_lib.h b/src/include/anastasis_testing_lib.h
@@ -323,7 +323,7 @@ enum ANASTASIS_TESTING_TruthStoreOption
ANASTASIS_TESTING_TSO_NONE = 0,
/**
- * Re-use UUID of previous upload instead of creating a random one.
+ * Reuse UUID of previous upload instead of creating a random one.
*/
ANASTASIS_TESTING_TSO_REFERENCE_UUID = 1,
@@ -617,7 +617,7 @@ enum ANASTASIS_TESTING_RecoverSecretOption
*
* @param label command label
* @param anastasis_url base URL of the anastasis serving our requests.
- * @param id_data identfication data from the user
+ * @param id_data identification data from the user
* @param version of the recovery document to download
* @param rso recover secret options
* @param download_ref salt download reference
diff --git a/src/stasis/stasis-0001.sql b/src/stasis/stasis-0001.sql
@@ -67,7 +67,7 @@ COMMENT ON COLUMN anastasis_truth.method_name
COMMENT ON COLUMN anastasis_truth.encrypted_truth
IS 'Stores the encrypted authentication data';
COMMENT ON COLUMN anastasis_truth.truth_mime
- IS 'Defines the mime type of the stored authentcation data';
+ IS 'Defines the mime type of the stored authentication data';
COMMENT ON COLUMN anastasis_truth.expiration
IS 'At which date will the truth record expire';