Skip to content

Password longer that 8 characters #227

Description

@louigi600

I realise this might be in contrast to SMPP standard but I had a rea life scenario with SMSC that wants me to send a password that is longer that 8 characters, I know I have the correct password but I'm unable to bing with error "incorrect password".
I'm assuming it is because the password gets truncated.
I was looking at the code to see if I could force it to be longer and found this:

smpplib/command.py: 'password': Param(type=str, max=9),

Maybe if I put that to something long enough for my needs it will be enough ?

How do I force reinstall after changing the code ?

will running

sudo rm -rf build
sudo python ./setup.py install

do the trick ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions