refactor: set encoding type as pkcs1 for node-ssh connect function
This commit is contained in:
		@@ -107,11 +107,11 @@ export default class User {
 | 
			
		||||
        } = await generateKeyPairSync('rsa', {
 | 
			
		||||
          modulusLength: 4096,
 | 
			
		||||
          publicKeyEncoding: {
 | 
			
		||||
            type: 'spki',
 | 
			
		||||
            type: 'pkcs1',
 | 
			
		||||
            format: 'pem',
 | 
			
		||||
          },
 | 
			
		||||
          privateKeyEncoding: {
 | 
			
		||||
            type: 'pkcs8',
 | 
			
		||||
            type: 'pkcs1',
 | 
			
		||||
            format: 'pem',
 | 
			
		||||
          },
 | 
			
		||||
        });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user