silverstripeltd/user-configurable-smime-forms 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

silverstripeltd/user-configurable-smime-forms

Composer 安装命令:

composer require silverstripeltd/user-configurable-smime-forms

包简介

A module for extending user forms, so that form submissions can be emailed with S/MIME encryption.

README 文档

README

This module provides an extension to Silverstripe Elemental User Forms that allows you to choose whether or not the emails for form submissions should be encrypted and/or digitally signed, for added security.

It uses S/MIME encryption.

Requirements

  • SilverStripe ^5
  • SilverStripe Elemental Forms

Installation

To start using this module, just add it as a dependency to your project.

composer require silverstripeltd/user-configurable-smime-forms

License

See License

Documentation

When configuring user forms within the CMS you can specify whether the submitted form data is emailed to a list of Recipients.

This module provides an additional option to encrypt the email. This is specifically useful when you are sending emails to known recipients, and requires the recipient's encryption certificate (.crt file). This module adds an admin section (ModelAdmin) for managing and uploading S/MIME certificates for the purpose of encryption and digital signing of emails.

Enable Encryption of Emails

To enable encryption, go to the Configuration tab for your form and check the Enable S/MIME Encryption option. With this option set when a form submission is sent to a recipient the system will check for an uploaded encryption certificate for that user. Note: If one does not yet exist the email will be sent unencrypted with a warning (UNENCRYPTED: CHECK CMS CONFIGURATION) added to the email subject.

Managing S/MIME Certificates

This module adds an S/MIME Certificates ModelAdmin to the CMS left hand menu for managing encryption and signing certificates and by default it is available to administrators with full access rights.

To provide specific CMS groups (e.g., IT administrator users) with the ability to manage these certificates, you can add the Manage S/MIME certificates permission to their permissions group in the Security section of the CMS.

Adding recipient encryption certificates

To add encryption certificates to the CMS:

  • Log into the CMS as an administrator or user/group with the Manage S/MIME certificates permission
  • From the CMS left hand menu select S/MIME Certificates
  • The default view shows a grid view of uploaded encryption certificates.
  • Click on Add Encryption Certificate
  • Enter a valid Email address
  • Upload a valid .crt file to the Encryption Certificate field
  • Click Create

Adding sender certificates for digitally signing emails

This module supports digital signing of emails, which provides further assurance for the recipient of where the email comes from.

To sign an email you need both the certificate .pem and private key .pem files. To upload these into the CMS:

  • Log into the CMS as an administrator or user/group with the Manage S/MIME certificates permission
  • From the CMS left hand menu select S/MIME Certificates
  • Select the Signing Certificates tab
  • Click on Add Signing Certificate
  • Enter a valid Email address
  • Upload a valid .pem file containing the certificate to the Signing Certificate field
  • Upload a valid .pem file containing the private key to the Signing Key field
  • Enter the passphrase for the .pem file (this will not be shown and will be stored in an encrypted format)
  • Click Create

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

silverstripeltd/user-configurable-smime-forms 适用场景与选型建议

silverstripeltd/user-configurable-smime-forms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 23 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 02 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「email」 「cms」 「Forms」 「encryption」 「silverstripe」 「smime」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 silverstripeltd/user-configurable-smime-forms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 silverstripeltd/user-configurable-smime-forms 我们能提供哪些服务?
定制开发 / 二次开发

基于 silverstripeltd/user-configurable-smime-forms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 23
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-02-28