tag: security

How to create a fullstack application using Django and Python Part 20
Maria D. Campbell
In this section, I re-organize the accounts and boards tests content, refactor password reset-related django_boards/urls.py, fix the password reset-related accounts tests failures, add the password_change URL to templates/base.html, fix the 302 redirect-related failure in the boards.tests.test_view_reply_topic_tests, and add the reply_topic URL to templates/topic_posts.html.
#fullstack development, #macOS, #django, #django 5.1, #python3, #authentication, #code refactoring, #debug code, #default password reset, #fix urls, #fix redirects, #resolve, #reverse, #security, #series, #tests, #unittest

How to create a fullstack application using Django and Python Part 18
Maria D. Campbell
In this section, I create the password_reset routes, views, tests, and templates. The results of the password reset process are output to the Terminal console. I debug the password_reset_confirm_tests tests to find out what the actual csrf token is and hard code it into the test_csrf (function) test. I re-use the Beautiful Soup 4 and Soup Sieve packages to refactor the test_form_inputs (function) test.
#fullstack development, #django, #macOS, #python3, #password reset, #security, #series, #beautifulsoup4, #html5lib, #html parser, #soupsieve, #coverage.py, #coverage, #tests, #unittest

How to create a fullstack application using Django and Python Part 14
Maria D. Campbell
In this section, I build a NewTopicForm, view, and route. I also add NewTopicTests to boards/tests.py.
#fullstack development, #macOS, #django, #django forms api, #bootstrap, #csrf token, #django-widget-tweaks, #python3, #response context attribute, #security, #series, #tests, #unittest

How to create a fullstack application using Django and Python Part 4
Maria D. Campbell
In this section, I discuss how to install the python-dotenv package and why it is crucial to do so as to safeguard sensitive information the Django application depends on.
#macOS, #environment variables, #.env, #fullstack development, #git, #gitignore, #python3, #django, #python-dotenv, #security, #series

Clearing Terminal history in Linux and why it is important to do on occasion
Maria D. Campbell
Learn how to manage your bash history in Linux — from deleting individual commands to clearing .bash_history entirely — and why it matters for privacy and security.
#bash, #command line, #linux, #history, #security, #terminal history, #vim

Exchanging public keys using a PGP key pair
Maria D. Campbell
How to exchange public keys using a PGP key pair via local email using Mutt email client.
#exchanging public keys, #linux, #mutt email client, #asymmetric encryption, #pgp key pair, #gpg, #pgp, #revocation certificate, #security, #series

Making and verifying a cleartext digital signature using a PGP key pair in Linux
Maria D. Campbell
How to make and verify a cleartext digital signature using a PGP key pair in Linux.
#asymmetric encryption, #cleartext signature, #gpg, #linux, #pgp, #pgp key pair, #security, #series, #verification

Making and verifying a detached signature using a PGP key pair in Linux
Maria D. Campbell
How to make and verify a detached signature using a PGP key pair in Linux.
#asymmetric encryption, #detached signature, #gpg, #linux, #pgp, #pgp key pair, #security, #series, #verification

Making and verifying digital signatures using GPG in Linux
Maria D. Campbell
How to make and verify digital signatures using GPG in Linux.
#asymmetric encryption, #symmetric encryption, #encryption, #decryption, #pgp key pair, #complete signature, #verification, #gpg, #linux, #pgp, #security, #series

Encrypting and Decrypting Files and Strings
Maria D. Campbell
In this post, I show how to encrypt and decrypt files with a Python encryption/decryption application using the Python Fernet symmetric encryption method and via Command Line using GnuPG.
#decryption, #encryption, #gnupg, #symmetric encryption, #command line, #macOS, #python3, #security