Nebraska.Code() - Developing in the great plains
Tags: developers, cybersecurity, teamwork, collaboration
Published: 2023-08-11 17:33:33

If there is one thing you might already know about Nebraska, it is that it is [Cornhusker country](https://en.wikipedia.org/wiki/Nebraska_Cornhuskers?ref=blog.gitguardian.com). It is also home to many prominent companies like Union Pacific, Berkshire Hathaway, and [Mutual of Omaha](https://www.youtube.com/watch?v=721Te40h4vg&ref=blog.gitguardian.com). It is also home to an outstanding developer-focused event in the great plains, bringing together developers, subject matter experts, and DevOps leads; [Nebraska.Code() 2023.](https://nebraskacode.amegala.com/?ref=blog.gitguardian.com)

Here are just a few highlights from the event.

Everyone can contribute to open source
--------------------------------------

In her opening keynote, "The Power of Open-Source: How To Contribute To and Manage Communities," [Caitlin Cabrera, Engineer at Kolide](https://www.linkedin.com/in/caitlincabrera/?ref=blog.gitguardian.com), laid out her story of being a first-time contributor and shared lessons for anyone wanting to contribute.

As she shared her story, where she filed her first project pull request updating a table inside the [osquery project](https://www.osquery.io/?ref=blog.gitguardian.com), she also shared some principles she works toward within the project and her company, which they call "[The Tenets of Honest Security](https://honest.security/?ref=blog.gitguardian.com)."

1.  The values your organization stands behind should be well-represented in your security program.
2.  A positive working relationship between the end-user and the security team is incredibly valuable and worth fostering.
3.  This relationship is built on a foundation of trust that is demonstrated through informed consent and transparency.
4.  The security team should anticipate and expect that end-users use their company-owned devices for personal activities and design their detection capabilities with this in mind.
5.  End-users are capable of making rational and informed decisions about security risks when educated and honestly motivated.

She shared there is one thing all successful projects have in common: Community! A community can only come about by creating and maintaining relationships, which makes events like Nebraska.Code() all the more vital.

According to her research, there are three main success factors that healthy open-source communities all possess:

-   Collaboration and culture - A strong code of conduct and well-defined communication channels are required.
-   Tech and innovation - A well-defined use case and a focus on quality are essential.
-   Process and vision - Good documentation and a clear process for contribution are critical.

[![](https://lh3.googleusercontent.com/vO0nF-O-OD8a2M1pWcLpQGsSG7yYvjx6Cle_06duwZQn2JHANPDa-c_EH-OyctBaOfrKkiOMuZVkhIDt2-RT7aEBh1-WtsVhCaX7OYcXacYZR9FRHyCbWrWzPG7jBTKWy8L2M7viA1_LusqlORIqpw)](https://twitter.com/McDwayne/status/1682026581718626304?ref=blog.gitguardian.com)

First Keynote of #nebrcode - The Power of Open-Source: How To Contribute To and Manage Communities Caitlin Cabrera from @kolide She is showing the value and power of the osquery project https://www.osquery.io/

How to better get along with your coworkers
-------------------------------------------

In one of the more unique but valuable sessions I have seen at any event, [Arthur Doler, Culture & Community Steward at Aviture](https://www.linkedin.com/in/arthurdoler/?ref=blog.gitguardian.com), gave us a very well-researched and creatively illustrated presentation about understanding and dealing with conflict. In his talk "How To Not Strangle Your Coworkers: Resolving Conflict with Collaboration," he defined "disagreement" as two or more people who hold differing or opposing opinions or beliefs about something. This escalates to "conflict" when the topic is seen as important to each party involved, there is an interdependence in roles, and both sides believe that the evidence is on their side.

Arthur shared the research into the three kinds of conflict:

-   Task conflict - This is the most common type and deals with how to do an individual job in a process. Arthur stressed this is not necessarily bad, as it can lead to positive discussions about how to get the best outcomes from a particular task.
-   Process conflict - This is most often experienced early in new projects and with new team members. Ongoing process conflict can become personal and toxic if people feel hurt or ignored.
-   Relationship conflict - This is always bad and needs to be avoided at all costs. If you feel you are personally at odds with someone and feel there is a lack of trust, then it will be impossible to reach the team results you want.

At the heart of how we avoid or resolve conflict is the need for psychological safety, which he defined as the feeling it's OK to take risks and speak up when conflict arises without fear of reprisal. We are all risk-averse and want to preserve the strength of our relationships. Having the trust that you can speak your mind without negative repercussions is how healthy teams evolve.

While he gave a lot of advice on understanding your teammates, it really does come down to aligning goals for most types of conflict and recognizing that, as humans, our emotions are going to be involved. If we strive to find win-win outcomes, we can use conflict to build better teams and improve ourselves.

[![](https://lh6.googleusercontent.com/ejKoRwABpn4LJkZTT5i_VshIlMj-x0DqD8jQPraeSvd-iCTgJyxi5PGsSvy-gJ11toPTn_WQCa-o9ZHW_gFEn9C023u6Fss427-heSBt2NkciRO2HUeuyb9ZOBV-UbIWj8bVnfVs79tHKEB7SOmPJw)](https://twitter.com/McDwayne/status/1682058670903894022?ref=blog.gitguardian.com)

How To Not Strangle Your Coworkers: Resolving Conflict with Collaboration By @ArthurDoler at #nebrcode

Understanding encryption
------------------------

At the heart of most of cybersecurity is encryption. We spend a lot of time focused on the keys that lock and unlock data and access to systems.  Fortunately, we don't have to spend a lot of time pondering how encryption itself can best be safely accomplished. It is still important to have some base level of understanding of cryptography as we manage our credentials. This is why I am grateful that [Joel Lord, Developer Advocate at MongoDB](https://www.linkedin.com/in/joel-lord/?originalSubdomain=ca&ref=blog.gitguardian.com), shared his knowledge on the subject in his talk "A Gentle Introduction To Data Encryption."

He began with a history lesson and the story of [Demaratus](https://en.wikipedia.org/wiki/Demaratus?ref=blog.gitguardian.com), who hid a message to the king of Sparta underneath another message written in a layer of opaque wax. This is the mythical origin of [steganography](https://en.wikipedia.org/wiki/Steganography?ref=blog.gitguardian.com), the practice of concealing a message. This then gave rise to ciphers, or encryption by substitution, where plaintext messages are transformed into an unreadable format. This is the science we today call Cryptography.

One of the more important concepts in cryptography is hashing, transforming any set of characters into a string of fixed length. This alone does not make your message secure, but once we add a secret key to a message, hashing produces a very different output and a secure way to represent the message when communicating publicly.

He also covered the math behind and differences between [AES symmetric encryption](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard?ref=blog.gitguardian.com) and [RSA asymmetric encryption](https://en.wikipedia.org/wiki/RSA_(cryptosystem)?ref=blog.gitguardian.com) in far greater depth than we can go into here. To summarize, though, there are other ways to encrypt messages, but RSA is the basis for the most popular methods. If you use a public/private key pair, such as your SSH key, then you are likely using RSA.

Joel left us with some wise words: "Do not write your own encryption for production use." There is a lot of complex math, and unless your job is to make new cryptography tools, then you are going to spend a lot of time reinventing the wheel. It is also dangerous, and security is hard enough as it is, as we have seen from some [recent events](https://blog.gitguardian.com/github-exposed-private-ssh-key/).

![](https://lh3.googleusercontent.com/os3DXzIuSImEupFcJdFpDQkS_DKDFRj7CJSYcStLsaa39gTIu63AB3PO1001piAhdDS6C6ohSu4GraDNd8kSiKkHCPcVjL3tDmjfbx7YB-U4i8zgFd55RDDtymtJCF7LXfY7-Hk0gdWQr1DfecJNSA)

A Gentle Introduction To Data Encryption from @joel__lord - Getting the whole history in this session

A QUIET and CALM approach to testing
------------------------------------

While the main subject of his talk was performance testing, [David Handlos, Senior Software Engineer at Q2](https://www.linkedin.com/in/davidhandlos/?ref=blog.gitguardian.com), shared some very practical advice for anyone doing any kind of testing in his session "The Performance Testing Process: Before, During, & After." After years of doing performance testing, he has developed several acronyms you can use to keep on task with any kind of testing, especially testing stakeholders care about.

The first acronym for testing he shared was QUIET:

-   Question - What's our goal for testing, and when will we be done? If you can not define a "done" state, do not start or go any further.
-   User Definition - Who is our "user" in the use cases during the testing?
-   Inform - Inform all stakeholders involved of the performance testing that needs to happen and the impact involved.
-   Environment - Assuming stakeholders approve, set up the environment for testing, if it does not already exist.
-   Test - The final step; the actual test.

The main focus is defining what success means and communicating that throughout the process. This can be applied to any type of testing. Running a test successfully and passing a test might mean something different depending on which stakeholder you ask, so spend time and be clear.

The second idea he shared about ensuring good test results was to remain CALM:

-   Consistent - Ensure your test results are as consistent as possible with every run.
-   Automate - From running the tests to gathering the results, automate whatever you can.
-   Lean - Minimal test environment, as few variables, as few external dependencies as possible.
-   Metrics - Make sure the metrics being gathered are meaningful.

[![](https://lh3.googleusercontent.com/FVK4qmKhUrD6Sw3asJVnajnUK03NRvZoXlF4tnaoH-n-GmQLsp7DARLePasCNQmzxN4g9QMIKchw2IszfDl8NXDOIBdO9GHiVgvwqRSEBmOzKB9cvHY7m_qzRyKqc8C-Ca74P5Fp6jOw0I9MI1NUSw)](https://twitter.com/McDwayne/status/1682135323776524291?ref=blog.gitguardian.com)

Final session of the day here at #nebrcode

Understanding Azure Key Vault references
----------------------------------------

Consistent and proper usage of secrets managers like [Azure Key Vault](https://azure.microsoft.com/en-us/products/key-vault?ref=blog.gitguardian.com) is half the battle when tackling [secrets management maturity](https://blog.gitguardian.com/a-maturity-model-for-secrets-management/). That is why I was so excited to see and share "Utilizing Secrets in your C# MVC projects and Azure Services with Azure Key Vault" from [Microsoft MVP Brian Gorman](https://mvp.microsoft.com/en-us/PublicProfile/5004334?fullName=Brian++Gorman&ref=blog.gitguardian.com).

He demonstrated how easy it is to get security wrong when working on a project. He walked us through how tricky it gets setting all the security configurations just right. In a rush, it is easy to just allow for full unauthorized access to all the resources or to do something like hardcode plaintext credentials to access the DB. He also showed us how easy it is to use Key Vault in Azure to properly store, manage, and access project secrets.

While Key Vault is an excellent solution all on its own, the real power of this secrets manager is unleashed when paired with [Azure App Configuration](https://learn.microsoft.com/en-us/azure/azure-app-configuration/overview?ref=blog.gitguardian.com). Created as a way to deal with the challenges of application configuration in distributed environments, Azure App Configuration allows you to manage settings in the runtime environment or in a single external source. When used with Key Vault, it allows users to centralize the management of secrets for different environments and geographies dynamically without the need to redeploy or restart an application.

Brian also warned against returning plaintext credentials in log files. He showed how to create a [simple log sanitizer script](https://github.com/blgorman/ProtectingUserSecrets_NebraskaCode2023/blob/6526bfe178ac93e8066e5d131f2426252d1090de/MVCProtectingSecrets/Initializers/LogSanitizerInsightsInitializer.cs?ref=blog.gitguardian.com#L16) using RegEx to replace any reference to personal identifying information, like emails or telephone numbers and passwords. Instead of the real password being printed, the script does a quick substitution of the word " [redacted]."

![](https://lh4.googleusercontent.com/pmv6iwmxM_TrO6hrMiZLB5s0YimcmDiAqDNCu4Wk9jEuxrxkJ0BAteNtSnfvGBLTqQ9QjstXCRIsvOorrRrFVqUcYIG3m4DiVNhnw8DwHt5wtOAEafIh4MOph6aCeXDEwWkc1v4lvjJtsT5-5R8Kcw)

I've been waiting for this one at #nebrcode Utilizing Secrets in your C# MVC projects and Azure Services with Azure Key Vault from @blgorman He and his team offer free online training too, to help you do this right!

Developing community in the Great Plains
----------------------------------------

GitGuardian is proud to have been part of this awesome event, as your author got to present two sessions:

-   "Who Goes There? Actively Detecting Intruders With Honeytokens," where I discussed the [history of cyber deception](https://blog.gitguardian.com/intrusion-detection-through-cyber-deception-disrupting-attacks-with-an-active-defense/) and how to employ [honeytokens at scale](https://blog.gitguardian.com/how-to-secure-your-iac-and-configuration-management-tools-with-gitguardians-honeytoken/).

-   "Do you know where your secrets are? Exploring the problem of secret sprawl and secret management maturity," where we walked through the findings of https://www.gitguardian.com/state-of-secrets-sprawl-report-2023, the [Voice of the Practitioners](https://www.gitguardian.com/files/voice-of-practitioners-the-state-of-secrets-in-appsec?ref=blog.gitguardian.com) report and our [Secrets Management Maturity Model](https://blog.gitguardian.com/a-maturity-model-for-secrets-management/).

There were a lot more sessions and conversations at Nebraska.Code() 2023, more than we can recount here. In all of the sessions, though, there was a sense of real community being built. While AI and ChatGPT might have been on the tip of everyone's tongue, there was a feeling that there has never been a better time to be a developer nor a better time to be part of the larger development community.