Skip to content

Commit

Permalink
Merge pull request #15 from josh-wong/increase-password-length-16
Browse files Browse the repository at this point in the history
Increase password length from 14 characters to 16 characters
  • Loading branch information
josh-wong authored Aug 24, 2024
2 parents 34add67 + 5084494 commit fe6ff01
Show file tree
Hide file tree
Showing 22 changed files with 237 additions and 17 deletions.
4 changes: 2 additions & 2 deletions docs/02_generating-passwords.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In the passGen app, you can choose which type of password to generate:

## Generate a password *with* symbols

To create a 14-character password containing **symbols**, **numbers**, **uppercase letters**, and **lowercase letters**, select **Create a password with symbols**.
To create a 16-character password containing **symbols**, **numbers**, **uppercase letters**, and **lowercase letters**, select **Create a password with symbols**.

Select **Copy** to copy the password.

Expand All @@ -24,7 +24,7 @@ To see the password that you generated, select the asterisks masking the passwor

## Generate a password *without* symbols

To create a 14-character password containing **numbers**, **uppercase letters**, and **lowercase letters**, select **Create a password without symbols**.
To create a 16-character password containing **numbers**, **uppercase letters**, and **lowercase letters**, select **Create a password without symbols**.

Select **Copy** to copy the password.

Expand Down
2 changes: 1 addition & 1 deletion docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:

import { CardRowPassGen } from '/src/components/Cards/buttons';

passGen is a lightweight Windows app for creating randomly generated, 14-character passwords that contain:
passGen is a lightweight Windows app for creating randomly generated, 16-character passwords that contain:

- Uppercase letters, lowercase letters, numbers
- Uppercase letters, lowercase letters, numbers, and symbols
Expand Down
2 changes: 1 addition & 1 deletion passGen/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions passGen/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void Exit_ToolStripMenuItem_Click(object sender, EventArgs e)
// menuStrip items - Help
private void Documentation_ToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("https://www.080f53.com/portfolio/personal/passgen/overview/");
Process.Start("https://www.080f53.com/passgen");
}
private void ReleaseNotes_ToolStripMenuItem_Click(object sender, EventArgs e)
{
Expand All @@ -55,13 +55,13 @@ private void ReportIssue_ToolStripMenuItem_Click(object sender, EventArgs e)
}
private void About_ToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("Version: 3.3.0 | Updated: June 9, 2024" + Environment.NewLine + "MIT License." + Environment.NewLine + "" + Environment.NewLine + "Created by josh-wong.", "About passGen", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show("Version: 3.4.0 | Updated: August 24, 2024" + Environment.NewLine + "MIT License." + Environment.NewLine + "" + Environment.NewLine + "Created by josh-wong.", "About passGen", MessageBoxButtons.OK, MessageBoxIcon.Information);
}

// Main passGen window
protected void Generate_pw_Click(object sender, EventArgs e)
{
int lengthOfPassword = 14;
int lengthOfPassword = 16;

// Generate a password with uppercase letters, lowercase letters, and numbers
string valid = "abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ12345678901234567890";
Expand All @@ -85,7 +85,7 @@ private void Copy_Click(object sender, EventArgs e)

protected void Generate_pw_s_Click(object sender, EventArgs e)
{
int lengthOfPassword = 14;
int lengthOfPassword = 16;

// Generate a password with symbols, uppercase letters, lowercase letters, and numbers; symbols duplicated to increase likelihood of symbols being included
string valid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901234567890!@^&-()!@^&-()!@^&-()";
Expand Down Expand Up @@ -131,5 +131,10 @@ private void MenuStrip_ItemClicked(object sender, ToolStripItemClickedEventArgs
{

}

private void label1_Click(object sender, EventArgs e)
{

}
}
}
4 changes: 2 additions & 2 deletions passGen/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3.0.0")]
[assembly: AssemblyFileVersion("3.3.0.0")]
[assembly: AssemblyVersion("3.4.0.0")]
[assembly: AssemblyFileVersion("3.4.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
4 changes: 2 additions & 2 deletions passGen/passGen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<MinimumRequiredVersion>2.9.0.0</MinimumRequiredVersion>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>3.3.0.0</ApplicationVersion>
<ApplicationVersion>3.4.0.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand All @@ -45,7 +45,7 @@
<PropertyGroup />
<PropertyGroup />
<PropertyGroup>
<ManifestCertificateThumbprint>CA423F6175610240598909917300C2A2812ED38C</ManifestCertificateThumbprint>
<ManifestCertificateThumbprint>6140CF74393FF7FA49975B090139850EBCDF7261</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>passGen_TemporaryKey.pfx</ManifestKeyFile>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="passGen.application" version="3.4.0.0" publicKeyToken="54330cabee2402dc" language="en" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="passGen" asmv2:product="passGen" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" minimumRequiredVersion="2.9.0.0" co.v1:createDesktopShortcut="true">
<subscription>
<update>
<beforeApplicationStartup />
</update>
</subscription>
<deploymentProvider codebase="https://raw.githubusercontent.com/josh-wong/passGen/main/passGen/publish/passGen.application" />
</deployment>
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.8" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="Application Files\passGen_3_4_0_0\passGen.exe.manifest" size="12782">
<assemblyIdentity name="passGen.exe" version="3.4.0.0" publicKeyToken="54330cabee2402dc" language="en" processorArchitecture="msil" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>TavJDTPoIMZBn8XDbKp1s3bGsgi7JFmTtMQrZUS1Nlg=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<publisherIdentity name="CN=GINJI1008\joshu" issuerKeyHash="0c6777b14ce2e531927243d9d992d7c71b568d20" /><Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>h6WDYkfD9w/WO5ILRKKBuS0E3uf+tQGzhgzzgKrRjSo=</DigestValue></Reference></SignedInfo><SignatureValue>D1RQEMrNztcs81gB1E5QL+74s3cYecEAOSL0modEi7uq68Us57Y/9B64USgemCxJTbgNoPQBuUyNqXAjEy5BojTaAHHWRxj0embmwnOEnP2jsxPLu0AHTWEAI4LKahR4I7vpX2L2APU9tF3pWZ+P7qH7r9s7N0kYXyOxJ1IKHqo=</SignatureValue><KeyInfo Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>yxfgtDdOrws6qR88qBGkoC/YSJoBTSXAMSDaNs23zBsIYiaDkhhPpiEX/7v7v9s+jgKNXVCEP7YBbMm8EVfGY3LfVaZA1tumQxTyLItHG2iFkUL2ZRb2EuX7INCV+60YNix4OE1OCwYGpDSuRYLhOCbqT/2I7FtVSJzdETF7sVE=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation Hash="2a8dd1aa80f30c86b301b5fee7de042db981a2440b923bd60ff7c3476283a587" Description="" Url=""><as:assemblyIdentity name="passGen.application" version="3.4.0.0" publicKeyToken="54330cabee2402dc" language="en" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" /></as:ManifestInformation><as:SignedBy /><as:AuthenticodePublisher><as:X509SubjectName>CN=GINJI1008\joshu</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>90OYU7XxbcGQ5ov+9wiDU08Gmh3G1qDPCZhSBLogIQw=</DigestValue></Reference></SignedInfo><SignatureValue>so3yrYq43ASOObfh4uD94Cp/3PsbYB7r8AgDylGCy4HzJRQ11a98557wx25wKYBwMFhah8NjmN4qzdANq3eDzZbClLS9YYlyPPF88Cts3BVS944eBtoALKf49ieKGV1YdutySxDM7SmNz7tpTSrl2pECrvq2rLStO6aVPIU2UGM=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>yxfgtDdOrws6qR88qBGkoC/YSJoBTSXAMSDaNs23zBsIYiaDkhhPpiEX/7v7v9s+jgKNXVCEP7YBbMm8EVfGY3LfVaZA1tumQxTyLItHG2iFkUL2ZRb2EuX7INCV+60YNix4OE1OCwYGpDSuRYLhOCbqT/2I7FtVSJzdETF7sVE=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIB1TCCAT6gAwIBAgIQVCpp6IkXc5hHyjojGsB+iTANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDHh4ARwBJAE4ASgBJADEAMAAwADgAXABqAG8AcwBoAHUwHhcNMjQwODI0MDc1MDQxWhcNMjUwODI0MTM1MDQxWjApMScwJQYDVQQDHh4ARwBJAE4ASgBJADEAMAAwADgAXABqAG8AcwBoAHUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMsX4LQ3Tq8LOqkfPKgRpKAv2EiaAU0lwDEg2jbNt8wbCGImg5IYT6YhF/+7+7/bPo4CjV1QhD+2AWzJvBFXxmNy31WmQNbbpkMU8iyLRxtohZFC9mUW9hLl+yDQlfutGDYseDhNTgsGBqQ0rkWC4Tgm6k/9iOxbVUic3RExe7FRAgMBAAEwDQYJKoZIhvcNAQELBQADgYEAu8JBybg29oYz1itPxjbED5mlH2kbgnb3nWz39qvWt+Yw0xKvhuM6rKnh0rJ+HImiJ8c9EWiQhgNzeltlDOmGOecGPZKI6wmxwzNDGZqv8SBZuNDsRDhiyxxB7VYCvlcdjK50yTYKGV4gJz+EomG2/2KW3+UsirMrCiV+WeKVxdM=</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
Binary file not shown.
Loading

0 comments on commit fe6ff01

Please sign in to comment.