totp
This commit is contained in:
@@ -4,5 +4,7 @@
|
||||
\catcode `"\active
|
||||
\babel@aux{portuguese}{}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {1}Introduction}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2}Conclusion}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2}Configurar TOTP}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Aceder ao código}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {3}Conclusion}{2}{}\protected@file@percent }
|
||||
\gdef \@abspage@last{2}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026/Arch Linux) (preloaded format=pdflatex 2026.4.13) 21 APR 2026 14:33
|
||||
This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026/Arch Linux) (preloaded format=pdflatex 2026.4.13) 21 APR 2026 21:45
|
||||
entering extended mode
|
||||
\write18 enabled.
|
||||
%&-line parsing enabled.
|
||||
@@ -201,7 +201,9 @@ File: lstlang1.sty 2025/11/14 1.11b listings language file
|
||||
File: lstlang1.sty 2025/11/14 1.11b listings language file
|
||||
)
|
||||
LaTeX Font Info: Font shape `OT1/EBGaramond-LF/m/n' will be
|
||||
(Font) scaled to size 10.0pt on input line 44.
|
||||
(Font) scaled to size 10.0pt on input line 48.
|
||||
LaTeX Font Info: Font shape `OT1/EBGaramond-LF/b/n' will be
|
||||
(Font) scaled to size 14.4pt on input line 60.
|
||||
[2]
|
||||
(/home/raw/uni/fsi/trabalho/relatorio/relatorio.aux)
|
||||
***********
|
||||
@@ -210,21 +212,22 @@ L3 programming layer <2026-01-19>
|
||||
***********
|
||||
)
|
||||
Here is how much of TeX's memory you used:
|
||||
4339 strings out of 469495
|
||||
72086 string characters out of 5470098
|
||||
672829 words of memory out of 5000000
|
||||
32992 multiletter control sequences out of 15000+600000
|
||||
638248 words of font info for 53 fonts, out of 8000000 for 9000
|
||||
4351 strings out of 469495
|
||||
72228 string characters out of 5470098
|
||||
676830 words of memory out of 5000000
|
||||
33004 multiletter control sequences out of 15000+600000
|
||||
640065 words of font info for 54 fonts, out of 8000000 for 9000
|
||||
16 hyphenation exceptions out of 8191
|
||||
62i,7n,99p,223b,1274s stack positions out of 10000i,1000n,20000p,200000b,200000s
|
||||
62i,7n,99p,223b,1206s stack positions out of 10000i,1000n,20000p,200000b,200000s
|
||||
</usr/share/texmf-dist/fonts/type1/public/ebgaramond/EBGaramond-Bold.pfb></us
|
||||
r/share/texmf-dist/fonts/type1/public/ebgaramond/EBGaramond-Regular.pfb></usr/s
|
||||
hare/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb>
|
||||
hare/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/share/texmf-dis
|
||||
t/fonts/type1/public/amsfonts/cm/cmtt12.pfb>
|
||||
Output written on /home/raw/uni/fsi/trabalho/relatorio/relatorio.pdf (2 pages,
|
||||
48079 bytes).
|
||||
58096 bytes).
|
||||
PDF statistics:
|
||||
27 PDF objects out of 1000 (max. 8388607)
|
||||
16 compressed objects within 1 object stream
|
||||
32 PDF objects out of 1000 (max. 8388607)
|
||||
19 compressed objects within 1 object stream
|
||||
0 named destinations out of 1000 (max. 500000)
|
||||
1 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -48,6 +48,24 @@ Criar chave secreta.
|
||||
openssl --genkey secret ta.key
|
||||
\end{lstlisting}
|
||||
|
||||
\section{Configurar TOTP}
|
||||
|
||||
Foi criado o ficheiro \texttt{totp} com a configuração de autenticação a
|
||||
ser utilizada pelo plugin de PAM para o openvpn.
|
||||
|
||||
\begin{lstlisting}[language=bash]
|
||||
plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so openvpn
|
||||
\end{lstlisting}
|
||||
|
||||
\subsection{Aceder ao código}
|
||||
Primeiro, na gateway, entramos como o utilizador desejado e obtemos a chave
|
||||
do gerador de palavras passes temporarias. Ao inserir a chave no
|
||||
\texttt{google authenticator} podemos obter a nossa primeira chave de 6 digitos.
|
||||
|
||||
\begin{lstlisting}[language=bash]
|
||||
su john
|
||||
google-authenticator
|
||||
\end{lstlisting}
|
||||
|
||||
\section{Conclusion}
|
||||
Conclusão!!!
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
\babel@toc {portuguese}{}\relax
|
||||
\contentsline {section}{\numberline {1}Introduction}{2}{}%
|
||||
\contentsline {section}{\numberline {2}Conclusion}{2}{}%
|
||||
\contentsline {section}{\numberline {2}Configurar TOTP}{2}{}%
|
||||
\contentsline {subsection}{\numberline {2.1}Aceder ao código}{2}{}%
|
||||
\contentsline {section}{\numberline {3}Conclusion}{2}{}%
|
||||
|
||||
Reference in New Issue
Block a user