Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
sshnet
/
SSH.NET
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
990
Star
4.4k
Code
Issues
340
Pull requests
33
Discussions
Actions
Projects
Wiki
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Add padding when encrypt and remove padding when decrypt
- #1545
#1545
Merged
Rob-Hague
merged 16 commits into
sshnet:develop
sshnet/SSH.NET:develop
from
scott-xu:padding
scott-xu/SSH.NET:padding
Copy head branch name to clipboard
Dec 22, 2024
Conversation
Commits
16
(16)
Checks
Files changed
Merged
Add padding when encrypt and remove padding when decrypt
#1545
Rob-Hague
merged 16 commits into
sshnet:develop
sshnet/SSH.NET:develop
from
scott-xu:padding
scott-xu/SSH.NET:padding
Copy head branch name to clipboard
Commits
Commits on Nov 30, 2024
Tighten private key checking to reveal padding issue
scott-xu
committed
56d5254
View commit details
Copy full SHA for 56d5254
Browse repository at this point
`Encrypt` should take into account padding for length of `inputBuffer` passed to `EncryptBlock` if padding is specified, no matter input is divisible or not.
scott-xu
committed
79ff9a3
View commit details
Copy full SHA for 79ff9a3
Browse repository at this point
`Decrypt` should take into account unpadding for the final output if padding is specified.
scott-xu
committed
84c3a8d
View commit details
Copy full SHA for 84c3a8d
Browse repository at this point
`Decrypt` should take into account *manual* padding for length of `inputBuffer` passed to `DecryptBlock` and unpadding for the final output if padding is not specified and mode is CFB or OFB.
scott-xu
committed
0303aa9
View commit details
Copy full SHA for 0303aa9
Browse repository at this point
`Encrypt` should take into account *manual* padding for length of `inputBuffer` passed to `EncryptBlock` and unpadding for the final output if padding is not specified and mode is CFB or OFB.
scott-xu
committed
95bd7fd
View commit details
Copy full SHA for 95bd7fd
Browse repository at this point
Merge branch 'develop' into padding
scott-xu
authored
8c566f5
View commit details
Copy full SHA for 8c566f5
Browse repository at this point
Rectify DES cipher tests. There's no padding in the data.
scott-xu
committed
47cfe86
View commit details
Copy full SHA for 47cfe86
Browse repository at this point
Borrow `PadCount` method from BouncyCastle
scott-xu
committed
0f98ada
View commit details
Copy full SHA for 0f98ada
Browse repository at this point
Manually pad input in CTR mode as well. Update AesCipherTest.
Show description for 629a3d1
scott-xu
and
Rob-Hague
committed
629a3d1
View commit details
Copy full SHA for 629a3d1
Browse repository at this point
Manually pad/unpad for Aes CFB/OFB mode
scott-xu
committed
204c5d0
View commit details
Copy full SHA for 204c5d0
Browse repository at this point
Commits on Dec 1, 2024
Merge branch 'develop' into padding
scott-xu
authored
11e543c
View commit details
Copy full SHA for 11e543c
Browse repository at this point
Commits on Dec 3, 2024
Merge branch 'develop' into padding
scott-xu
authored
45ff664
View commit details
Copy full SHA for 45ff664
Browse repository at this point
Commits on Dec 7, 2024
Merge branch 'develop' into padding
scott-xu
authored
543b3f2
View commit details
Copy full SHA for 543b3f2
Browse repository at this point
Commits on Dec 18, 2024
Merge branch 'develop' into padding
Rob-Hague
authored
71bb4a3
View commit details
Copy full SHA for 71bb4a3
Browse repository at this point
Commits on Dec 22, 2024
Update test/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/AesCipherTest.Gen.cs.txt
Show description for 2c31a72
scott-xu
and
Rob-Hague
authored
2c31a72
View commit details
Copy full SHA for 2c31a72
Browse repository at this point
Re-generate AES cipher tests
scott-xu
committed
7ea5fd8
View commit details
Copy full SHA for 7ea5fd8
Browse repository at this point
You can’t perform that action at this time.