mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-02 15:17:18 -04:00
Changed SSH key type to ed25519
This commit is contained in:
@@ -101,7 +101,7 @@ if argument == 'version' or argument == '-v':
|
|||||||
print('/ /')
|
print('/ /')
|
||||||
print('/ rpass Copyright (C) 2021 Randall Winkhart /')
|
print('/ rpass Copyright (C) 2021 Randall Winkhart /')
|
||||||
print('/ /')
|
print('/ /')
|
||||||
print('/ Version 2021.09.25.mr5 /')
|
print('/ Version 2021.10.08.mr5 /')
|
||||||
print('/ The Housekeeping Update (Pt. 2) /')
|
print('/ The Housekeeping Update (Pt. 2) /')
|
||||||
print('/ /')
|
print('/ /')
|
||||||
print('////////////////////////////////////////////////////////\n')
|
print('////////////////////////////////////////////////////////\n')
|
||||||
@@ -174,7 +174,7 @@ if argument == 'config':
|
|||||||
sshgen = str(input('rsync support requires a unique ssh key. Would you like to have this '
|
sshgen = str(input('rsync support requires a unique ssh key. Would you like to have this '
|
||||||
'automatically generated? (Y/n) '))
|
'automatically generated? (Y/n) '))
|
||||||
if sshgen != 'n' and sshgen != 'N':
|
if sshgen != 'n' and sshgen != 'N':
|
||||||
term('ssh-keygen -f ~/.ssh/rpass')
|
term('ssh-keygen -t ed25519 -f ~/.ssh/rpass')
|
||||||
print('\nExample input: 10.10.10.10:9999\n')
|
print('\nExample input: 10.10.10.10:9999\n')
|
||||||
ip_port = str(input('What is the IP and ssh port of the remote server? '))
|
ip_port = str(input('What is the IP and ssh port of the remote server? '))
|
||||||
print()
|
print()
|
||||||
@@ -270,19 +270,19 @@ if argument == 'add note' or argument == 'add -n':
|
|||||||
exit()
|
exit()
|
||||||
shmfolder, shmentry = shmgen()
|
shmfolder, shmentry = shmgen()
|
||||||
try:
|
try:
|
||||||
if entryname.startswith('/'):
|
if entryname.startswith('/'): # check if user input contains slashes
|
||||||
if entryname.replace('/', '', 1).__contains__('/'):
|
if entryname.replace('/', '', 1).__contains__('/'): # create folder and entry if there are two slashes
|
||||||
folder, sep, folderentry = entryname.replace('/', '', 1).partition('/')
|
folder, sep, folderentry = entryname.replace('/', '', 1).partition('/')
|
||||||
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
||||||
f.writelines('\n\n\n' + notes + '\n\n')
|
f.writelines('\n\n\n' + notes + '\n\n')
|
||||||
encryptfolder()
|
encryptfolder()
|
||||||
term('gpg -d ' + directory + folder + '/' + "'" + folderentry + '.gpg' + "'")
|
term('gpg -d ' + directory + folder + '/' + "'" + folderentry + '.gpg' + "'")
|
||||||
else:
|
else: # create entry if there is only one slash
|
||||||
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
||||||
f.writelines('\n\n\n' + notes + '\n\n')
|
f.writelines('\n\n\n' + notes + '\n\n')
|
||||||
encrypt()
|
encrypt()
|
||||||
term('gpg -d ' + directory + "'" + entryname.replace('/', '', 1) + '.gpg' + "'")
|
term('gpg -d ' + directory + "'" + entryname.replace('/', '', 1) + '.gpg' + "'")
|
||||||
else:
|
else: # create entry if there are no slashes
|
||||||
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
with open('/dev/shm/' + shmfolder + '/' + shmentry, 'w') as f:
|
||||||
f.writelines('\n\n\n' + notes + '\n\n')
|
f.writelines('\n\n\n' + notes + '\n\n')
|
||||||
encrypt()
|
encrypt()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
||||||
|
|
||||||
rpass 2021.09.25.mr5
|
rpass 2021.10.08.mr5
|
||||||
|
|
||||||
The Housekeeping Update (Pt. 2) - Fifth main release of rpass
|
The Housekeeping Update (Pt. 2) - Fifth main release of rpass
|
||||||
|
|
||||||
@@ -9,25 +9,26 @@ This release focuses on user-facing polish and usability enhancements.
|
|||||||
New features:
|
New features:
|
||||||
|
|
||||||
**add new file list w/color and w/o extensions
|
**add new file list w/color and w/o extensions
|
||||||
**add a manpage
|
|
||||||
**add support for multi-line notes (use text editor for notes)
|
**add support for multi-line notes (use text editor for notes)
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|
||||||
- fixed issues with copying passwords with certain special characters, e.g. '"()|
|
- fixed issues with copying passwords with certain special characters, e.g. '"()|
|
||||||
|
- auto-generated ssh key now uses ed25519, rather than rsa-3072
|
||||||
**add more comments to code
|
**add more comments to code
|
||||||
**improve exceptions for unknown arguments
|
**improve exceptions for unknown arguments
|
||||||
|
|
||||||
Planned for next update (The Housekeeping Update Pt. 3):
|
Planned for next update (The rcrypt Update):
|
||||||
|
|
||||||
|
- initial implementation of a data store for other applications (libsecret alt.)
|
||||||
- ability to pass entries as arguments for more functions
|
- ability to pass entries as arguments for more functions
|
||||||
|
- manpage
|
||||||
|
|
||||||
Planned, no timeline:
|
Planned, no timeline:
|
||||||
|
|
||||||
- possible libsecret integration // cancelled, will instead act as a libsecret alternative that other apps can use to store data in
|
|
||||||
- create separate gui frontend targetting mobile devices (first Linux phones, maybe Android at a later date - official iOS client not likely)
|
- create separate gui frontend targetting mobile devices (first Linux phones, maybe Android at a later date - official iOS client not likely)
|
||||||
^ the gui will also function on desktop linux
|
^ the gui will also function on desktop linux
|
||||||
- make platform agnostic (add Windows support and package for more Linux distributions)
|
- make platform agnostic (add Windows support and package for more Linux distributions, such as Alpine and Debian)
|
||||||
- auto-completion on tab (currently unsure of best way to make this work)
|
- auto-completion on tab (currently unsure of best way to make this work)
|
||||||
|
|
||||||
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
|
||||||
|
|||||||
Reference in New Issue
Block a user