As we had issues with using the jerson/rsa-mobile package directly in our project, we created a fork and removed everything which is not necessary to use for the encryption and signature part.
Update dependencies
go get -u ./...
go mod tidy
lint
golangci-lint run --fix
goimports -w -local gitlab.com/blauwe-knop/common/rsa-mobile .