NotesRegistration class & Encryption strength

Hi there !

We used to use the notesRegistration class to create our user by LotusScript.

Since we still have V5 Domino servers in our domain, we need to generate 630bit encryption ID.

BUT the users created by script with a R8.5 server get and ID file encrypted in 1024 bits !

We tried to affect them a policy with a lower encryption but they still get a 1024 encryption.

So here is my question : Is there a way to create 630 bits user ID file by script ?

Thank you,

Julien

Subject: No

the default for the product is now 1024. This SPR already exists

THIO7HNCA8: RegisterNewUser method has no parameter to set “Public key specification”

It may be fixed in 8.51

Subject: Still not fixed

It looks like this issue is still not solved. I am hitting the same problem, though I would like to use the NotesRegistration class to create IDs with 2048 bit keys …

Subject: Solved

Via a PMR I got the information that this has been solved in a newer release and also the updated documentation:

LotusScript Property: PublicKeySize

Read-write. The public key size specificiation for new user Notes ids.

Defined in: NotesRegistration

Data type: Constant of type Integer

Syntax:

    To get: pks% = notesRegistration.PublicKeySize 

    To set: notesRegistration.PublicKeySize = pks% 

Legal values:

    PKSIZE_DEFAULT (0) equivalent to not setting the property; use default 

            size for release in use (1024 in 8.5 for example) 

    PKSIZE_630 (630) Compatible with all releases to date (630 bits) 

    PKSIZE_1024 (1024) Compatible with 6.0 and later (1024 bits) (default 

            size in 8.5) 

    PKSIZE_2048 (2048) Compatible with 7.0 and later (2048 bits) 

Usage:

Optionally set this property before calling RegisterNewUser.

Language cross-reference:

PublicKeyWidth property in Java Registration class

getPublicKeyWidth()

setPublicKeySize(int pks)