Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
Prepare Release
Browse files Browse the repository at this point in the history
* move files to src sub folder
* update version
* fixed installer
* updated release notes
  • Loading branch information
dfch committed Oct 29, 2015
1 parent b2c68b1 commit f97491f
Show file tree
Hide file tree
Showing 42 changed files with 368 additions and 363 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
55 changes: 32 additions & 23 deletions Update-Signature.ps1 → src/Update-Signature.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ PARAM
# File extensions of the script files to sign
[Parameter(Mandatory = $false)]
$IncludeExtensions = @('*.ps1','*.psm1','*.psd1','*.dll','*.exe')
,
# Specifies whether to force an update of the signature
# even if the existing signature is still valid.
[Parameter(Mandatory = $false)]
[switch] $Force = $false
)

if($PSCmdlet.ParameterSetName -eq 'path')
Expand All @@ -83,13 +88,17 @@ foreach($Object in $InputObject)
{
continue;
}
if($CounterSign)
{
Set-AuthenticodeSignature $Object -Certificate $cert -TimestampServer $TimestampServer -Confirm:$false;
}
else
$IsValid = (Get-AuthenticodeSignature $Object | Select Status).Status -eq 'Valid';
if(!$IsValid -Or $Force)
{
Set-AuthenticodeSignature $Object -Certificate $cert -Confirm:$false;
if($CounterSign)
{
Set-AuthenticodeSignature $Object -Certificate $cert -TimestampServer $TimestampServer -Confirm:$false;
}
else
{
Set-AuthenticodeSignature $Object -Certificate $cert -Confirm:$false;
}
}
}

Expand All @@ -116,8 +125,8 @@ if($MyInvocation.ScriptName) { Export-ModuleMember -Function Update-Signature; }
# SIG # Begin signature block
# MIIXDwYJKoZIhvcNAQcCoIIXADCCFvwCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUnReLkphf8jjgJwDQHjD5iOOK
# Q7mgghHCMIIEFDCCAvygAwIBAgILBAAAAAABL07hUtcwDQYJKoZIhvcNAQEFBQAw
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU7c4D/BlD5jB+qCNtbycM6qSU
# F+agghHCMIIEFDCCAvygAwIBAgILBAAAAAABL07hUtcwDQYJKoZIhvcNAQEFBQAw
# VzELMAkGA1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNV
# BAsTB1Jvb3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw0xMTA0
# MTMxMDAwMDBaFw0yODAxMjgxMjAwMDBaMFIxCzAJBgNVBAYTAkJFMRkwFwYDVQQK
Expand Down Expand Up @@ -216,26 +225,26 @@ if($MyInvocation.ScriptName) { Export-ModuleMember -Function Update-Signature; }
# MDAuBgNVBAMTJ0dsb2JhbFNpZ24gQ29kZVNpZ25pbmcgQ0EgLSBTSEEyNTYgLSBH
# MgISESENFrJbjBGW0/5XyYYR5rrZMAkGBSsOAwIaBQCgeDAYBgorBgEEAYI3AgEM
# MQowCKACgAChAoAAMBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEEMBwGCisGAQQB
# gjcCAQsxDjAMBgorBgEEAYI3AgEVMCMGCSqGSIb3DQEJBDEWBBRlvIbCKh6iB/yV
# 598qjEpwUQGhJDANBgkqhkiG9w0BAQEFAASCAQB7bU76Or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# jIKNn/0owGukwB7weFqj/vM+y1QZMhIK6GyuyDTpzKTysQ/JJYHRMQZMwmPd+S1Q
# Sktb
# SIG # End signature block
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>biz.dfch.PS.System.Utilities</id>
<version>1.0.8</version>
<version>1.0.9</version>
<title>biz.dfch.PS.System.Utilities</title>
<authors>d-fens GmbH</authors>
<owners>Ronald Rink</owners>
Expand All @@ -23,10 +23,10 @@ You can download this module via [NuGet](http://nuget.org) with [Install-Package

See [d-fens WebSite](http://d-fens.ch/2014/10/15/module-biz-dfch-ps-system-utilities/) or check the [Wiki](https://github.com/dfch/biz.dfch.PS.System.Utilities/wiki) for further description and examples on how to use the module.</description>
<summary>This PowerShell module contains Cmdlets to perform various actions and utilties/convenience functions such as string conversion and formatting.</summary>
<releaseNotes>20151018
<releaseNotes>20151029

* Added Update-Signature
* Added newline support in Send-ShortMessage
* Fixed install.ps1 script
* Added -Force parameter to Update-Signature
</releaseNotes>
<copyright>(c) 2014-2015 d-fens GmbH</copyright>
<language>en-US</language>
Expand All @@ -36,9 +36,10 @@ See [d-fens WebSite](http://d-fens.ch/2014/10/15/module-biz-dfch-ps-system-utili
</dependencies>
</metadata>
<files>
<file src="LICENSE" target="content\LICENSE" />
<file src="NOTICE" target="content\NOTICE" />
<file src="README.md" target="content\README.md" />
<file src="Install.ps1" target="Install.ps1" />
<file src="..\LICENSE" target="tools\LICENSE" />
<file src="..\NOTICE" target="tools\NOTICE" />
<file src="..\README.md" target="tools\README.md" />
<file src="Assert-CmdletDocumentation.ps1" target="tools\Assert-CmdletDocumentation.ps1" />
<file src="biz.dfch.PS.System.Utilities.psd1" target="tools\biz.dfch.PS.System.Utilities.psd1" />
<file src="biz.dfch.PS.System.Utilities.psm1" target="tools\biz.dfch.PS.System.Utilities.psm1" />
Expand All @@ -60,20 +61,16 @@ See [d-fens WebSite](http://d-fens.ch/2014/10/15/module-biz-dfch-ps-system-utili
<file src="Get-Constructor.ps1" target="tools\Get-Constructor.ps1" />
<file src="Import-Credential.ps1" target="tools\Import-Credential.ps1" />
<file src="Import-Module.ps1" target="tools\Import-Module.ps1" />
<file src="LICENSE" target="tools\LICENSE" />
<file src="Merge-Hashtable.ps1" target="tools\Merge-Hashtable.ps1" />
<file src="New-ActivityProgress.ps1" target="tools\New-ActivityProgress.ps1" />
<file src="New-CustomErrorRecord.ps1" target="tools\New-CustomErrorRecord.ps1" />
<file src="New-SecurePassword.ps1" target="tools\New-SecurePassword.ps1" />
<file src="NOTICE" target="tools\NOTICE" />
<file src="README.md" target="tools\README.md" />
<file src="Remove-ActivityProgress.ps1" target="tools\Remove-ActivityProgress.ps1" />
<file src="Send-ShortMessage.ps1" target="tools\Send-ShortMessage.ps1" />
<file src="Set-ActivityProgress.ps1" target="tools\Set-ActivityProgress.ps1" />
<file src="Set-SslSecurityPolicy.ps1" target="tools\Set-SslSecurityPolicy.ps1" />
<file src="Test-CmdletDocumentation.ps1" target="tools\Test-CmdletDocumentation.ps1" />
<file src="Test-StringPattern.ps1" target="tools\Test-StringPattern.ps1" />
<file src="Update-Signature.ps1" target="tools\Update-Signature.ps1" />
<file src="install.ps1" target="install.ps1" />
</files>
</package>

0 comments on commit f97491f

Please sign in to comment.