donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 0f81beea6a34415ddcae90ea5220147f601cd808
parent cd541c473834235478cdc96e30520c4d3f89bce5
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
Date:   Fri,  7 Jun 2024 09:13:12 +0200

minor changes, add labels

Diffstat:
Mdoc/thesis/chapters/implementation/arch.tex | 7+++----
Mdoc/thesis/chapters/implementation/donau.tex | 8++++----
Mdoc/thesis/thesis.pdf | 0
3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/doc/thesis/chapters/implementation/arch.tex b/doc/thesis/chapters/implementation/arch.tex @@ -1,11 +1,10 @@ -\section{System Architecture} -As the charity backend and donor wallet implementation are not yet developed the following architecture is reduced to the Donau backend, the client API calls and the API tests. -% The android app +\section{System Architecture}\label{system_architecture} +As the charity backend and donor wallet implementation are not yet developed the following architecture is reduced to the Donau backend. \begin{figure}[ht] \includegraphics[width=1\textwidth]{donau_system_arch} \caption{Donau system architecture} \label{fig:donau_system_arch} \end{figure} -The Donau backend implements the REST API and HTTP handler which communicates with the database plugin. The postgresql database is further described in section ?? of the thesis. +The Donau backend implements the REST API and HTTP handler which communicates with the database plugin. The postgresql database is further described in section \ref{donau_database} of the thesis. The HTTP handler includes a key handler that interacts with the three secmod processes. The secmod processes generate the keys. Only they have access to the private keys. diff --git a/doc/thesis/chapters/implementation/donau.tex b/doc/thesis/chapters/implementation/donau.tex @@ -1,12 +1,12 @@ -\section{Donau} -The Donau is written in C as it reuses parts of the codebase from the exchange of GNU Taler[xx]. The Donau has a similar architecture and uses crypographic blinded signatures in a similar way as the exchange does. +\section{Donau}\label{donau} +The Donau is written in C as it reuses parts of the codebase from the exchange of GNU Taler \ref{taler}. The Donau has a similar architecture and uses crypographic blinded signatures in a similar way as the exchange does. \subsection{REST API} The detailed REST API specificatoin of the Donau backend is publicy available at the following url: \url{https://docs.taler.net/core/api-donau.html}. The following are the main API endpoints: \subsubsection{\texttt{/keys}} -The \texttt{GET /keys} request returns all valid donation unit public keys offered by the Donau, as well as the Donau's current EdDSA public signing key. Donation units unit keys are used by the Donau to sign blinded messages for an issue receipt request. The signing key is primarily used to create the donation statement signature for the donor (see section xx). +The \texttt{GET /keys} request returns all valid donation unit public keys offered by the Donau, as well as the Donau's current EdDSA public signing key. Donation units unit keys are used by the Donau to sign blinded messages for an issue receipt request. The signing key is primarily used to create the donation statement signature for the donor (see section \ref{donor_requests_a_donation_statement_from_the_donau}). %TODO The following is an example response of a \lstinline{curl 127.0.0.1:8080/keys} command. @@ -104,7 +104,7 @@ The following is an example response of a \lstinline{curl -d @submit.json -X POS \subsection{Donau Client} The REST client removes some of the complexity of sending requests to the Donau Server. It converts request parameters into JSON and parses JSON responses into a usable C format. What the exact queries are and how they look like is already described in the chapter xx Donau REST API. -\subsection{Donau Database} +\subsection{Donau Database}\label{donau_database} The Donau database contains five tables as shown in the figure below. The \texttt{donation\_units} and \texttt{donau\_sign\_keys} table store the keys necessary for signing and creating donation receipts. Donation receipts that are issued to be signed by the donau are stored in the \texttt{receipts\_issued} table while the receipts that are already signed are stored in the \texttt{receipts\_submitted} table. The \texttt{history} table keeps the donation records of the past years. \begin{figure}[ht] diff --git a/doc/thesis/thesis.pdf b/doc/thesis/thesis.pdf Binary files differ.