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
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
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
.
ProtonMail
/
go-crypto
Public
Notifications
You must be signed in to change notification settings
Fork
129
Star
418
Code
Issues
18
Pull requests
17
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Version 2 upgrade of go-crypto
- #182
#182
Merged
lubux
merged 116 commits into
main
ProtonMail/go-crypto:main
from
version-2
ProtonMail/go-crypto:version-2
Copy head branch name to clipboard
Jan 18, 2024
Conversation
Commits
116
(116)
Checks
Files changed
Merged
Version 2 upgrade of go-crypto
#182
lubux
merged 116 commits into
main
ProtonMail/go-crypto:main
from
version-2
ProtonMail/go-crypto:version-2
Copy head branch name to clipboard
Commits
Commits on Oct 24, 2023
Add support for v6 public key and secret key packets
Show description for 0eb9fa5
lubux
committed
0eb9fa5
View commit details
Copy full SHA for 0eb9fa5
Browse repository at this point
Replace config v5Keys field with config v6Keys field
lubux
committed
6199e47
View commit details
Copy full SHA for 6199e47
Browse repository at this point
Add support for v6 signatures
Show description for fecd413
lubux
committed
fecd413
View commit details
Copy full SHA for fecd413
Browse repository at this point
Add support for direct-key signatures and v6 key messages
Show description for c0784f9
lubux
committed
c0784f9
View commit details
Copy full SHA for c0784f9
Browse repository at this point
Add support for v6 one-pass-signatures and update read/write API
Show description for 35770b9
lubux
committed
35770b9
View commit details
Copy full SHA for 35770b9
Browse repository at this point
Remove armor checksums
Show description for 7ed878a
lubux
committed
7ed878a
View commit details
Copy full SHA for 7ed878a
Browse repository at this point
FIX: Ensure all IVs and salts contain randomness equal to their length
lubux
committed
b5fb1e3
View commit details
Copy full SHA for b5fb1e3
Browse repository at this point
FIX: SignatureType constants
Show description for d1a77a1
lubux
committed
d1a77a1
View commit details
Copy full SHA for d1a77a1
Browse repository at this point
Add support for Padding packets
lubux
committed
b11525d
View commit details
Copy full SHA for b11525d
Browse repository at this point
Add support for SKESK v6
lubux
committed
ff41495
View commit details
Copy full SHA for ff41495
Browse repository at this point
Add support for PKESK v6
lubux
committed
741dddf
View commit details
Copy full SHA for 741dddf
Browse repository at this point
Add support for v6 AEAD private key encryption
Show description for ed35ec1
lubux
committed
ed35ec1
View commit details
Copy full SHA for ed35ec1
Browse repository at this point
Add support for X25519 and X448 session key encryption
lubux
committed
dc99efd
View commit details
Copy full SHA for dc99efd
Browse repository at this point
FIX: KeysByID with direct signatures and correct one pass signature version
lubux
committed
306ec0d
View commit details
Copy full SHA for 306ec0d
Browse repository at this point
Add support for Ed2551 and Ed448 keys and signatures
lubux
committed
253d004
View commit details
Copy full SHA for 253d004
Browse repository at this point
Mandate AES for X25519 and X448 in v3 PKESKs
lubux
committed
2581248
View commit details
Copy full SHA for 2581248
Browse repository at this point
Remove S2K secret key encryption type from config
Show description for f3bce80
lubux
committed
f3bce80
View commit details
Copy full SHA for f3bce80
Browse repository at this point
Make PrimarySelfSignature public on Entity
lubux
committed
d0b8f30
View commit details
Copy full SHA for d0b8f30
Browse repository at this point
Add Argon2-AEAD encrypted secret key test case
Show description for eb368c2
lubux
committed
eb368c2
View commit details
Copy full SHA for eb368c2
Browse repository at this point
Add support for v6 signatures in cleartext messages
Show description for 4147fe2
lubux
committed
4147fe2
View commit details
Copy full SHA for 4147fe2
Browse repository at this point
Implement suggested formatting changes by twiss
lubux
committed
c62d973
View commit details
Copy full SHA for c62d973
Browse repository at this point
Implements clearsign message for v6 correctly
Show description for 0510848
lubux
committed
0510848
View commit details
Copy full SHA for 0510848
Browse repository at this point
Rename PrepareSignWithSalt to SetSalt
lubux
committed
79a381f
View commit details
Copy full SHA for 79a381f
Browse repository at this point
Update clearetext message creation
lubux
committed
7f0b978
View commit details
Copy full SHA for 7f0b978
Browse repository at this point
Add V6 getter method in config
lubux
committed
848b22f
View commit details
Copy full SHA for 848b22f
Browse repository at this point
Add missing check for self-signature expiration
lubux
committed
2141f18
View commit details
Copy full SHA for 2141f18
Browse repository at this point
Fix naming issues
lubux
committed
bd16267
View commit details
Copy full SHA for bd16267
Browse repository at this point
Augment SerializeEncryptedKey API to ensure backwards compatibility
lubux
committed
26afebe
View commit details
Copy full SHA for 26afebe
Browse repository at this point
Imitate model for v6 direct key self-signatures from identity self-signatures
Show description for 7f25dd6
lubux
committed
7f25dd6
View commit details
Copy full SHA for 7f25dd6
Browse repository at this point
Refactor private key as suggested by twiss
lubux
committed
a2c729e
View commit details
Copy full SHA for a2c729e
Browse repository at this point
Update PKESK to the latest version of the crypto refresh
Show description for d84a83c
lubux
committed
d84a83c
View commit details
Copy full SHA for d84a83c
Browse repository at this point
Run gofmt on project
lubux
committed
a4e36b0
View commit details
Copy full SHA for a4e36b0
Browse repository at this point
Fix one-pass-signature parsing with wrong version
Show description for 3c375b0
lubux
committed
3c375b0
View commit details
Copy full SHA for 3c375b0
Browse repository at this point
Only check HashTag when sig.Version greater than 4
Show description for c92612b
lubux
committed
c92612b
View commit details
Copy full SHA for c92612b
Browse repository at this point
Update HKDF in X25519 and X448
Show description for 51e16b3
lubux
committed
51e16b3
View commit details
Copy full SHA for 51e16b3
Browse repository at this point
Add CRC24 armor footer
Show description for f90e664
lubux
committed
f90e664
View commit details
Copy full SHA for f90e664
Browse repository at this point
Ensure correct key derivation when encrypting multiple keys with aead
Show description for 98de8c7
lubux
committed
98de8c7
View commit details
Copy full SHA for 98de8c7
Browse repository at this point
Add testcase for reading a v6 PKESK encrypted message
Show description for 3573e94
lubux
committed
3573e94
View commit details
Copy full SHA for 3573e94
Browse repository at this point
Update PKESKv6 serialization/parsing to the new packet format
Show description for 509d55f
lubux
committed
509d55f
View commit details
Copy full SHA for 509d55f
Browse repository at this point
Update one-pass signature v6 packets to latest crypto refresh version
Show description for c1f4c6f
lubux
committed
c1f4c6f
View commit details
Copy full SHA for c1f4c6f
Browse repository at this point
Remove salted hash header from signed cleartext messages
Show description for 1dd6feb
lubux
committed
1dd6feb
View commit details
Copy full SHA for 1dd6feb
Browse repository at this point
Copy go-crypto v2 API code to openpgp/v2
lubux
committed
21092dc
View commit details
Copy full SHA for 21092dc
Browse repository at this point
Add dedicated v2 integration tests
lubux
committed
774c082
View commit details
Copy full SHA for 774c082
Browse repository at this point
Merge go-crypto v2 openpgp subpackages changes
lubux
committed
1d56dee
View commit details
Copy full SHA for 1d56dee
Browse repository at this point
Update depdency versions
lubux
committed
633db87
View commit details
Copy full SHA for 633db87
Browse repository at this point
Update readme and changelog for v2
lubux
committed
696c023
View commit details
Copy full SHA for 696c023
Browse repository at this point
feat: Unify write API by offering sign detached with params
lubux
committed
60fa713
View commit details
Copy full SHA for 60fa713
Browse repository at this point
Remove invalid testcase in v2 after rebase
lubux
committed
3493ab3
View commit details
Copy full SHA for 3493ab3
Browse repository at this point
Remove changelog-v2 file
lubux
committed
c695db0
View commit details
Copy full SHA for c695db0
Browse repository at this point
fix(armor): Remove duplicated test
lubux
committed
e884ac0
View commit details
Copy full SHA for e884ac0
Browse repository at this point
fix(CI): Update github actions with gopenpgp v3 and gosop v2
lubux
committed
f598b26
View commit details
Copy full SHA for f598b26
Browse repository at this point
fix(go1.15): Ensure compatibility with go 1.15
lubux
committed
6e3d94b
View commit details
Copy full SHA for 6e3d94b
Browse repository at this point
fix: Remove testcase that is obsolete after rebase
lubux
committed
320232b
View commit details
Copy full SHA for 320232b
Browse repository at this point
fix(CI): Use updated openpgp-interop-test-analyzer
lubux
committed
608bc7b
View commit details
Copy full SHA for 608bc7b
Browse repository at this point
fix(packet): Ensure that packet reader skips marker packets
lubux
committed
162f22f
View commit details
Copy full SHA for 162f22f
Browse repository at this point
feat(CI): Compare v1 and v2 API to the main branch
lubux
committed
d36fda7
View commit details
Copy full SHA for d36fda7
Browse repository at this point
fix(packet): Remove argument for backward compatibility
lubux
committed
3cd52da
View commit details
Copy full SHA for 3cd52da
Browse repository at this point
fix(armor): Emit an armor checksum in v1 API
lubux
committed
19c7808
View commit details
Copy full SHA for 19c7808
Browse repository at this point
ci: Update interop-test to latest version
lubux
committed
3e41c8c
View commit details
Copy full SHA for 3e41c8c
Browse repository at this point
ci: Update to latest OpenPGP interoperability test suite
lubux
committed
48f7095
View commit details
Copy full SHA for 48f7095
Browse repository at this point
fix(packet): Ensure that unhashed subpackets length is parsed correctly
lubux
committed
53ffda9
View commit details
Copy full SHA for 53ffda9
Browse repository at this point
fix(packet): Do not allocate memory for padding packet
lubux
committed
3bdcc5b
View commit details
Copy full SHA for 3bdcc5b
Browse repository at this point
fix(packet): Only throw error if the issuer signature subpacket is in hashed area in v6
lubux
committed
778b489
View commit details
Copy full SHA for 778b489
Browse repository at this point
feat(v2): Change message details signature candidate selection for no match
Show description for 4294467
lubux
committed
4294467
View commit details
Copy full SHA for 4294467
Browse repository at this point
ci: Update to latest gopenpgp v3 fot ci interop tests
lubux
committed
3443512
View commit details
Copy full SHA for 3443512
Browse repository at this point
feat(v2): Allow to include external signatures in messages
lubux
committed
9e18830
View commit details
Copy full SHA for 9e18830
Browse repository at this point
feat(v2): Allow to set the time for selecting keys in encryption
Show description for 174dc6b
lubux
committed
174dc6b
View commit details
Copy full SHA for 174dc6b
Browse repository at this point
feat: Do not allow to generate or use v6 keys with legacy oid
Show description for 94d8fd9
lubux
committed
94d8fd9
View commit details
Copy full SHA for 94d8fd9
Browse repository at this point
fix: Do not allow EdDSA for v6 in integration tests
lubux
committed
4c9baeb
View commit details
Copy full SHA for 4c9baeb
Browse repository at this point
feat(v2): Refactor entity generation and force hash selection for signing algorithms
lubux
committed
d1f7ff4
View commit details
Copy full SHA for d1f7ff4
Browse repository at this point
feat(v2): Add flag that can disable intended recipient in signcrypt
lubux
committed
0c44431
View commit details
Copy full SHA for 0c44431
Browse repository at this point
Commits on Nov 22, 2023
fix(armor/clearsign): Address review comments
lubux
committed
4aabb69
View commit details
Copy full SHA for 4aabb69
Browse repository at this point
refactor(ed25519): Address review comments
lubux
committed
820b395
View commit details
Copy full SHA for 820b395
Browse repository at this point
refactor(ed448): Address review comments
lubux
committed
13e4612
View commit details
Copy full SHA for 13e4612
Browse repository at this point
refactor(x25519): Apply review comments and improve readability
lubux
committed
3198ed3
View commit details
Copy full SHA for 3198ed3
Browse repository at this point
refactor(x448): Apply review feedback and improve readability
lubux
committed
49087ba
View commit details
Copy full SHA for 49087ba
Browse repository at this point
refactor(integration_tests): Re-enable compression and resolve lint warnings
lubux
committed
3d55a7e
View commit details
Copy full SHA for 3d55a7e
Browse repository at this point
docs(packet): Improve the docs in packet.Config
lubux
committed
1408255
View commit details
Copy full SHA for 1408255
Browse repository at this point
refactor(packet): Integrate changes from review in PKESK
lubux
committed
c10c41e
View commit details
Copy full SHA for c10c41e
Browse repository at this point
docs(packet): Adapt comment in marker packet implementation
lubux
committed
4863db4
View commit details
Copy full SHA for 4863db4
Browse repository at this point
fix(packet): Fix pre-check error in public key signature verification
lubux
committed
ddb84e3
View commit details
Copy full SHA for ddb84e3
Browse repository at this point
refactor(packet): Implement feedback for private and pubic key packet
lubux
committed
1dc0808
View commit details
Copy full SHA for 1dc0808
Browse repository at this point
refactor(packet): Integrate fedback in signature packet logic
lubux
committed
708c2ad
View commit details
Copy full SHA for 708c2ad
Browse repository at this point
refactor: Do not ignore errors in canonical hasher
lubux
committed
fb84e16
View commit details
Copy full SHA for fb84e16
Browse repository at this point
refactor(v2): Implement feedback for key operations
lubux
committed
78f1529
View commit details
Copy full SHA for 78f1529
Browse repository at this point
docs(v2): Improve documentation in pgp message read
lubux
committed
f0a31d2
View commit details
Copy full SHA for f0a31d2
Browse repository at this point
ci: Update to refactored gopenpgp v3
lubux
committed
bf37126
View commit details
Copy full SHA for bf37126
Browse repository at this point
Commits on Nov 23, 2023
docs(v2): Add missing docs in subkey implementation
lubux
committed
cc1afdc
View commit details
Copy full SHA for cc1afdc
Browse repository at this point
fix(v2): SHA256 should not be accepted for 384-bit curves
lubux
committed
be8d42d
View commit details
Copy full SHA for be8d42d
Browse repository at this point
refactor(v2): Integrate suggested changes in the write api
lubux
committed
3db5173
View commit details
Copy full SHA for 3db5173
Browse repository at this point
refactor: Change write test errors
lubux
committed
1ab7fbc
View commit details
Copy full SHA for 1ab7fbc
Browse repository at this point
refactor: StructuralError instead of InvalidArgumentError in write api
lubux
committed
1f9ab12
View commit details
Copy full SHA for 1f9ab12
Browse repository at this point
refactor: Resolve warnings and suggestions in read/write tests
lubux
committed
59054bc
View commit details
Copy full SHA for 59054bc
Browse repository at this point
docs: Pass on keys and keys test for grammar issues
lubux
committed
dc7272a
View commit details
Copy full SHA for dc7272a
Browse repository at this point
fix(packet): x448 and x25519 key parsing ignored error
lubux
committed
d16b56e
View commit details
Copy full SHA for d16b56e
Browse repository at this point
fix(packet): Signature salt should not be created twice
lubux
committed
efe3451
View commit details
Copy full SHA for efe3451
Browse repository at this point
refactor: Pass with linter and check errors
lubux
committed
bebb8bc
View commit details
Copy full SHA for bebb8bc
Browse repository at this point
chore: Update gitignore
lubux
committed
e94987c
View commit details
Copy full SHA for e94987c
Browse repository at this point
docs(packet): Fix grammar issue in config comments
Show description for 26e7edc
lubux
and
wussler
committed
26e7edc
View commit details
Copy full SHA for 26e7edc
Browse repository at this point
refactor(test): Handle errors if possible
lubux
committed
e3b2b43
View commit details
Copy full SHA for e3b2b43
Browse repository at this point
Commits on Nov 24, 2023
docs(v2): Improve documentation in signatures for keys
lubux
committed
d47e648
View commit details
Copy full SHA for d47e648
Browse repository at this point
Commits on Nov 27, 2023
docs(keys): Fix self-signature check comments
lubux
committed
8b9879a
View commit details
Copy full SHA for 8b9879a
Browse repository at this point
docs(v2): Fix comment issues
lubux
committed
8781dd3
View commit details
Copy full SHA for 8781dd3
Browse repository at this point
Commits on Nov 30, 2023
feat(v2): Allow to encrypt a message to additional passwords
lubux
committed
f5a3bd6
View commit details
Copy full SHA for f5a3bd6
Browse repository at this point
Commits on Dec 11, 2023
docs(ed448): Fix wrong curve names
lubux
committed
eafe562
View commit details
Copy full SHA for eafe562
Browse repository at this point
Apply suggestions from code review
Show description for 008cc9d
lubux
and
wussler
authored
008cc9d
View commit details
Copy full SHA for 008cc9d
Browse repository at this point
fix(v2): Address review comments in the write api
lubux
committed
f2990fa
View commit details
Copy full SHA for f2990fa
Browse repository at this point
docs(v2): Improve comments in the read api
lubux
committed
ae457d1
View commit details
Copy full SHA for ae457d1
Browse repository at this point
refactor: Remove depricated tests
lubux
committed
0a030a3
View commit details
Copy full SHA for 0a030a3
Browse repository at this point
docs(v2): Remove old v1 comment in keys
lubux
committed
2cc531d
View commit details
Copy full SHA for 2cc531d
Browse repository at this point
fix(packet): Use constant time copy with secrets
lubux
committed
9cf78f4
View commit details
Copy full SHA for 9cf78f4
Browse repository at this point
docs: Unify x448 and x25119 naming in comments and strings
lubux
committed
0b527c6
View commit details
Copy full SHA for 0b527c6
Browse repository at this point
Commits on Jan 5, 2024
fix: Fix metadata in hash suffix for v5 signatures
lubux
committed
a09d905
View commit details
Copy full SHA for a09d905
Browse repository at this point
fix: Fix literal metadata in hash suffix for v5 signatures
lubux
committed
38191b9
View commit details
Copy full SHA for 38191b9
Browse repository at this point
Commits on Jan 17, 2024
chore: Update min go version and dependencies
lubux
committed
75630f2
View commit details
Copy full SHA for 75630f2
Browse repository at this point
refactor: Replacer ioutil.ReadAll with io.ReadAll
lubux
committed
93256de
View commit details
Copy full SHA for 93256de
Browse repository at this point
You can’t perform that action at this time.